[asterisk-users] Invalid extensions
Gilberto Nunes Ferreira
gilbertonunes at yahoo.com.br
Wed Jan 2 05:27:47 CST 2008
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/
More information about the asterisk-users
mailing list