Hi all First I want to wish for everone a happy new year... Well... I have run asterisk 1.4.16.1 in a server. I have this IVR, in extensions.conf: [ura] ;exten => s, 1, Wait,1 exten => s, 1, Answer() exten => s, n, Noop() exten => s, n(debug),DumpChan() exten => s, n, Set(LANGUAGE()=pt_BR) exten => s, n, Set(CALLFILENAME=/var/spool/asterisk/monitor/entrada/) exten => s, n, Set(DYNAMIC_FEATURES hangup#pickupexten#atxfer#blidxfer) exten => s, n, MixMonitor(${CALLFILENAME}/${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)}-${EXTEN}.wav|v(0)V(0)) exten => s, n, Wait,1 exten => s, n, Set(TIMEOUT(digit)=3) ; Set Digit Timeout to 5sec exten => s, n, Set(TIMEOUT(response)=5) ; Set Response Timeout to 10sec exten => s, n, Background(bemvindobit) exten => s, n, WaitExten exten => 1, 1, Set(LANGUAGE()=pt_BR) exten => 1, 2, Queue(8600|tT|||30) exten => 2, 1, Set(LANGUAGE()=pt_BR) exten => 2, 2, Queue(8500|tT|||30) exten => i, 1, Wait,1 exten => i, 2, Playback(invalid) exten => i, 3, Goto(s,11) exten => t, 1, Wait,1 exten => t, 2, Dial(SIP/8024,150,tTrwW) exten => s, n, HangUp() ;include => ramais Well, when I atempt dial to a external number, I goto this IVR. When the user get a connection, and when he press any invalid number, I get this message on CLI: Invalid extension '3' in context 'ura' on SIP/bitmixinfo-0825f158 Here, we suppost tha the user press key 3, for a mistake. In this point, the call hangup! Why this happen? I take some research on google, but nothing... Thanks so much... Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento! http://br.mail.yahoo.com/
<!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="#ffffcc" text="#330000"> gilberto,<br> check your config files, extensions.conf, to see if autofallthrough is set or not....<br> you don't have any extensions in [ura] either... only choice is 1 or 2... anything else is invalid...<br> daveC<br> <br> Gilberto Nunes Ferreira wrote: <blockquote cite="mid:617607.21471.qm@web50604.mail.re2.yahoo.com" type="cite"> <pre wrap="">Hi all First I want to wish for everone a happy new year... Well... I have run asterisk 1.4.16.1 in a server. I have this IVR, in extensions.conf: [ura] ;exten => s, 1, Wait,1 exten => s, 1, Answer() exten => s, n, Noop() exten => s, n(debug),DumpChan() exten => s, n, Set(LANGUAGE()=pt_BR) exten => s, n, Set(CALLFILENAME=/var/spool/asterisk/monitor/entrada/) exten => s, n, Set(DYNAMIC_FEATURES hangup#pickupexten#atxfer#blidxfer) exten => s, n, MixMonitor(${CALLFILENAME}/${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)}-${EXTEN}.wav|v(0)V(0)) exten => s, n, Wait,1 exten => s, n, Set(TIMEOUT(digit)=3) ; Set Digit Timeout to 5sec exten => s, n, Set(TIMEOUT(response)=5) ; Set Response Timeout to 10sec exten => s, n, Background(bemvindobit) exten => s, n, WaitExten </pre> </blockquote> <br> <blockquote cite="mid:617607.21471.qm@web50604.mail.re2.yahoo.com" type="cite"> <pre wrap="">exten => 1, 1, Set(LANGUAGE()=pt_BR) exten => 1, 2, Queue(8600|tT|||30) exten => 2, 1, Set(LANGUAGE()=pt_BR) exten => 2, 2, Queue(8500|tT|||30)</pre> </blockquote> autofallthrough? <br> <blockquote cite="mid:617607.21471.qm@web50604.mail.re2.yahoo.com" type="cite"> <pre wrap="">exten => i, 1, Wait,1 exten => i, 2, Playback(invalid) exten => i, 3, Goto(s,11) exten => t, 1, Wait,1 exten => t, 2, Dial(SIP/8024,150,tTrwW) exten => s, n, HangUp() ;include => ramais Well, when I atempt dial to a external number, I goto this IVR. When the user get a connection, and when he press any invalid number, I get this message on CLI: Invalid extension '3' in context 'ura' on SIP/bitmixinfo-0825f158 Here, we suppost tha the user press key 3, for a mistake. In this point, the call hangup! Why this happen? I take some research on google, but nothing... Thanks so much... Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! <a class="moz-txt-link-freetext" href="http://br.mail.yahoo.com/">http://br.mail.yahoo.com/</a> _______________________________________________ --Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a>-- 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> <br> <pre class="moz-signature" cols="132">-- My wife's sister is in California. I should buy her a Videophone2008! Truly, The Next Best Thing to Being There! -- WorldWideVideoPhones.com 856.380.0894 </pre> </body> </html>
On Wed, 2008-01-02 at 08:27 -0300, Gilberto Nunes Ferreira wrote:> First I want to wish for everone a happy new year...Happy New Year to you as well!> Well... > > I have run asterisk 1.4.16.1 in a server. > I have this IVR, in extensions.conf: > > [ura] > > ;exten => s, 1, Wait,1 > exten => s, 1, Answer() > exten => s, n, Noop() > exten => s, n(debug),DumpChan() > exten => s, n, Set(LANGUAGE()=pt_BR) > exten => s, n, > Set(CALLFILENAME=/var/spool/asterisk/monitor/entrada/) > exten => s, n, Set(DYNAMIC_FEATURES > hangup#pickupexten#atxfer#blidxfer) > exten => s, n, > MixMonitor(${CALLFILENAME}/${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)}-${EXTEN}.wav|v(0)V(0)) > exten => s, n, Wait,1 > exten => s, n, Set(TIMEOUT(digit)=3) ; Set Digit > Timeout to 5sec > exten => s, n, Set(TIMEOUT(response)=5) ; Set Response > Timeout to 10sec > exten => s, n, Background(bemvindobit) > exten => s, n, WaitExten > exten => 1, 1, Set(LANGUAGE()=pt_BR) > exten => 1, 2, Queue(8600|tT|||30) > exten => 2, 1, Set(LANGUAGE()=pt_BR) > exten => 2, 2, Queue(8500|tT|||30) > exten => i, 1, Wait,1 > exten => i, 2, Playback(invalid) > exten => i, 3, Goto(s,11) > exten => t, 1, Wait,1 > exten => t, 2, Dial(SIP/8024,150,tTrwW) > exten => s, n, HangUp()The 'i' extension above would probaby work, except I think the extra whitespace you've added may be causing Asterisk not to work. Try taking out the extra space before the priority number and the application name, like this: exten => i,1,Wait,1 You can also see if Asterisk is correctly parsing your extensions.conf file by typing "dialplan show 3 at ura" in the Asterisk CLI and looking at the output. -- Jared Smith Community Relation Manager Digium, Inc.