We are running:
[root@proxy200 fop2]# ./fop2_server --version
fop2_server version 2.26
We are running FreePBX.
What happens:
- We login.
- All the CORRECT button labels appear for all extensions.
- The button labels refresh with incorrect values for some extensions (not all).
What we expect:
- The correct values will remain for all extensions.
The test case below is for X3507 which should be labeled "Leslie CA".
- The extension "Name" in FreePBX is correct (reads "Leslie CA")
- Click TOOLS -> FOP2 BUTTONS -> Checked X3507 and the LABEL field is correct ("Leslie CA")
- We have clicked TOOLS -> FOP2 BUTTONS -> REFRESH LABELS -> APPLY CHANGES
- We have tried 3 separate browsers including Firefox, Chrome and IE
- We have tried multiple logins to the FOP2 and all exhibit the same problem.
- Checked voicemail.conf which shows "3507 => XXXX,Leslie CA,,,attach=no|saycid=no|envelope=no|delete=no" and the name is correct in the voicemail profile.
- Executed /usr/local/fop2/autoconfig-buttons-freepbx.sh which reports the following which appears to be correct:
[SIP/3507] type=extension extension=3507 label=Leslie CA mailbox=3507@default context=from-internal queuecontext=from-queue extenvoicemail=*3507@default privacy=none rtmp=0 queuechannel=Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300600&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300602&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300603&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300604&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300605&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300607&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500600&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500602&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500603&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500604&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500607&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500608&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500609&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500610&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500612&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500613&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500614 customastdb=CF/3507
- also confirmed autoconfig-buttons-freepbx.sh contains: FOP2PLUGIN=1 and executed it again. (Note: The Conferences parse first which seems to be the correct behavior.)
- Restarted Asterisk
- Restarted the FOP2
- Checked mysql:
mysql> select exten, label from asterisk.fop2buttons where label like '%Leslie%' or exten=3507; +-------+-----------+ | exten | label | +-------+-----------+ | 3507 | Leslie CA | +-------+-----------+ 1 row in set (0.00 sec) mysql>
The answers I am looking for are:
- What happens during the loading process where one label is shown then it is overwritten by another label?
- Where is this secondary (incorrect) information coming from?
- Why does one button update properly and another button update incorrectly?
Any information you could provide would be appreciated.
Thank you!
Answered by dogatemycomputer
See post in contextWe are running:
[root@proxy200 fop2]# ./fop2_server --version
fop2_server version 2.26
We are running FreePBX.
What happens:
- We login.
- All the CORRECT button labels appear for all extensions.
- The button labels refresh with incorrect values for some extensions (not all).
What we expect:
- The correct values will remain for all extensions.
The test case below is for X3507 which should be labeled "Leslie CA".
- The extension "Name" in FreePBX is correct (reads "Leslie CA")
- Click TOOLS -> FOP2 BUTTONS -> Checked X3507 and the LABEL field is correct ("Leslie CA")
- We have clicked TOOLS -> FOP2 BUTTONS -> REFRESH LABELS -> APPLY CHANGES
- We have tried 3 separate browsers including Firefox, Chrome and IE
- We have tried multiple logins to the FOP2 and all exhibit the same problem.
- Checked voicemail.conf which shows "3507 => XXXX,Leslie CA,,,attach=no|saycid=no|envelope=no|delete=no" and the name is correct in the voicemail profile.
- Executed /usr/local/fop2/autoconfig-buttons-freepbx.sh which reports the following which appears to be correct:
[SIP/3507] type=extension extension=3507 label=Leslie CA mailbox=3507@default context=from-internal queuecontext=from-queue extenvoicemail=*3507@default privacy=none rtmp=0 queuechannel=Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300600&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300602&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300603&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300604&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300605&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3300607&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500600&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500602&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500603&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500604&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500607&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500608&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500609&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500610&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500612&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500613&Local/3507@from-queue/n|Penalty=0|MemberName=Leslie CA|StateInterface=SIP/3507|Queue=3500614 customastdb=CF/3507
- also confirmed autoconfig-buttons-freepbx.sh contains: FOP2PLUGIN=1 and executed it again. (Note: The Conferences parse first which seems to be the correct behavior.)
- Restarted Asterisk
- Restarted the FOP2
- Checked mysql:
mysql> select exten, label from asterisk.fop2buttons where label like '%Leslie%' or exten=3507; +-------+-----------+ | exten | label | +-------+-----------+ | 3507 | Leslie CA | +-------+-----------+ 1 row in set (0.00 sec) mysql>
The answers I am looking for are:
- What happens during the loading process where one label is shown then it is overwritten by another label?
- Where is this secondary (incorrect) information coming from?
- Why does one button update properly and another button update incorrectly?
Any information you could provide would be appreciated.
Thank you!