Custom Panels
-
We would like to create custom panels showing only buttons that a user needs to know about. EX: Call Center service manager needs to see only the extensions and queues of the agents in the call center, including his own extension. I tried using using custom contexts as explained in the manual, but it causes the panel to fail loading both the default view and the custom view. Here is my config:
[general]
; AMI definitions
manager_host=127.0.0.1
manager_port=5038
manager_user=admin
manager_secret=amp111
;event_mask=call,agent; Daemon definitios
;listen_port = 4445
;restrict_host = www.asternic.org
;web_dir = /var/www/html/operator/fop2; Global Config
language = en
poll_interval = 86400
poll_voicemail = 1
monitor_ipaddress = 0master_key = 4201
; USER LIST
user=1294:1294:all
user=1246:1246:all
;user=620
all
;user=621
all
;user=622
all
;user=623:1234all
;buttonfile=buttons.cfg[SVC MGR]
master_key=9550
user:1286:1286:all
user:1294:1294:all
buttonfile=SVC_buttons.cfg -
Hi Ronald,
#exec and static configs do not get along well. You are overriding your manual setup with the exec script. You can modify the script to generate the contexts, are go all manual. By the time being, the #exec directive overrides any manual setting.
BTW, I have just sent you an email. Hope you receive it.
--
Nicolás -
My custom config does not work. It is timing out trying to connect to the server. Here is fop2.cfg
[general]
; AMI definitions
manager_host=127.0.0.1
manager_port=5038
manager_user=admin
manager_secret=amp111
;event_mask=call,agent; Daemon definitios
;listen_port = 4445
;restrict_host = www.asternic.org
;web_dir = /var/www/html/operator/fop2; Global Config
language = en
poll_interval = 86400
poll_voicemail = 1
monitor_ipaddress = 0;master_key = 4201
; USER LIST
user=1294:1294:all
user=1246:1246:all
user=1286:1286:all
;user=621
all
;user=622
all
;user=623:1234all
buttonfile=mstr_buttons.cfg[MASTER]
master_key=9550
user:1264:1264:all
user:1294:1294:all
buttonfile=mstr_buttons.cfg[SVC]
master_key=9550
user:1264:1264:all
user:1294:1294:all
user:1286:1286:all
buttonfile=SVC_buttons.cfg;#exec autoconfig-users-freepbx.sh
-
Hi Ronald,
[MASTER]
master_key=9550
user:[/color:49w17npn]1264:1264:all
user:[/color:49w17npn]1294:1294:all
buttonfile=mstr_buttons.cfgThe user definition is incorrect.. you have to use an equal sign after the "user" keyword:
[MASTER]
master_key=9550
user=[/color:49w17npn]1264:1264:all
user=[/color:49w17npn]1294:1294:all
buttonfile=mstr_buttons.cfgBest regards,
--
Nicolás
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login