[asterisk-users] AgentLogin() on the multiple servers?

Faheem Muhammad faheem2084 at gmail.com
Tue Sep 15 05:24:41 CDT 2015


You can achieve this by choosing one of asterisk server for pins collection
on extension 1234. When any member/extension dial that extension you need
to call a script that will make AMI connection on all servers and do
AgentLogin/QueueAdd Request.
You need to do ami login and call the AMI request QueueAdd on all server
where you have define different queues. It will make the agent login on all
Queue servers.
Below is snippet for making QueueAdd request from AMI.

-----------------------------------------

Action: QueueAdd
Queue: supportqueue
Interface: sip/1122
Penalty: 1
----------------------------

Regards,
Muhammad Faheem


On Tue, Sep 15, 2015 at 3:46 AM, Shahid H <shahidh at gmail.com> wrote:

> Hello,
>
> Let say all the SIP devices will be registered on the proxy like kamailio.
>
> Agent is a member of Support and Billings Queues on the asterisk servers.
> Support queue on "Server  A" and Billings Queue on "Server B" for example.
> This will be done via RealTime Queue.
>
> I want Agent to dial 1234 on a sip device and it will prompt to enter a
> pin number to Login via AgentLogin(). Agent will stay on the line after
> logged in and wait for the calls.. I understand how this work from single
> asterisk server.
>
> But how is it possible for Agent to stay on the line from multiple
> asterisk servers or how it should be done? If agent dial 1245 for logging
> in - does kamailio randomly need to pink any server and then prompt for Pin
> via AgentLogin()?
>
> Thanks
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150915/e263d1ec/attachment.html>


More information about the asterisk-users mailing list