Wednesday, January 2, 2008

Re: [asterisk-users] Invalid extensions

gilberto,
check your config files, extensions.conf,  to see if autofallthrough is set or not....
you don't have any extensions in [ura] either...  only choice is 1 or 2... anything else is invalid...
daveC

Gilberto Nunes Ferreira wrote:
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)
autofallthrough?
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/  _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com--  asterisk-users mailing list To UNSUBSCRIBE or update options visit:    http://lists.digium.com/mailman/listinfo/asterisk-users      

--  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   

No comments: