<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
My suggestion:<br>
<br>
[your incoming context]<br>
#answer the phone<br>
exten => s,1,Answer()<br>
#playback recording but also accept extensions<br>
exten => s,2,Background(your_gsm_recording)<br>
#wait for caller to dial extension<br>
exten => s,3,WaitExten(10)<br>
#if they haven't hit an extension yet, play the message again<br>
exten => s,4,Background(your_gsm_recording)<br>
#give them one more chance<br>
exten => s,5,WaitExten(10)<br>
#send them to a default extension...maybe they have rotary phone<br>
exten => s,6,Dial(SIP/101|30|tm)<br>
#if all else fails, hangup<br>
exten => s,7,Hangup()<br>
<br>
<br>
# dynamic extension which makes 1=101, 2=102, etc.<br>
exten => _X,1,Dial(SIP/10${EXTEN}|30|tm)<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">*********************************
Adam Moffett
Plexicomm, LLC
<a class="moz-txt-link-abbreviated" href="mailto:adam@plexicomm.net">adam@plexicomm.net</a>
ph: 866-759-4678x104
*********************************
</pre>
<br>
<br>
Josu Lazkano Lete wrote:
<blockquote cite="mid001401c79249$36b13700$1d00000a@Lazkano" type="cite">
<pre wrap="">Hello everybody.
I want to make a menu with the incoming calls, I want that when someone calls the Asterisk play a record (in gsm) and them the caller must choose a option (1,2 or 3).
if he choose 1 it will redirect to 101 extension
if he choose 2 it will redirect to 102 extension
if he choose 3 it will redirect to 103 extension
my extensions.conf is this one:
[default]
exten => s,1,Answer()
exten => s,2,Wait(1)
exten => s,3,Dial(SIP/101,30,Ttm)
sorry about my english,
thanks to all
beyyyyyyyy
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
</body>
</html>