[asterisk-users] Agents and AddQueueMember

Alexandre Snarskii snar at paranoia.ru
Fri Jan 4 03:54:47 CST 2008


On Fri, Jan 04, 2008 at 01:21:13PM +0530, Rajkumar S wrote:
> Hi,
> 
> I have callcenter running with v 1.2 with AgentCallbackLogin and now
> trying to move to 1.4 using the example doc,
> doc/queues-with-callback-members.txt. 
> From what I understand the basic idea in the example is to
> 
> 1. Authenticate a caller with VMAuthenticate

Instead of VMAuthenticate you can use 

Authenticate(${AGENT(${AGENT_NUMBER}:password)},"agent-pass")

this will authenticate your agent against agents.conf entry just
like in case of AgentCallbackLogin. 

> 2. Get his SIP Channel number
> 3. Use AddQueueMember to add the SIP [Local] channel to queue.
> 
> The queue logs come like
> 
> 1197953879|1197953876.34|Auth-Enq|Local/1001 at from-sip|CONNECT|3|1197953876.35
> 
> Previously it used to come like
> 
> 1197013076|1197013055.27|Auth-Enq|Agent/1001|CONNECT|21|1197013055.30
> 
> Here the problem is that there is no way to find number of calls taken
> by a person, because there is no agent abstraction here.  What is the
> recommended way to work around this problem ?

You can either apply patch from http://bugs.digium.com/view.php?id=10755
or wait with AgentCallbackLogin until 1.6 comes out (this patch is
always in trunk). 




More information about the asterisk-users mailing list