Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Invalid extensions


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
gilbertonunes at yahoo...
Guest





PostPosted: Wed Jan 02, 2008 6:27 am    Post subject: [asterisk-users] Invalid extensions Reply with quote

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/
Back to top
jsmith at digium.com
Guest





PostPosted: Wed Jan 02, 2008 10:13 am    Post subject: [asterisk-users] Invalid extensions Reply with quote

On Wed, 2008-01-02 at 08:27 -0300, Gilberto Nunes Ferreira wrote:
Quote:
First I want to wish for everone a happy new year...

Happy New Year to you as well!

Quote:
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.
Back to top
gilbertonunes at yahoo...
Guest





PostPosted: Wed Jan 02, 2008 11:25 am    Post subject: [asterisk-users] Invalid extensions Reply with quote

Hi again

I will pleasure for all response!

Well, after re-test all options in extension.conf, I
notice that when the recording start to play and I
touch some key on phone, I get the message "Invalid
extension etc..."

However, if I just let the recording go ahead, when I
press some key, so I get the playback message "Invalid
Number"...

Do I not get Invalid in any case? (or both case. Sorry
for my English!)

Thanks
Abra sua conta no Yahoo! Mail, o ?nico sem limite de espa?o para armazenamento!
http://br.mail.yahoo.com/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services