Strange Label issue
Hi ,
I've been experiencing a weird issue with FOP2 on one of my asterisk PBX's. Upon initial install and configuration of buttons in FOP2, the labels of all buttons are displayed as configured. However, once a connection is established with Asterisk, the labels of the first 4 buttons are discarded and the extension number is displayed in the button. I have tested it with versions 2.11 and 2.20(Final). I have also installed FOP2 on various servers and experienced the same issue. I therefore gather that the issue relates to Asterisk but I'm not sure what to look for within Asterisk.
Any ideas or suggestions would be greatly appreciated.
Thanks
I've been experiencing a weird issue with FOP2 on one of my asterisk PBX's. Upon initial install and configuration of buttons in FOP2, the labels of all buttons are displayed as configured. However, once a connection is established with Asterisk, the labels of the first 4 buttons are discarded and the extension number is displayed in the button. I have tested it with versions 2.11 and 2.20(Final). I have also installed FOP2 on various servers and experienced the same issue. I therefore gather that the issue relates to Asterisk but I'm not sure what to look for within Asterisk.
Any ideas or suggestions would be greatly appreciated.
Thanks
Comments
FOP2 renames labels to queuemember names if you have Local type queue members. Do a "queue show" in the asterisk cli and see if you have Local type queue members that have the same extension / context as your buttons that are being renamed..
We have Device & User mode and the users are named "First_Name(Space)Last_name"
When re-adding the agent via FOP2.21 beta to his queues, the last letter is removed from his name, when I hit "queue show" in CLI the again. As a result on the next FOP2 login, the labels are again wrong.
why does FOP2 put the name into the queue member list anyway?
when users log into queues via feature code or when I add them via cli they are added without name and all FOP2 labels remain fine.
edit: slightly different issue
Asterisk 1.6 and FreePBX 2.8.1.4 on Centos (AsteriskNOW)
FOP2.21 beta (language set to German), fop2admin 1.2.6
Test user: 1234 <John Doe>
Test queue: 4567 Test
if 1234 <John Doe> logs into one of our queues via FreePBX feature code 4567*
CLI> queue show
4567 has 1 calls...
Members:
Local/1234@from-queue/n (dynamic) (In use) has taken no calls yet
if 1234 <John Doe> is being added to a queue via cli "queue add member Local/1234@from-queue/n to 4567"
CLI> queue show
4567 has 1 calls...
Members:
Local/1234@from-queue/n (dynamic) (In use) has taken no calls yet
if I go to FOP2 (not fop2admin!!!) and click on the user button status icon and select "add to Test" to put 1234 <John Doe> into the "Test" queue
--> at this point John Doe's FOP2 Button changes to "John Do" immediately, also he is being added as "John Do" to the Test queue
CLI> queue show
4567 has 1 calls...
Members:
John Do (Local/1234@from-queue/n) (dynamic) (In use) has taken no calls yet
edit: issue was a little different
As far as I know, since FreePBX 2.8 the macros for adding members include the member name option to Local/xxxx channels, for some reason your version is not doing that. Is that a stock freepbx? An update over older versions? Are you sure you did not modify those macros to remove the membername option being passed to addqueuemember?
I'm using User & Device mode, if that is of any help...
thanks for your help!
The last parameter is the state interface parameter, I understand that you cannot pass that parameter to the command if you do not know the device to monitor, but the member name is still present in astdb in whatever mode you are. You can change the 2nd line to include the member name (and exclude the device state) by changing it to this:
However, I do not know if the member name was omitted by design or by mistake.
I actually did not really created a test user John Doe, but used an existing test user, who's last name was only one letter.
please check my edited post above. Not the whole last name is being removed. It's the last LETTER only. Tested with different users, different name lengths