eirlund

Member

Last active 15 years ago

  1. 15 years ago
    Fri Nov 27 10:58:38 2009

    Will you make this ?

  2. Wed Oct 7 21:13:50 2009

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

  3. Wed Oct 7 20:21:46 2009

    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.

  4. Tue Oct 6 22:18:20 2009

    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 ?

  5. Mon Sep 28 09:26:15 2009

    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

  6. Sun Sep 27 15:14:51 2009

    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 ?

  7. Sun Sep 27 14:43:36 2009
    eirlund started the conversation How can I show status on custom made MeeMe ?.

    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 ?

  8. Sun Sep 27 14:34:12 2009

    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

  9. Sat Sep 26 14:28:01 2009

    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

  10. Sat Sep 26 14:11:13 2009
    eirlund started the conversation Another color for ADHOC users not logged into.

    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) ?

View more