Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
shahidh at gmail.com
Guest





PostPosted: Mon Sep 14, 2015 5:46 pm    Post subject: [asterisk-users] AgentLogin() on the multiple servers? Reply with quote

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
Back to top
faheem2084 at gmail.com
Guest





PostPosted: Tue Sep 15, 2015 5:25 am    Post subject: [asterisk-users] AgentLogin() on the multiple servers? Reply with quote

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: supportqueueInterface: sip/1122Penalty: 1----------------------------


Regards,
Muhammad Faheem




On Tue, Sep 15, 2015 at 3:46 AM, Shahid H <shahidh@gmail.com (shahidh@gmail.com)> wrote:
Quote:
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
Back to top
shahidh at gmail.com
Guest





PostPosted: Tue Sep 15, 2015 5:52 am    Post subject: [asterisk-users] AgentLogin() on the multiple servers? Reply with quote

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@gmail.com (faheem2084@gmail.com)> wrote:
Quote:
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: supportqueueInterface: sip/1122Penalty: 1----------------------------


Regards,
Muhammad Faheem




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


Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services