Mark Phillips
2004-Mar-21 06:37 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
Hi all, I've built the usual "press one for sales, 2 for support" IVR which works fine but I'm having difficulty in allowing callers to type in whole extension numbers. My internal extn ranges are 3xxx and 4xxx. I have pasted the IVR below (just in case someone wants one). The welcome message states callers should type in the extension number they want or choose from the options. It seems though that one can only press one number before the IVR moves to the next step. I'm starting to think that if my extn's are 3xxx and 4xxx I can't have any menu choices beginning with 3 or 4. Would this be correct? If so how does the received DTMF break out of the IVR and get matched to the relevant dialplan entry? [mainmenu] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,3 exten => s,4,ResponseTimeout,5 ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test exten => s,5,Background(welcomemsg) exten => s,6,Background(choosemsg) ; Sales exten => 1,1,Dial,SIP/3400|20 exten => 1,2,Voicemail(3400) exten => 1,3,Goto(mainmenu,s,60 ; Tech support exten => 2,1,Dial,SIP/3401|20 exten => 2,2,Voicemail(3401) exten => 2,2,Goto(mainmenu,s,1) ; 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) ; Parrot Test exten => 4,1,Goto(205,1) ; Access VoiceMail exten => 5,1,VoicemailMain exten => 5,2,Goto(mainmenu,s,6) ; Play the weasels exten => 6,1,Wait,3 exten => 6,2,Playback(tt-somethingwrong) exten => 6,3,Playback(tt-weasels) exten => 6,4,Wait,2 exten => 6,5,Goto(mainmenu,s,6) ; # to hangup exten => #,1,Playback(vm-goodbye) exten => #,2,Hangup exten => t,1,Goto(#,1) ; If they take too long, give up exten => i,1,Playback(invalid) ; "That's not valid, try again" Whilst writing this I've had a thought. What would happen if I had an entry like this? ; transfer to regular extension # exten => _3XXX,1,Dial(SIP/{EXTN}|20|T) exten => _4XXX,1,Dial(SIP/{EXTN}|20|T) Thanks -- Mark Phillips, G7LTT/KC2ENI Randolph, NJ http://www.g7ltt.com/
Walker Haddock
2004-Mar-21 07:09 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
On Sun, Mar 21, 2004 at 08:37:25AM -0500, Mark Phillips wrote:> > I'm starting to think that if my extn's are 3xxx and 4xxx I can't have any > menu choices beginning with 3 or 4. Would this be correct? If so how does > the received DTMF break out of the IVR and get matched to the relevant > dialplan entry?It works fine for me using V1.0-Stable> > > [mainmenu] > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,3This will wait for tones before timing out. You decide how long> exten => s,4,ResponseTimeout,5 > ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test > exten => s,5,Background(welcomemsg) > exten => s,6,Background(choosemsg) > > ; Sales > exten => 1,1,Dial,SIP/3400|20 > exten => 1,2,Voicemail(3400) > exten => 1,3,Goto(mainmenu,s,60 > > ; Tech support > exten => 2,1,Dial,SIP/3401|20 > exten => 2,2,Voicemail(3401) > exten => 2,2,Goto(mainmenu,s,1) > > ; 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) > > ; Parrot Test > exten => 4,1,Goto(205,1) > > ; Access VoiceMail > exten => 5,1,VoicemailMain > exten => 5,2,Goto(mainmenu,s,6) > > ; Play the weasels > exten => 6,1,Wait,3 > exten => 6,2,Playback(tt-somethingwrong) > exten => 6,3,Playback(tt-weasels) > exten => 6,4,Wait,2 > exten => 6,5,Goto(mainmenu,s,6) > > ; # to hangup > exten => #,1,Playback(vm-goodbye) > exten => #,2,Hangup > > exten => t,1,Goto(#,1) ; If they take too long, give up > exten => i,1,Playback(invalid) ; "That's not valid, try again" > > > Whilst writing this I've had a thought. What would happen if I had an > entry like this? > > ; transfer to regular extension # > exten => _3XXX,1,Dial(SIP/{EXTN}|20|T) > exten => _4XXX,1,Dial(SIP/{EXTN}|20|T)If you try it, it should work! I'm not using a wildcard in my extensions, I include the context that defines the extensions for the internal phones. ie one of my extensions is 3010. So, the IVR has an extension 3 to dial a specified group or extension 3010 for a specific extension. I'm using contexts and I build my incoming context by including various contexts that are required for the IVR. Walker -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************
Matthew Marlowe
2004-Mar-21 07:10 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
You say no one can dial your extensions? Well no one should be able to, your extensions aren't listed in the IVR.> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > Mark Phillips > Sent: Sunday, March 21, 2004 8:37 AM > To: Asterisk Users > Subject: [Asterisk-Users] If you know your party's extension > # please dial it now ... > > Hi all, > > I've built the usual "press one for sales, 2 for support" IVR > which works fine but I'm having difficulty in allowing > callers to type in whole extension numbers. > > My internal extn ranges are 3xxx and 4xxx. I have pasted the > IVR below (just in case someone wants one). The welcome > message states callers should type in the extension number > they want or choose from the options. > It seems though that one can only press one number before the > IVR moves to the next step. > > I'm starting to think that if my extn's are 3xxx and 4xxx I > can't have any menu choices beginning with 3 or 4. Would this > be correct? If so how does the received DTMF break out of the > IVR and get matched to the relevant dialplan entry? > > > [mainmenu] > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,3 > exten => s,4,ResponseTimeout,5 > ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo > test exten => s,5,Background(welcomemsg) exten => > s,6,Background(choosemsg) > > ; Sales > exten => 1,1,Dial,SIP/3400|20 > exten => 1,2,Voicemail(3400) > exten => 1,3,Goto(mainmenu,s,60 > > ; Tech support > exten => 2,1,Dial,SIP/3401|20 > exten => 2,2,Voicemail(3401) > exten => 2,2,Goto(mainmenu,s,1) > > ; 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) > > ; Parrot Test > exten => 4,1,Goto(205,1) > > ; Access VoiceMail > exten => 5,1,VoicemailMain > exten => 5,2,Goto(mainmenu,s,6) > > ; Play the weasels > exten => 6,1,Wait,3 > exten => 6,2,Playback(tt-somethingwrong) exten => > 6,3,Playback(tt-weasels) exten => 6,4,Wait,2 exten => > 6,5,Goto(mainmenu,s,6) > > ; # to hangup > exten => #,1,Playback(vm-goodbye) > exten => #,2,Hangup > > exten => t,1,Goto(#,1) ; If they take too long, give up > exten => i,1,Playback(invalid) ; "That's not valid, try again" > > > Whilst writing this I've had a thought. What would happen if > I had an entry like this? > > ; transfer to regular extension # > exten => _3XXX,1,Dial(SIP/{EXTN}|20|T) > exten => _4XXX,1,Dial(SIP/{EXTN}|20|T) > > Thanks > > -- > Mark Phillips, G7LTT/KC2ENI > Randolph, NJ > http://www.g7ltt.com/ > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 > >
Stig Andersson
2004-Mar-21 07:20 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
Asterisk doesn't accept keystrokes during playback, use BackGround to play while waiting for keystrokes. /Stig At 08:37 2004-03-21 -0500, you wrote:>Hi all, > >I've built the usual "press one for sales, 2 for support" IVR which works >fine but I'm having difficulty in allowing callers to type in whole >extension numbers. > >My internal extn ranges are 3xxx and 4xxx. I have pasted the IVR below >(just in case someone wants one). The welcome message states callers >should type in the extension number they want or choose from the options. >It seems though that one can only press one number before the IVR moves to >the next step. > >I'm starting to think that if my extn's are 3xxx and 4xxx I can't have any >menu choices beginning with 3 or 4. Would this be correct? If so how does >the received DTMF break out of the IVR and get matched to the relevant >dialplan entry? > > >[mainmenu] > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,3 > exten => s,4,ResponseTimeout,5 > ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test > exten => s,5,Background(welcomemsg) > exten => s,6,Background(choosemsg) > > ; Sales >exten => 1,1,Dial,SIP/3400|20 >exten => 1,2,Voicemail(3400) >exten => 1,3,Goto(mainmenu,s,60 > > ; Tech support >exten => 2,1,Dial,SIP/3401|20 >exten => 2,2,Voicemail(3401) >exten => 2,2,Goto(mainmenu,s,1) > > ; 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) > > ; Parrot Test > exten => 4,1,Goto(205,1) > > ; Access VoiceMail > exten => 5,1,VoicemailMain > exten => 5,2,Goto(mainmenu,s,6) > > ; Play the weasels > exten => 6,1,Wait,3 > exten => 6,2,Playback(tt-somethingwrong) > exten => 6,3,Playback(tt-weasels) > exten => 6,4,Wait,2 > exten => 6,5,Goto(mainmenu,s,6) > >; # to hangup > exten => #,1,Playback(vm-goodbye) > exten => #,2,Hangup > > exten => t,1,Goto(#,1) ; If they take too long, give up > exten => i,1,Playback(invalid) ; "That's not valid, try again" > > >Whilst writing this I've had a thought. What would happen if I had an >entry like this? > >; transfer to regular extension # >exten => _3XXX,1,Dial(SIP/{EXTN}|20|T) >exten => _4XXX,1,Dial(SIP/{EXTN}|20|T) > >Thanks > >-- >Mark Phillips, G7LTT/KC2ENI >Randolph, NJ >http://www.g7ltt.com/ >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@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 >
David Croft
2004-Mar-21 12:19 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
If Asterisk can't determine whether you want 3 or 3XXX, it will wait for DigitTimeout. So if someone dials 3 for echo test, it will take 3 seconds in your case before it jumps to that extension. David Mark Phillips wrote:> Hi all, > > I've built the usual "press one for sales, 2 for support" IVR which works > fine but I'm having difficulty in allowing callers to type in whole > extension numbers. > > My internal extn ranges are 3xxx and 4xxx. I have pasted the IVR below > (just in case someone wants one). The welcome message states callers > should type in the extension number they want or choose from the options. > It seems though that one can only press one number before the IVR moves to > the next step. > > I'm starting to think that if my extn's are 3xxx and 4xxx I can't have any > menu choices beginning with 3 or 4. Would this be correct? If so how does > the received DTMF break out of the IVR and get matched to the relevant > dialplan entry? > > > [mainmenu] > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,3 > exten => s,4,ResponseTimeout,5 > ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test > exten => s,5,Background(welcomemsg) > exten => s,6,Background(choosemsg) > > ; Sales > exten => 1,1,Dial,SIP/3400|20 > exten => 1,2,Voicemail(3400) > exten => 1,3,Goto(mainmenu,s,60 > > ; Tech support > exten => 2,1,Dial,SIP/3401|20 > exten => 2,2,Voicemail(3401) > exten => 2,2,Goto(mainmenu,s,1) > > ; 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) > > ; Parrot Test > exten => 4,1,Goto(205,1) > > ; Access VoiceMail > exten => 5,1,VoicemailMain > exten => 5,2,Goto(mainmenu,s,6) > > ; Play the weasels > exten => 6,1,Wait,3 > exten => 6,2,Playback(tt-somethingwrong) > exten => 6,3,Playback(tt-weasels) > exten => 6,4,Wait,2 > exten => 6,5,Goto(mainmenu,s,6) > > ; # to hangup > exten => #,1,Playback(vm-goodbye) > exten => #,2,Hangup > > exten => t,1,Goto(#,1) ; If they take too long, give up > exten => i,1,Playback(invalid) ; "That's not valid, try again" > > > Whilst writing this I've had a thought. What would happen if I had an > entry like this? > > ; transfer to regular extension # > exten => _3XXX,1,Dial(SIP/{EXTN}|20|T) > exten => _4XXX,1,Dial(SIP/{EXTN}|20|T) > > Thanks >
Rich Adamson
2004-Mar-21 14:18 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
> I've built the usual "press one for sales, 2 for support" IVR which works > fine but I'm having difficulty in allowing callers to type in whole > extension numbers. > > My internal extn ranges are 3xxx and 4xxx. I have pasted the IVR below > (just in case someone wants one). The welcome message states callers > should type in the extension number they want or choose from the options. > It seems though that one can only press one number before the IVR moves to > the next step. > > I'm starting to think that if my extn's are 3xxx and 4xxx I can't have any > menu choices beginning with 3 or 4. Would this be correct? If so how does > the received DTMF break out of the IVR and get matched to the relevant > dialplan entry? > > > [mainmenu] > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout,3 > exten => s,4,ResponseTimeout,5 > ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test > exten => s,5,Background(welcomemsg) > exten => s,6,Background(choosemsg) > > ; Sales > exten => 1,1,Dial,SIP/3400|20 > exten => 1,2,Voicemail(3400) > exten => 1,3,Goto(mainmenu,s,60 >Mark, Here's a partial copy of my ivr, and I too am using the 3xxx extensions. Notice I avoided use of option 3 in the ivr menues. [bus-ivr-main] exten => s,1,Wait,1 exten => s,2,Answer exten => s,3,DigitTimeout,5 exten => s,4,ResponseTimeout,20 exten => s,5,Background(npi-greeting) ; "Thanks for calling press 1 for" exten => 1,1,Goto(local-extns|3014|1) ; Sales exten => 2,1,Dial(${PHONE1}&${PHONE2},15) ; Technical Services exten => 2,2,Voicemail2(u3000) exten => 2,102,Voicemail2(b3000) exten => 2,103,Hangup exten => 8,1,Goto(npilist|s|1) ; Company directory list exten => 9,1,Goto(npitest|s|1) ; VoIP Testing Menu Rich
Matthew Marlowe
2004-Mar-21 14:50 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
You don't have to avoid using an option 3 when even if extensions are 3XXX> -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > Rich Adamson > Sent: Sunday, March 21, 2004 4:19 PM > To: Asterisk Users > Subject: Re: [Asterisk-Users] If you know your party's > extension # please dial it now ... > > > I've built the usual "press one for sales, 2 for support" IVR which > > works fine but I'm having difficulty in allowing callers to type in > > whole extension numbers. > > > > My internal extn ranges are 3xxx and 4xxx. I have pasted > the IVR below > > (just in case someone wants one). The welcome message > states callers > > should type in the extension number they want or choose > from the options. > > It seems though that one can only press one number before the IVR > > moves to the next step. > > > > I'm starting to think that if my extn's are 3xxx and 4xxx I > can't have > > any menu choices beginning with 3 or 4. Would this be > correct? If so > > how does the received DTMF break out of the IVR and get > matched to the > > relevant dialplan entry? > > > > > > [mainmenu] > > exten => s,1,Answer > > exten => s,2,SetMusicOnHold(default) > > exten => s,3,DigitTimeout,3 > > exten => s,4,ResponseTimeout,5 > > ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test > > exten => s,5,Background(welcomemsg) exten => > > s,6,Background(choosemsg) > > > > ; Sales > > exten => 1,1,Dial,SIP/3400|20 > > exten => 1,2,Voicemail(3400) > > exten => 1,3,Goto(mainmenu,s,60 > > > > Mark, > > Here's a partial copy of my ivr, and I too am using the 3xxx > extensions. > Notice I avoided use of option 3 in the ivr menues. > > [bus-ivr-main] > exten => s,1,Wait,1 > exten => s,2,Answer > exten => s,3,DigitTimeout,5 > exten => s,4,ResponseTimeout,20 > exten => s,5,Background(npi-greeting) ; "Thanks for calling > press 1 for" > > exten => 1,1,Goto(local-extns|3014|1) ; Sales exten => > 2,1,Dial(${PHONE1}&${PHONE2},15) ; Technical Services exten > => 2,2,Voicemail2(u3000) exten => 2,102,Voicemail2(b3000) > exten => 2,103,Hangup > exten => 8,1,Goto(npilist|s|1) ; Company directory list > exten => 9,1,Goto(npitest|s|1) ; VoIP Testing Menu > > Rich > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 > >
willy@yponeinc.com
2004-Mar-21 15:09 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
Please elaborate ... ----- Original Message Follows -----> You don't have to avoid using an option 3 when even if > extensions are 3XXX > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf > > Of Rich Adamson > > Sent: Sunday, March 21, 2004 4:19 PM > > To: Asterisk Users > > Subject: Re: [Asterisk-Users] If you know your party's > > extension # please dial it now ... > > > > > I've built the usual "press one for sales, 2 for > > > support" IVR which works fine but I'm having > > > difficulty in allowing callers to type in whole > > > extension numbers. > > > My internal extn ranges are 3xxx and 4xxx. I have > > pasted the IVR below > > > (just in case someone wants one). The welcome message > > states callers > > > should type in the extension number they want or > > choose from the options. > > > It seems though that one can only press one number > > > before the IVR moves to the next step. > > > > > > I'm starting to think that if my extn's are 3xxx and > > 4xxx I can't have > > > any menu choices beginning with 3 or 4. Would this be > > correct? If so > > > how does the received DTMF break out of the IVR and > > get matched to the > > > relevant dialplan entry? > > > > > > > > > [mainmenu] > > > exten => s,1,Answer > > > exten => s,2,SetMusicOnHold(default) > > > exten => s,3,DigitTimeout,3 > > > exten => s,4,ResponseTimeout,5 > > > ;SAI menu - 1 for tech support, 2 for voicemail, 3 > > > for echo test exten => s,5,Background(welcomemsg) > > > exten => s,6,Background(choosemsg) > > > > > > ; Sales > > > exten => 1,1,Dial,SIP/3400|20 > > > exten => 1,2,Voicemail(3400) > > > exten => 1,3,Goto(mainmenu,s,60 > > > > > > > Mark, > > > > Here's a partial copy of my ivr, and I too am using the > > 3xxx extensions. > > Notice I avoided use of option 3 in the ivr menues. > > > > [bus-ivr-main] > > exten => s,1,Wait,1 > > exten => s,2,Answer > > exten => s,3,DigitTimeout,5 > > exten => s,4,ResponseTimeout,20 > > exten => s,5,Background(npi-greeting) ; "Thanks for > > calling press 1 for" > > > > exten => 1,1,Goto(local-extns|3014|1) ; Sales exten => > > 2,1,Dial(${PHONE1}&${PHONE2},15) ; Technical Services > > exten => 2,2,Voicemail2(u3000) exten => 2,102 > > ,Voicemail2(b3000) exten => 2,103,Hangup > > exten => 8,1,Goto(npilist|s|1) ; Company > > directory list exten => 9,1,Goto(npitest|s|1) ; > > VoIP Testing Menu > > Rich > > > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@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 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersWilly Wouters ypOne Publishing
Matthew Marlowe
2004-Mar-21 16:47 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
Simply define your local extensions as well as your virtual extensions... exten 1,1,Play... exten 2,1,Play... exten 3,1,Play... exten 333,1,Play... When they press 1 the system will immediately Play, when they press 2 the system will immidiately play. When they press 3 the system will wait x amount of seconds for more input because there is the 333 extension, if no more numbers are pressed it will go to 3,1 if 333 is pressed it will play the approrpiate file. ________________________________ From: asterisk-users-admin@lists.digium.com on behalf of willy@yponeinc.com Sent: Sun 3/21/2004 5:09 PM To: Asterisk Users Subject: RE: [Asterisk-Users] If you know your party's extension # please dial it now ... Please elaborate ... ----- Original Message Follows -----> You don't have to avoid using an option 3 when even if > extensions are 3XXX > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf > > Of Rich Adamson > > Sent: Sunday, March 21, 2004 4:19 PM > > To: Asterisk Users > > Subject: Re: [Asterisk-Users] If you know your party's > > extension # please dial it now ... > > > > > I've built the usual "press one for sales, 2 for > > > support" IVR which works fine but I'm having > > > difficulty in allowing callers to type in whole > > > extension numbers. > > > My internal extn ranges are 3xxx and 4xxx. I have > > pasted the IVR below > > > (just in case someone wants one). The welcome message > > states callers > > > should type in the extension number they want or > > choose from the options. > > > It seems though that one can only press one number > > > before the IVR moves to the next step. > > > > > > I'm starting to think that if my extn's are 3xxx and > > 4xxx I can't have > > > any menu choices beginning with 3 or 4. Would this be > > correct? If so > > > how does the received DTMF break out of the IVR and > > get matched to the > > > relevant dialplan entry? > > > > > > > > > [mainmenu] > > > exten => s,1,Answer > > > exten => s,2,SetMusicOnHold(default) > > > exten => s,3,DigitTimeout,3 > > > exten => s,4,ResponseTimeout,5 > > > ;SAI menu - 1 for tech support, 2 for voicemail, 3 > > > for echo test exten => s,5,Background(welcomemsg) > > > exten => s,6,Background(choosemsg) > > > > > > ; Sales > > > exten => 1,1,Dial,SIP/3400|20 > > > exten => 1,2,Voicemail(3400) > > > exten => 1,3,Goto(mainmenu,s,60 > > > > > > > Mark, > > > > Here's a partial copy of my ivr, and I too am using the > > 3xxx extensions. > > Notice I avoided use of option 3 in the ivr menues. > > > > [bus-ivr-main] > > exten => s,1,Wait,1 > > exten => s,2,Answer > > exten => s,3,DigitTimeout,5 > > exten => s,4,ResponseTimeout,20 > > exten => s,5,Background(npi-greeting) ; "Thanks for > > calling press 1 for" > > > > exten => 1,1,Goto(local-extns|3014|1) ; Sales exten => > > 2,1,Dial(${PHONE1}&${PHONE2},15) ; Technical Services > > exten => 2,2,Voicemail2(u3000) exten => 2,102 > > ,Voicemail2(b3000) exten => 2,103,Hangup > > exten => 8,1,Goto(npilist|s|1) ; Company > > directory list exten => 9,1,Goto(npitest|s|1) ; > > VoIP Testing Menu > > Rich > > > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@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 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersWilly Wouters ypOne Publishing _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040321/fed86949/attachment.htm
AstGrp
2004-Mar-21 20:57 UTC
[Asterisk-Users] If you know your party's extension # please dial it now ...
If you have your IVR under context [mainmenu] and your extensions under context [default]. Then make sure you include context default under context mainmenu... Because your mainmenu context does not know about any other extensions if you don't. -gcc -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Mark Phillips Posted At: Sunday, March 21, 2004 8:37 AM Posted To: Asterisk User Group Conversation: [Asterisk-Users] If you know your party's extension # please dial it now ... Subject: [Asterisk-Users] If you know your party's extension # please dial it now ... Hi all, I've built the usual "press one for sales, 2 for support" IVR which works fine but I'm having difficulty in allowing callers to type in whole extension numbers. My internal extn ranges are 3xxx and 4xxx. I have pasted the IVR below (just in case someone wants one). The welcome message states callers should type in the extension number they want or choose from the options. It seems though that one can only press one number before the IVR moves to the next step. I'm starting to think that if my extn's are 3xxx and 4xxx I can't have any menu choices beginning with 3 or 4. Would this be correct? If so how does the received DTMF break out of the IVR and get matched to the relevant dialplan entry? [mainmenu] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,3 exten => s,4,ResponseTimeout,5 ;SAI menu - 1 for tech support, 2 for voicemail, 3 for echo test exten => s,5,Background(welcomemsg) exten => s,6,Background(choosemsg) ; Sales exten => 1,1,Dial,SIP/3400|20 exten => 1,2,Voicemail(3400) exten => 1,3,Goto(mainmenu,s,60 ; Tech support exten => 2,1,Dial,SIP/3401|20 exten => 2,2,Voicemail(3401) exten => 2,2,Goto(mainmenu,s,1) ; 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) ; Parrot Test exten => 4,1,Goto(205,1) ; Access VoiceMail exten => 5,1,VoicemailMain exten => 5,2,Goto(mainmenu,s,6) ; Play the weasels exten => 6,1,Wait,3 exten => 6,2,Playback(tt-somethingwrong) exten => 6,3,Playback(tt-weasels) exten => 6,4,Wait,2 exten => 6,5,Goto(mainmenu,s,6) ; # to hangup exten => #,1,Playback(vm-goodbye) exten => #,2,Hangup exten => t,1,Goto(#,1) ; If they take too long, give up exten => i,1,Playback(invalid) ; "That's not valid, try again" Whilst writing this I've had a thought. What would happen if I had an entry like this? ; transfer to regular extension # exten => _3XXX,1,Dial(SIP/{EXTN}|20|T) exten => _4XXX,1,Dial(SIP/{EXTN}|20|T) Thanks -- Mark Phillips, G7LTT/KC2ENI Randolph, NJ http://www.g7ltt.com/ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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