[Asterisk-Users] AddQueueMember and Local channels
Julian Lyndon-Smith
asterisk at dotr.com
Wed Jun 14 10:19:08 MST 2006
Further to my post, I was going to revert SVN backwards until I got to a
point where AddQueueMember works with the local channel
To this end, if anyone is using this functionality would they send me
the version number and prefably svn number so that I can track things down.
It may be a config problem on my end - that's why I need to know a
working version so that I can check my config on that version.
Many thanks.
Julian.
Julian Lyndon-Smith wrote:
> Following on from a posting yesterday from Kevin, I have the following
> in the dialplan:
>
> exten => 709,1,AddQueueMember(SomeQueue|Local/706 at AgentQ)
>
> I am on extension 706.
>
> From the CLI:
>
> SomeQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s
> holdtime), W:0, C:0, A:3, SL:0.0% within 60s
> No Members
> No Callers
>
> I call 709, get a console message
>
>
> NOTICE[30879]: app_queue.c:3122 aqm_exec: Added interface
> 'Local/706 at AgentQ' to queue 'SomeQueue'
>
> from the CLI:
>
> SomeQueue has 0 calls (max unlimited) in 'rrmemory' strategy (0s
> holdtime), W:0, C:0, A:3, SL:0.0% within 60s
> Members:
> Local/706 at AgentQ (dynamic) (In use) has taken no calls yet
> No Callers
>
>
> Notice the (In use) on the member. When I call the queue, the call is
> not passed onto the member, and there is no activity on the cli.
> Eventually the call times out.
>
> If I add SIP/706 instead of Local/706 at AgentQ then it all works as expected.
>
> Any clues or help ? Many thanks !
>
> Julian.
>
> Kevin P. Fleming wrote:
> > ----- Julian Lyndon-Smith <asterisk at dotr.com> wrote:
> >> Now, I want to be able to use a device, rather than agents. So I can
> >> use addQueueMember and add my SIP device. However, I still want to
> do a couple of things before the device is called.
> >
> > This is what the Local channel (chan_local) is for.
> >
> > If your SIP device is called "myfancyphone", then instead of adding
> SIP/myfancyphone to the queue using AddQueueMember, add (instead)
> Local/myfancyphone at members, and then in your dialplan:
> >
> > [members]
> > exten => myfancyphone,1,...
> > exten => myfancyphone,n,...
> > exten => myfancyphone,n,Dial(SIP/${EXTEN})
> _______________________________________________
> --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