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)[EMAIL PROTECTED])
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 [EMAIL PROTECTED]:1] AddQueueMember("SIP/sguenther-08202ac8", 
"queue1|") in new stack
-- Executing [EMAIL PROTECTED]: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
********************************************


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to