[asterisk-users] Share agents state?

Kevin Larsen kevin.larsen at pioneerballoon.com
Tue Sep 15 16:50:50 CDT 2015


> Is it possible to share all agents state? if an agent is on the 
> phone on a queue on one of the Asterisk servers, 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 
> realtime) and those queues on separate server.
> Thanks 

You can indeed share a phone's state between servers. If using chan_sip, 
you will be looking at doing something like XMPP. If you are doing pjsip, 
you can do it directly without needing the xmpp server. 

For pjsip, look at 
https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP

For chan_sip, look at 
https://wiki.asterisk.org/wiki/display/AST/Distributed+Device+State+with+XMPP+PubSub

For the record, I have done the xmpp setup and it works well, but there 
was a pretty steep learning curve involved in getting everything working. 
I haven't had a chance to look at upgrading to Asterisk 13 and pjsip to 
set it up, but the configuration looks to be much easier.

I use it because I have Site A which hosts a customer service call queue 
where most of the agents exist on the Site A server. However, I have two 
agents who are at Site B and we don't want to send them a call from the 
Site A queue if they are already on a call from the Site B server. Seems 
to work and no complaints from the group that uses it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150915/2e0d67e7/attachment.html>


More information about the asterisk-users mailing list