Queue Channel in Fop2Admin 1.2.9

  1. 12 years ago

    I just upgraded to FOP 2.24 & Fop2Admin 1.2.9 and now I unable to set my correct queue channel for login. Users are getting logged in as "Andy (Local/305@from-queue/n)" and it needs to be "Local/305@from-internal/n". In the prior version it worked fine since I was able to use the ‘queuechannel’ field in the FOP2Admin 1.1 to set it. It’s no longer in the FOP2Admin 1.2.9. I tried to manually add “queuechannel=Local/305@from-internal/n” to the op_buttons_additional.cfg just to test and still had no effect.

  2. admin

    30 Dec 2011 Administrator

    That change was suggested by FreePBX devs because they considered it was given to much power to users so they can configure things wrongs. I was not very happy to comply actually, but here we are. You would not have problems if you update freepbx to version 2.8 or higher. If you cannot do that for whatever reason, you have some alternatives:

    1) modify autoconfig-buttons-freepbx.sh so instead of just printing the queuechannel field from the fop2buttons table, it prints out what you need, something like:

    channel as extrachannel, \
    concat('Local/',exten,'@from-internal/n') as queuechannel, \

    (and remove queuechannel from the variable WANTED_FIELDS above...

    2) update the fop2buttons table by hand and set the queuechannel as you need.

    Or even 3) modify functions.inc.php in fop2admin and modify the line that sets the queuechannel field:

    $queuemember[$cola][$mem]="Local/".$mem."@".$qctx."/n|Penalty=$pnlty|MemberName=".$membname[$mem];
  3. I am running freepbx 2.9 but with a custom login/out queue script for BLF support. Thanks for your help, option 1 worked great!

or Sign Up to reply!