this is, just in case your expecting a volume of calls<br><br>exten => 1111,1,Goto(contexts,s,1)<br><br>[context]<br>exten => s,1,Answer()<br>exten => s,2,Background(support)<br>exten => 1,1,Goto(context1,s,1)<br>
exten => 2,1,Goto(context2,s,1)<br>exten => 3,1,Goto(context3,s,1)<br>exten => 4,1,Goto(context4,s,1)<br>exten => i,1,Goto(main-menu,s,1)<br>exten => t,1,Playback(silence/1)<br><br><br><div><span class="gmail_quote">
On 5/9/07, <b class="gmail_sendername">Moacir O. de Souza Junior - Personalsoft Sistemas Ltda.</b> <<a href="mailto:moacir@personalsoft.inf.br">moacir@personalsoft.inf.br</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>My suggestion:<br><br>extensios.conf<br><br><br>exten => s,1,Answer()<br>exten => s,n,Wait(1)<br>exten => s,n,Read(MyVariable,TheNameOfSoudFile,1, , ,10)<br>exten => s,n,GotoIf($["${MyVariable}"="1"]?11)
<br>exten => s,n,GotoIf($["${MyVariable}"="2"]?12)<br>exten => s,n,GotoIf($["${MyVariable}"="3"]?13)<br>exten => s,11,Dial(SIP/101,30,Ttm)<br>exten => s,12,Dial(SIP/102,30,Ttm)
<br>exten => s,13,Dial(SIP/103,30,Ttm)<br><br> --> Timeout<br> |<br>Read(MyVariable,MySoudFile,1, , ,10)<br> |
<br> |<br> -> Number of characters that user has to<br>digit<br><br>Asterisk cmd READ<br><a href="http://www.voip-info.org/wiki/view/Asterisk+cmd+Read">
http://www.voip-info.org/wiki/view/Asterisk+cmd+Read</a><br><br><br>[]'s<br><br>Moacir O. de Souza Junior<br>Belo Horizonte - Minas Gerais - Brasil<br><br>________________________________________<br>De: <a href="mailto:asterisk-users-bounces@lists.digium.com">
asterisk-users-bounces@lists.digium.com</a><br>[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] Em nome de Josu Lazkano<br>Lete<br>Enviada em: quarta-feira, 9 de maio de 2007 11:49
<br>Para: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>Assunto: [asterisk-users] select menu<br><br>Hello everybody.<br><br>I want to make a menu with the incoming calls, I want that when someone
<br>calls the Asterisk play a record (in gsm) and them the caller must choose a<br>option (1,2 or 3).<br><br>if he choose 1 it will redirect to 101 extension<br>if he choose2 it will redirect to 102 extension<br>if he choose3 it will redirect to 103 extension
<br><br>my extensions.conf is this one:<br><br>[default]<br>exten => s,1,Answer()<br>exten => s,2,Wait(1)<br>exten => s,3,Dial(SIP/101,30,Ttm)<br><br>sorry about my english,<br><br>thanks to all<br><br>beyyyyyyyy
<br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>