Label reverts to extension number, queue has name
Hi,
I am running 2.28 on asterisk 11-cert6.
I use a script called buttons_astcli.sh to generate my button file. It outputs:
[root@asterisk fop2]# sh buttons_astcli.sh
[SIP/1151]
type=extension
extension=1151
context=sip
label=User One
mailbox=115@default
[SIP/115]
type=extension
extension=115
context=sip
label=User One
mailbox=115@default
It is called from autobuttons.cfg which also contains some static entries
When I reload fop2 all users are labeled as extension numbers. Eventually (unknown why) they change to names. My queue is populated with names as well.
I can pm screenshots but as the system has personal info on it cannot do it here.
I am running 2.28 on asterisk 11-cert6.
I use a script called buttons_astcli.sh to generate my button file. It outputs:
[root@asterisk fop2]# sh buttons_astcli.sh
[SIP/1151]
type=extension
extension=1151
context=sip
label=User One
mailbox=115@default
[SIP/115]
type=extension
extension=115
context=sip
label=User One
mailbox=115@default
It is called from autobuttons.cfg which also contains some static entries
When I reload fop2 all users are labeled as extension numbers. Eventually (unknown why) they change to names. My queue is populated with names as well.
I can pm screenshots but as the system has personal info on it cannot do it here.
Comments
My main concern is it reverting over time.
http://forum.fop2.com/803-hide-offline-extensions/0
I am still curious why it occasionally shows extensions as labels though, I have seen this before on another client's install.
Best regards,
I don't understand the queue aspect. They login through QueueAddMember and show up as
RND Room (SIP/2551 from SIP/2551) (ringinuse disabled) (dynamic) (Unavailable) has taken no calls yet
and
[SIP/2551]
type=extension
extension=2551
context=sip
label=RND Room
mailbox=2551@default
when queue is shown. It works up until a restart.
We do not use Local/Extension channels for queues.
As for the label names, I have no idea. I told you when and why fop2 renames labels, but it seems it is not your case. You use your own autoconfiguration scripts, I do not know those scripts nor I know your configuration as a whole. A FOP2 button is NOT renamed in any other case, only when a Local queue member is added that matches the extension/queuecontext of the buttons.cfg definition.
It is not clear either WHEN does the change happen. Is it in runtime? or whenever you restart fop2 in different ways? Perhaps you have TWO set of configurations you are not aware of, one when starting fop2 as a service, and another when starting from command line. This is a *wild* guess as your configuration is yours and there is not much info about it.