Re: [Flash Operator Panel] ASTDB and latest snapshot
- From: Jeremy Apple <japple@xxxxxxxx>
- Date: Tue, 21 Nov 2006 10:29:32 -0600
- Mailing-list: contact operator_panel-help@lists.house.com.ar; run by ezmlm
Francesco Romano wrote:
Hi Nicolas,
i have downloaded and configured the latest 2006-11-20 snapshot
because i see in the changelog that you have reworked the part
relative to ASTDB, thank you.
But i can't get it to work.
This is my extensions.conf:
[dnd-off]
exten => *79,1,Answer
exten => *79,n,Wait(1)
exten => *79,n,Macro(user-callerid,)
exten => *79,n,dbDel(DND/${CALLERID(number)})
exten => *79,n,UserEvent(ASTDB|Family: DND^State: ^)
exten => *79,n,Playback(do-not-disturb&de-activated)
exten => *79,n,Macro(hangupcall,)
[dnd-on]
exten => *78,1,Answer
exten => *78,n,Wait(1)
exten => *78,n,Macro(user-callerid,)
exten => *78,n,Set(DB(DND/${CALLERID(number)})=YES)
exten => *78,n,UserEvent(ASTDB|Family: DND^State: Attivato)
exten => *78,n,Playback(do-not-disturb&activated)
exten => *78,n,Macro(hangupcall,)
I added in op_buttons.cfg the astdbkey for all extensions and leaved
the default op_astdb.cfg
The right status is taken only when i restart op_server.pl (the button
in alpha blending and blu led), in realtime when i dial *78 or *79
nothing happens.
Some suggestion?
Thank you very much.
I had a similar problem because of the wrong settings in
/etc/asterisk/manager.conf. The permissions for the user used in flash
operator panel need to have the following read/write permissions. The
'user' permission is important to be able to receive the UserEvent from
asterisk.
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
Jeremy
- Follow-Ups from:
- Francesco Romano
- References to:
- hamann . w
- Francesco Romano
|