Stefan Guenther
2008-Jan-13 17:17 UTC
[asterisk-users] Question about queues and the definition and agents
Paul wrote > >;Pause/unpause Queue >exten => 424,1,PauseQueueMember(|SIP/${CALLERID(num)}) >exten => 424,2,Playback(unavailable) >exten => 424,3,Hangup >exten => 425,1,UnPauseQueueMember(|SIP/${CALLERID(num)}) >exten => 425,2,Playback(available) >exten => 425,3,Hangup > Following your suggestion and a number of postings and articles I have configured the following: exten => 6662,1,ADDQUEUEMEMBER(queue1|) ;exten => 6662,1,ADDQUEUEMEMBER(queue1|SIP/${ID${CALLERID(num)}}@local) exten => 6662,2,HANGUP() When I now call 6662 and then enter "show queues" in the cli, I get: queue1 has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:0, SL:0.0% within 60s Members: SIP/sguenther (dynamic) (Unavailable) has taken no calls yet No Callers Why is the agent unavailable and which context would asterisk use to call the agent? Here's the output of the login: -- Executing [6662 at local:1] AddQueueMember("SIP/sguenther-08202ac8", "queue1|") in new stack -- Executing [6662 at local:2] Hangup("SIP/sguenther-08202ac8", "") in new stack == Spawn extension (local, 6662, 2) exited non-zero on 'SIP/sguenther-08202ac8' Thanks for your help, Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ********************************************
Paul Hales
2008-Jan-14 01:02 UTC
[asterisk-users] Question about queues and the definition and agents
Maybe ADDQUEUEMEMBER(queue1|${CALLERID(num)) is closer to what you are looking for....or ADDQUEUEMEMBER(queue1) - without the pipe... PaulH On Sun, 2008-01-13 at 18:17 +0100, Stefan Guenther wrote:> Paul wrote > > > >;Pause/unpause Queue > >exten => 424,1,PauseQueueMember(|SIP/${CALLERID(num)}) > >exten => 424,2,Playback(unavailable) > >exten => 424,3,Hangup > >exten => 425,1,UnPauseQueueMember(|SIP/${CALLERID(num)}) > >exten => 425,2,Playback(available) > >exten => 425,3,Hangup > > > Following your suggestion and a number of postings and articles I have > configured the following: > > exten => 6662,1,ADDQUEUEMEMBER(queue1|) > ;exten => 6662,1,ADDQUEUEMEMBER(queue1|SIP/${ID${CALLERID(num)}}@local) > exten => 6662,2,HANGUP() > > When I now call 6662 and then enter "show queues" in the cli, I get: > > queue1 has 0 calls (max unlimited) in 'rrmemory' strategy (0s > holdtime), W:0, C:0, A:0, SL:0.0% within 60s > Members: > SIP/sguenther (dynamic) (Unavailable) has taken no calls yet > No Callers > > Why is the agent unavailable and which context would asterisk use to > call the agent? > > Here's the output of the login: > > -- Executing [6662 at local:1] AddQueueMember("SIP/sguenther-08202ac8", > "queue1|") in new stack > -- Executing [6662 at local:2] Hangup("SIP/sguenther-08202ac8", "") in new > stack > == Spawn extension (local, 6662, 2) exited non-zero on > 'SIP/sguenther-08202ac8' > > > Thanks for your help, > > Stefan
Stefan Guenther
2008-Jan-14 21:58 UTC
[asterisk-users] Question about queues and the definition and agents
Paul Hales wrote: >Maybe ADDQUEUEMEMBER(queue1|${CALLERID(num)) is closer to what you are >looking for....or ADDQUEUEMEMBER(queue1) - without the pipe... > the construction exten => 6662,1,ADDQUEUEMEMBER(queue1|SIP/${ID${CALLERID(num)}}@local) was okay for my szenario but the @local was wrong and as I know now, the Unavailable message (SIP/sguenther (dynamic) (Unavailable) has taken no calls yet) was caused by the phone. After I registered the phone, it stopped working and I had to reboot it :-(( Nevertheless,thanks for the suggestions. Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Michael Guenther Geschaeftsfuehrer Moltkestrasse 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de ******************************************** Schulungen Installationen Beratung Support Voice-over-IP-Loesungen ********************************************
Maybe Matching Threads
- Soundcard necessary on an asterisk server to get output of playback()?? -> Next step
- Question about queues and the definition of agents
- Priority between calls from different queues
- Agent (Invalid) has taken no calls yet
- DUNDi Not Able to HandleComplexFailoverSituations