[asterisk-users] It's possible a redudant Queue?

Danilo Dionisi dionisi.danilo at gmail.com
Fri Dec 14 10:43:02 CST 2012


Ok. I solved with this configuration:

into /etc/asterisk/extensions.conf

[queue_from_central]
exten    =>    _ZXXX,1,NoOp( ** Into queue_from_central context ** )
same    => 
n,Set(peer_up=${IF($["SIPPEER(serverA,status)"="OK"]?trunk_serverA:trunk_serverB)})
same    => n,Queue(call-center-${peer_up},c,,,60)
same    =>    Hangup()

and into /etc/asterisk/queues.conf

[call-center-trunk_serverA]
music=default
strategy=rrmemory
retry=5
wrapuptime=10
announce-frequency=30
announce-position=yes
;; SIP USER
member => SIP/22001 at trunk_serverA
member => SIP/22002 at trunk_serverA
member => SIP/22003 at trunk_serverA


[call-center-trunk_serverB]
music=default
strategy=rrmemory
retry=5
wrapuptime=10
announce-frequency=30
announce-position=yes
;; SIP USER
member => SIP/22001 at trunk_serverB
member => SIP/22002 at trunk_serverB
member => SIP/22003 at trunk_serverB

Thanks Danny ;)

Bye :)

Il 14/12/12 16:59, Danny Nicholas ha scritto:
> In my experience, you should set up two identical queues and configurations.
> With a little work, you should be able to let server 1 know the phone is in
> use by server 2 and vice versa.

-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121214/552586d8/attachment.htm>


More information about the asterisk-users mailing list