[Asterisk-Users] A question with voice Menu
Alex Barnes
abarnes at ubiquitysoftware.com
Wed Oct 13 02:12:03 MST 2004
This may be a nastey way of doing it, I'm fairly new to all this * stuff. But crazy hacks are my chosen "style" of coding :-P
This MAY work better for you, but this is how I would do it:
Remove "include => default"
Replace
exten => s,2,Wait,Ttr,200
With
exten => _.,1,Goto(default,${EXTEN},1)
HTH
Alex
-----Original Message-----
From: ismaelg [mailto:igil at itranser.com]
Sent: 13 October 2004 09:37
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] A question with voice Menu
Hello,
I'm having the following problem in my asterisk config.
I have a little voice menu, with two options,
The welcome message looks like that,
1- press 1, to dial an extension
2- press 2, to speak with an operator.
If I press 1, I get the following message
Dial the extensión number you want to talk to...
But if I wait a moment after this message I get this message again
1- press 1, to dial an extension
2- press 2, to speak with an operator.
Asterisk repeat the welcome message again, and this isn't what we want.
How could I solve this?
Thanks
Ismael.
(I just Paste the config)
[incoming]
exten => s,1,Wait(2)
exten => s,2,Answer
exten => s,3,DigitTimeout,10
exten => s,4,ResponseTimeout,20
exten => s,5,Background(itranser/msg_bienvenida)
exten => 1,1,Goto(contexto_extensiones,s,1)
exten => 2,1,Goto(contexto_operadora,s,1)
[contexto_operadora]
exten => s,1,Background(itranser/trans_operadora)
exten => s,2,Dial(SIP/aurelio,100,Ttr)
[contexto_extensiones]
include => default
exten => s,1,Background(itranser/msg_pasar_ext)
exten => s,2,Wait,Ttr,200
The dafault context is where I defined all my phone extensions.
>
>
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Dear Friends of Ubiquity Software:
As you may have noticed, Ubiquity Software began using the web domain ubiquity.com earlier this year in addition to the previously established ubiquity.net for our website and email communications to you. However, since that time, a dispute has emerged with respect to actual ownership of the ubiquity.com domain.
As an international software company founded over decade ago, you can always reach Ubiquity Software under the website www.ubiquity.net <http://www.ubiquity.net/> and via email at @ubiquity.net. However, we have also chosen to expand our domain to the more specific www.ubiquitysoftware.com <http://www.ubiquitysoftware.com/> for web and @ubiquitysoftware.com for email communications.
Please use either the historical ubiquity.net or begin to use the new ubiquitysoftware.com domain for all email communications to Ubiquity employees from now on.
Thank you.
Regards,
Ubiquity Software
www.ubiquitysoftware.com <http://www.ubiquitysoftware.com/>
info at ubiquitysoftware.com
More information about the asterisk-users
mailing list