[Asterisk-Users] IAX dialplan problem?

John Crowhurst fyremoon at gmail.com
Mon Sep 19 13:56:25 MST 2005


On 9/19/05, Colin Anderson <ColinA at landmarkmasterbuilder.com> wrote:
> 
> [default]
>  exten => 1,1,Playback(YouPressedOne)
> exten => 1,2,Playback(BecauseYouPressed1IWillCallCarol)
> exten => 1,3,Goto(first-ivr,s,1)
>   exten => 2,1,Playback(YouPressedTwo)
> exten => 2,2,Playback(BecauseYouPressed1IWillCallCarol)
> exten => 2,3,Goto(second-ivr,s,1)
>  exten => 3,1,Playback(YouPressedTwo)
>  exten => 3,2,Playback(BecauseYouPressed3IWillSendYouToVoicemail)
> exten => 3,3,Goto(third-ivr,s,1)
>  [first-ivr]
>  exten => s,1,Dial(InsertDialStatementHere)
>  exten => s,2,Playback(Goodbye)
> exten => s,3,Hangup
>   [second-ivr]
>  exten => s,1,Dial(InsertDialStatementHere)
>  exten => s,2,Playback(Goodbye)
> exten => s,3,Hangup
>  [third-ivr]
>  exten => s,1,VoiceMailMain(default)
> exten => s,2,Playback(Goodbye)
> exten => s,3,Hangup
>  Get it? In a context (which is the name specified in brackets) , the 
> first number in a statement indicates the extension, which Asterisk 
> interprets through a DTMF tone (you press buttons to dial something) or a 
> DID number for inbound calls (in the case of a PRI) and executes statements 
> according to the priority, which is the next number. 
> 


In the above example, you have to press 1,2 or 3 before it will tell you 
that. I was wanting it to tell me before I pressed those numbers.

Can an IAX device be setup so that it appears to be an inbound DID, and if 
so how can I do that with the IAXy?


--
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050919/b3a2ca82/attachment.htm


More information about the asterisk-users mailing list