[Asterisk-Users] IVR---if you know your parties extension you may
dial it now
Brian McSpadden
mcspadden at gmail.com
Fri Jan 21 17:04:54 MST 2005
Just add:
include => [your extensions context here]
inside your IVR context
Example:
include => default
On Fri, 21 Jan 2005 15:52:15 -0800, Michael Levenson
<Michael at levenson.org> wrote:
> I have searched and I have my IVR working when it has to fork off to another
> application but how do I get it to allow callers to dial the extension
> directly instead of going though the directory?
>
> [mainmenu]
> exten => s,1,Answer
> exten => s,2,SetMusicOnHold(default)
> exten => s,3,DigitTimeout,5
> exten => s,4,ResponseTimeout,10
>
> ;SAI menu - 1 for tech support, 2 for directory, 3 for echo test
> exten => s,5,Background(custom/sai-welcome)
> exten => s,6,Background(custom/sai-choose)
>
> ; Leave Voicemail
> ;exten => 1,1,VoicemailMain2()
> ;exten => 1,2,Hangup
> ; company directory
> exten => 2,1,Directory(local)
> ; Echo Test
> exten => 3,1,Playback(demo-echotest)
> exten => 3,2,Echo
> exten => 3,3,Playback(demo-echodone)
> exten => 3,4,Goto(mainmenu,s,6)
>
> I have extensions that start with 3's, 9's, 1's and 6's
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list