Multi-Tenant : Extension won't update

  1. 8 years ago

    Hi ! We got trouble since we have update FOP2 to 2.31.
    We had 2.26 before, and FOP2 as working great

    Now, extension button from second Asterisk won't hangup.

    My first Asterisk is an FreePBX 2.11.0.38 (with Asterisk 11.8.1 with FOP2) (have extension 1xx)
    My second Asterisk is an Elastix (with Asterisk 1.8.16.0) (have extension 2xx)
    Both Asterisk can communicate between them without trouble

    If 119 call 219, FOP2 show both as talking, but if the call end, only 119 return to idle (green color), 219 stay as talking until I restart FOP2

  2. admin

    20 Aug 2016 Administrator

    Impossible to say anything without looking at FOP2 debug when you attempt that call. Seems that the Hangup event from 219 is not being received ... but again, it is not possible to verify anything without looking at a full server debug log when you attempt that call:

    http://support.asternic.biz/?/selfhelp/view-article/how-to-debug-fop2/10

  3. Like I say in my other post (http://forum.fop2.com/4314-variable-blindtransfer-is-empty). I have copied default config files. This will maybe slove this issue too.

    Does it's possible with FOP2 Manager to add extension button from second Asterisk ?

  4. admin

    28 Aug 2016 Administrator

    You will have to modify the FOP2 Manager if you want it to access remote server data, you will have to think *how* you will access that remote data, and implement it.

    Servers do not communicate over thin air and n either the FOP2 manager, so whatever you do in code will need a correlation with system administration on both servers, like allowing remote mysql users, giving some kind of command execution access (like passwordless ssh), etc... all of that is done *outside* of FOP2 itself.

    Best regards,

  5. My solution was easy

    First, to add user form my second Asterisk
    I edited /usr/local/fop2/autoconfig-users.sh
    And after : [code]echo "; Users"[/code]
    I added line

    echo "user= EXTENSION : SECRET : PERMISSIONS : GROUPS : PLUGINS

    For adding extension
    I edited /usr/local/fop2/buttons_custom.cfg
    And added each extension

    After these modification, I goes to FOP2 Manager and reload FOP2
    extension are now visible in FOP2

    Of course, this modification are not dymanic, if I add or remove extension on my second Asterisk I need to adjust file /usr/local/fop2/buttons_custom.cfg

    * And extension state on my second Asterisk update correctly in FOP2

  6. admin

    30 Aug 2016 Administrator

    So is the hangup problem fixed or still occurring?

  7. Yes, the hangup problem are fixed

    Also, editing /usr/local/fop2/autoconfig-users.sh is useless. FOP2 Manager can add user
    Only need to edit file /usr/local/fop2/buttons_custom.cfg

  8. admin

    31 Aug 2016 Administrator

    That's the idea. Use the fop2 manager for everything, define buttons in buttons_custom.cfg

    best regards,

or Sign Up to reply!