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@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}) exten => 881112,n,Playback(vm-goodbye) exten => 881112,n,Hanup Am I doing somthing wrong? I am using asterisk 1.2.9.1 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060908/565ee929/attachment.htm
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@from-pstn-custom' > <mailto:'5156597@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.1Julian.> > > > > ------------------------------------------------------------------------ > > _______________________________________________ > --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
On 9/8/06, gc <garych@unidial.com> 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@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}) > exten => 881112,n,Playback(vm-goodbye) > exten => 881112,n,Hanup > > Am I doing somthing wrong? > > I am using asterisk 1.2.9.1 >Agents are agents. Not "queue members". You need to do "show queue" in a queue where that agent is a member to see them paused. -- Bird's The Word Technologies, Inc. http://www.btwtech.com/