Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

E

eirlund

@eirlund
Unfollow Follow
About
Posts
12
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Another color for ADHOC users not logged into
    E eirlund
    Support

    Will you make this ?


  • Another color for ADHOC users not logged into
    E eirlund
    Support

    bump.
    Is it any way I can make/configure this by editing some .CSS files, or is this a new feature?


  • User logOFF/ON (*11/*12) does not update status (solved)
    E eirlund
    Support

    After your advice, looking for ' UserDeviceAdded', in 'user_login_out.agi' fop2 seems to be OK.

    This is what shows up on telnet to port:

    Event: UserEvent
    Privilege: user,all
    UserEvent: UserDeviceRemoved|Data: 378
    115
    

    This is not correct as the UserEvent with data passed is all merged into one string. I guess this is the reason why why your fop2 event parser does not capture this. You might want to make your parser also to support this odd string.

    Code in ' 'user_login_out.agi'' is

    agi->exec("UserEvent", "\"UserDeviceRemoved|Data: {$current_user},{$device}\"");
    

    Note that pipe '|'. Asterisk seems to have broken handling of pipe '|' as delimiter. Using ',' as delimiter soved it. So this will work:

    // $agi->exec("UserEvent", "\"UserDeviceAdded|Data: {$user},{$device}\"");
        $agi->exec("UserEvent", "\"UserDeviceAdded,Data: {$user},{$device}\"");
    

    and ...

     
    $agi->exec("UserEvent", "\"UserDeviceRemoved,Data: {$current_user},{$device}\"");
    

    Thank you for your support yesterday, it helped me in the right direction.

    I will perform some more stress testing to verify, but for now this fixed my problems.


  • User logOFF/ON (*11/*12) does not update status (solved)
    E eirlund
    Support

    I am using FreePBX 2.6.0.RC2.1.

    I will try to catch up online.

    I did try to bypass the problem by restarting fop2 after each user login/out with

    system("/usr/bin/sudo /sbin/service fop2 restart", $retval);
    

    inside a modified version of user_login_out.agi, but this cause some other problem with sudo and access rigts after restart of service, and is very ugly..

    Is there any particular debug info I can give you ? What state messages or hints are you relying on from Asterisk to set the fop2 states ?

    When is the next released planned ?


  • User logOFF/ON (*11/*12) does not update status (solved)
    E eirlund
    Support

    After logon (using *11 in FreePBX) buttons are not updated.

    If I however restart the fop2 service again, it will show correct state.

    Same happens when a user loggoff (with *12), I need to restart fop2 service to show correct state.

    Tried 'service fop2 reload', but -HUP signal does not solve this either.

    As of now using we use a crontab entry like :

    # For some reasons fop2 does not detect change in user logon/logoff
    0,15,30,45  * * * * /sbin/service fop2 restart
    

    But this is not very nice.

    I am using Asterisk 1.6.1.6


  • Another color for ADHOC users not logged into
    E eirlund
    Support

    So in operator.css file I found :

    .notregistered {
    background:#ddd;
    opacity:.50;
    filter:alpha(opacity=50);
    -moz-opacity:0.5px;
    }
    

    But is there a different CSS entry for 'adhoc' vs 'fixed' devices logged into ?

    Also sames goes for logged in users.

    Is there any way of using another green color for 'adhoc' vs 'fixed'¨devices logged into ?


  • How can I show status on custom made MeeMe ?
    E eirlund
    Support

    Is there a way I can configure fop2 button file to show status on custom made MeeTme apps ? Like (in my "extensions_custom.conf'') I have:

    [dynamic-conference-with-pin]
    exten => s,1,Answer()
    exten => s,n,Wait(1)
    exten => s,n,MeetMe(,AD)
    exten => s,n,Playback(vm-goodbye)
    exten => s,n,Hangup()
    ; end of [dynamic-conference-with-pin]

    ...and to see callers in this context, I tried using (in my button file):

    [CONFERENCE/961]
    type=conference
    extension=961
    context=dynamic-conference-with-pin
    label=My conf

    ...

    But this is not working,

    What am I doing wrong, must I set any variables, hints or what? Any tips or suggestions ?


  • Not working with special characters in label (solved)
    E eirlund
    Support

    Using html codes worked ref: [url:2plo0d6d]http://www.ascii.cl/htmlcodes.htm[/url:2plo0d6d]

    .. also found section in FAQ. :oops:

    [USER/384]
    type=extension
    extension=384
    label=M&#248terom MO
    mailbox=384@novm
    context=from-internal
    extenvoicemail=*384@from-internal


  • Show time in button when user logged in for adhoc devices
    E eirlund
    Feedback

    We use FreePBX is deviceanduser mode where users may login and logout.

    As fop2 correctly shows when a user login;

    ** it it possible to show login time (24 hr clock).
    **

    like 08:45, and also how long time that is from now in hrs:min so string on top on each adhook users button will look like:

    • 381 Anita 08:45 | 3:15

  • Another color for ADHOC users not logged into
    E eirlund
    Support

    FOP2 work great with FreePBX in "deviceanduser" mode!

    We have some devices with FIXED users, and some devices with ADHOC users.

    The ADHOC buttons correctly shows different colours for ADHOC users logged out (grey) and logged in (with green).

    As the fixed devs. also use green, it is difficult to separate them from ADHOC users logged into.

    Bottom line: Is it possible to use another color for ADHOC users not logged into, like red, and also another color for devices with FIXED users (like yellow) ?


  • Error message in error.log
    E eirlund
    Support

    This message keep filling up my log.

    [root@rnsv-19 fop2]# tail error.log -f
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.
    Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 6111.


  • Not working with special characters in label (solved)
    E eirlund
    Support

    The below code is not working (using norwegian, "odd" characters

    [USER/384]
    type=extension
    extension=384
    label=Møterom MO
    mailbox=384@novm
    context=from-internal
    extenvoicemail=*384@from-internal

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups