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

Shahid H shahidh at gmail.com
Tue Sep 15 05:52:06 CDT 2015


You say AgentLogin() must apply to all servers? but agent will be already
on the line from a single server.

When agent stays on the line after logging in, that channel will be only on
one Asterisk server? If there is an incoming call getting routed on another
Asterisk server, that agent and the incoming call will need to be bridged
together?

On Tue, Sep 15, 2015 at 11:24 AM, Faheem Muhammad <faheem2084 at gmail.com>
wrote:

> 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
>>
>
>
> --
> _____________________________________________________________________
> -- 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/108748bb/attachment.html>


More information about the asterisk-users mailing list