[asterisk-users] AgentRequest() and which agent id?

2015-08-07 Thread Shahid H
Hi, If agents is already logged in via AgentLogin() and users dialled extension 300 which will be placed in Queue(support-queue). How to find out which agent is available I can put their Agent id in AgentRequest() ? If this is not a good approach then how it should be done? Agent should automat

Re: [asterisk-users] AgentRequest() and which agent id?

2015-08-07 Thread Richard Mudgett
On Fri, Aug 7, 2015 at 10:06 AM, Shahid H wrote: > Hi, > > If agents is already logged in via AgentLogin() and users dialled > extension 300 which will be placed in Queue(support-queue). > > How to find out which agent is available I can put their Agent id > in AgentRequest() ? > > If this is not

Re: [asterisk-users] AgentRequest() and which agent id?

2015-08-07 Thread Shahid H
Thank you. I will test it today. Is it possible to build a list of agent-id in MySQL Database rather than agent.conf? I am not sure what is the best approach, maybe you can give me some direction. On the backend (web based) Admin can create a new Agent for agent web panel login. Admin will enter

Re: [asterisk-users] AgentRequest() and which agent id?

2015-08-07 Thread Richard Mudgett
On Fri, Aug 7, 2015 at 11:20 AM, Shahid H wrote: > Thank you. I will test it today. > > Is it possible to build a list of agent-id in MySQL Database rather than > agent.conf? > Look at extconfig.conf.sample for using a database to hold the contents of an agents.conf file. > > I am not sure wha

Re: [asterisk-users] AgentRequest() and which agent id?

2015-08-07 Thread Steve Edwards
Please don't top post. On Fri, 7 Aug 2015, Shahid H wrote: Is it possible to build a list of agent-id in MySQL Database rather than agent.conf? [snip] I have two options. - Build hundreds static agent-id in agents.conf  - Dynamic agent-id in mysql table (Not associated with agent.conf).