Asterisk - IVR

hello

Hi,

I have problem regarding IVR. when i call ivr menue i could not call it correctly.

Exten => s,1,Answer
Exten => s,2,SetMusicOnHold(default)
Exten => s,3,DigitTimeout,5
Exten => s,4,ResponseTimeout,10
Exten => s,5,Playback(enter number you want to call) ; ipress ?1? for 10, press 2 for 11

Exten => 1,1,Dial(SIP/Phone1/10)
Exten => 2,1,Dial(SIP/Phone1/11)

I want when i press 1 my sip 11 will ring and when i press 10 my sip 10 will ring
but my macro exit when i enter 1 or 2, it does not dial sip 10,11

Cli shows after playing message
"enter number you want to call" and I enter number 1
that
invalid extension 1 but no rule i in context “from-internal”

regards

Satti

Hi,

I have problem regarding IVR. when i call ivr menue i could not call it correctly.

Exten => s,1,Answer
Exten => s,2,SetMusicOnHold(default)
Exten => s,3,DigitTimeout,5
Exten => s,4,ResponseTimeout,10
Exten => s,5,Playback(enter number you want to call) ; ipress ?1? for 10, press 2 for 11

Exten => 1,1,Dial(SIP/Phone1/10)
Exten => 2,1,Dial(SIP/Phone1/11)

Satti

Why dont you try and use background instead of Playback… At least you will be able to except tones will it plays back to you.

Also when you use your Dial, it should look something like this

exten => 1,1,Dial(Sip/1234,tT,20)

I dont know where you get the extra / from. Maybe I am missing something, but just give it a try. The above is all in the same context? That is all in the from-internal context?

Hi,

My problem just macro execute line start with exten => s,1
and it does not execute those line which start exten => 1,1,Dial(IAX2/10)

regards

Satti