[asterisk-users] select menu

franco escalona francoescalona at gmail.com
Wed May 9 09:45:02 MST 2007


this is, just in case your expecting a volume of calls

exten => 1111,1,Goto(contexts,s,1)

[context]
exten => s,1,Answer()
exten => s,2,Background(support)
exten => 1,1,Goto(context1,s,1)
exten => 2,1,Goto(context2,s,1)
exten => 3,1,Goto(context3,s,1)
exten => 4,1,Goto(context4,s,1)
exten => i,1,Goto(main-menu,s,1)
exten => t,1,Playback(silence/1)


On 5/9/07, Moacir O. de Souza Junior - Personalsoft Sistemas Ltda. <
moacir at personalsoft.inf.br> wrote:
>
> Hi,
>
> My suggestion:
>
> extensios.conf
>
>
> exten => s,1,Answer()
> exten => s,n,Wait(1)
> exten => s,n,Read(MyVariable,TheNameOfSoudFile,1, , ,10)
> exten => s,n,GotoIf($["${MyVariable}"="1"]?11)
> exten => s,n,GotoIf($["${MyVariable}"="2"]?12)
> exten => s,n,GotoIf($["${MyVariable}"="3"]?13)
> exten => s,11,Dial(SIP/101,30,Ttm)
> exten => s,12,Dial(SIP/102,30,Ttm)
> exten => s,13,Dial(SIP/103,30,Ttm)
>
>                                             --> Timeout
>                                             |
> Read(MyVariable,MySoudFile,1, , ,10)
>                                    |
>                                    |
>                                    -> Number of characters that user has
> to
> digit
>
> Asterisk cmd READ
> http://www.voip-info.org/wiki/view/Asterisk+cmd+Read
>
>
> []'s
>
> Moacir O. de Souza Junior
> Belo Horizonte - Minas Gerais - Brasil
>
> ________________________________________
> De: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] Em nome de Josu Lazkano
> Lete
> Enviada em: quarta-feira, 9 de maio de 2007 11:49
> Para: asterisk-users at lists.digium.com
> Assunto: [asterisk-users] select menu
>
> 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 choose2 it will redirect to 102 extension
> if he choose3 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
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070509/b66da9d1/attachment.htm


More information about the asterisk-users mailing list