[asterisk-users] Distributed Device State options

Joshua Colp jcolp at digium.com
Mon Jun 27 09:54:56 CDT 2016


Shahid H wrote:
> Hi,
>
> What options do I have to setup Distributed Device State across to
> multiple Asterisk Servers?
>
> If an agent is on the phone on a queue on one of the Asterisk server,
> other servers will need to about it and therefore, will be able to
> operate adequately. For instance, an agent is a member of two queues
> (app_queue) and those queues on separate server.
>
> I have been reading about Distributed Device State using Corosync or
> XMPP. Is there any other options but reliable?

If using Asterisk 13 you can also use PJSIP[1] to exchange this 
information peer to peer using SIP.

> How about share device state through Redis by looking at the device
> state on Agent/Queue. This could be done in Lua in the dialplan.

You could certainly write something external which does this and toggles 
custom device state.

[1] 
https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list