Share Agents State?

Home » Asterisk Users » Share Agents State?
Asterisk Users 1 Comment

SXMgaXQgcG9zc2libGUgdG8gc2hhcmUgYWxsIGFnZW50cyBzdGF0ZT8gaWYgYW4gYWdlbnQgaXMg b24gdGhlIHBob25lIG9uIGEgcXVldWUgb24gb25lIG9mIHRoZSBBc3RlcmlzayBzZXJ2ZXJzLCBv dGhlciBzZXJ2ZXJzIHdpbGwgbmVlZCB0byBhYm91dCBpdCBhbmQgdGhlcmVmb3JlLCB3aWxsIGJl IGFibGUgdG8gb3BlcmF0ZSBhZGVxdWF0ZWx5P0ZvciBpbnN0YW5jZSwgYW4gYWdlbnQgaXMgYSBt ZW1iZXIgb2YgdHdvIHF1ZXVlcyAoYXBwX3F1ZXVlIHJlYWx0aW1lKSBhbmQgdGhvc2UgcXVldWVz IG9uIHNlcGFyYXRlIHNlcnZlci5UaGFua3PCoA=

One thought on - Share Agents State?

  • 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.