[asterisk-users] Use PauseQueueMember

Julian Lyndon-Smith asterisk at dotr.com
Fri Sep 8 10:50:43 MST 2006


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



More information about the asterisk-users mailing list