[asterisk-users] Use PauseQueueMember

Julian Lyndon-Smith asterisk at dotr.com
Fri Sep 8 14:24:48 MST 2006


If the extension is 5156598, then you need to have member=>Agent/5156598 
in queues.conf (and the equivalent entry in agents.conf) or add 
agent/5156598 as a dynamic member, not agent1 or agent2 etc

Julian.

gc wrote:
> The calling extension is 5156598.
> After I dial into 881112 from this phone. It no longer accept call from
> queue but the 'show agents' still show it is available.
> 
> ----- Original Message ----- From: "Julian Lyndon-Smith" 
> <asterisk at dotr.com>
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> <asterisk-users at lists.digium.com>
> Sent: Friday, September 08, 2006 1:50 PM
> Subject: Re: [asterisk-users] Use PauseQueueMember
> 
> 
>>
>> gc wrote:
>>>  After using PauseQueueMember in my dialplan. I used 'show agents' 
>>> cli to
>>> show the agent status. It is still show that agent available. Here is 
>>> the
>>> output from asterisk console:
>>>  5156597   (Agent1 ) available at '5156597 at from-pstn-custom'
>>> <mailto:'5156597 at from-pstn-custom'> (musiconhold is 'default')
>>> 5156598   (Agent2 ) not logged in (musiconhold is 'default')
>>>  Although Agent1 is indeed in pause mode.
>>>  Here is my dialplan:
>>> exten => 881112,1,PauseQueueMember(|Agent/${CALLERIDNUM})
>>
>> What's the extension of the calling phone ?
>> Unless you are calling from Extension 1, this won't work. you need
>> something like
>> exten => 881112,1,PauseQueueMember(|Agent/1})
>>
>>> exten => 881112,n,Playback(vm-goodbye)
>>> exten => 881112,n,Hanup
>>> Am I doing somthing wrong?
>>>  I am using asterisk 1.2.9.1
>>
>> Julian.
>>
>>>  ------------------------------------------------------------------------ 
>>>
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation provided by Easynews.com --
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list