<div dir="ltr">You say AgentLogin() must apply to all servers? but agent will be already on the line from a single server.<div><br></div><div>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?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 11:24 AM, Faheem Muhammad <span dir="ltr"><<a href="mailto:faheem2084@gmail.com" target="_blank">faheem2084@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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. <div>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.</div><div>Below is snippet for making QueueAdd request from AMI.</div><div><br></div><div>-----------------------------------------</div><div><br></div><div><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">Action: QueueAdd</span></div><div><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">Queue: supportqueue</span><br style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px"><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">Interface: sip/1122</span><br style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px"><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">Penalty: 1</span><br style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">----------------------------</div><div><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px"><br></span></div><div><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">Regards,</span></div><div><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px">Muhammad Faheem</span></div><div><span style="color:rgb(46,47,48);font-family:'Helvetica Neue',Helvetica,Roboto,Arial,sans-serif;font-size:14px;line-height:21px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 15, 2015 at 3:46 AM, Shahid H <span dir="ltr"><<a href="mailto:shahidh@gmail.com" target="_blank">shahidh@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div>Let say all the SIP devices will be registered on the proxy like kamailio.</div><div><br></div><div>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. </div><div><br></div><div>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.</div><div><br></div><div>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()? </div><div><br></div><div>Thanks</div></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></font></span></blockquote></div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>