<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
This is the situation:<br>
I have a call coming in from the POTS line and I pass this through
to the [incoming] section by including the [incoming] inside [sip].<br>
Then s,... starts. It picks up the call and then places the call in
a "Reception" queue.<br>
<br>
This is the problem:<br>
When the call is in the "Reception" queue, I would like to play a
voice menu while the call is in the queue.<br>
If the user responds to the "Voice Menu" by dialling a number, then
I would like to pass this call to that extension.<br>
I know you can put a time out on the "Reception" queue - but I need
to give the caller the option to by-pass the <br>
Receptionist.<br>
<br>
<br>
<b>/extensions.conf/</b><br>
<br>
[incoming]<br>
exten => s,1,Wait,1 ;
Wait a second, just for fun<br>
exten => s,2,Answer ;
Answer the line<br>
;___________TODO______________ ;Play a "Thank you for
calling ..."<br>
exten => s,3,Queue(QUEUE-Reception) ;Place call in
reception queue<br>
;___________TODO______________ ;Play "Voice Menu ->
Sales;Accounts;Support<br>
exten => 1,1,QUEUE(QUEUE-Support) ;Pressed "1", place
call in queue.conf::[QUEUE-Support] <<<<<<<<
need some help ova here.... plz<br>
<br>
[sip]<br>
include => incoming
;include the incoming calls context<br>
<br>
exten => 101,1,Dial(SIP/Reception,20,tr)<br>
exten => 200,1,Queue(QUEUE-Support)<br>
<br>
<br>
<b>/Asterisk Out-put/</b><br>
<br>
Asterisk Ready.<br>
-- Starting simple switch on 'Zap/4-1'<br>
-- Executing Wait("Zap/4-1", "1") in new stack<br>
-- Executing Answer("Zap/4-1", "") in new stack<br>
-- Executing Queue("Zap/4-1", "QUEUE-Reception") in new stack<br>
-- Started music on hold, class 'default', on Zap/4-1<br>
-- Called SIP/Reception<br>
-- Stopped music on hold on Zap/4-1<br>
Apr 2 13:51:16 WARNING[1994]: chan_sip.c:860 retrans_pkt: Maximum
retries exceeded on call <a class="moz-txt-link-abbreviated" href="mailto:76a1d748020bb36d645b3ca849d60f8e@192.168.5.71">76a1d748020bb36d645b3ca849d60f8e@192.168.5.71</a>
for seqno 102 (Critical Request)<br>
Apr 2 13:51:16 NOTICE[2004]: app_queue.c:1103 wait_for_answer: No one
is answering queue 'QUEUE-Reception' (1/0/0)<br>
<br>
<br>
<br>
Thank you all.<br>
<pre class="moz-signature" cols="72">--
Kind Regards
Etienne
</pre>
</body>
</html>