[asterisk-users] Question about queues and the definition and agents
Stefan Guenther
asterisk01 at in-put.de
Sun Jan 13 11:17:14 CST 2008
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
********************************************
More information about the asterisk-users
mailing list