I want to match specific contexts to menus. If users dial a number (example: 17034444444) then start with context big10-IVR If users dial a number (example: 15674442222) then start with context cleveland-IVR It is not working. I have played with the include statements and am close but no cigar. Here is a part of my config. Please send comments. Thank you [default] ;include => stdexten include => big10-IVR include => cleveland-IVR exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1) [big10-IVR] exten => s,1,Answer() exten => s,n,Background(dir-welcome) ;exten => s,n,WaitExten(1) ;exten => s,n,Background(astcc-please-enter-your) ;exten => s,n,Background(zip-code) ;exten => s,n,Wait(7) exten => s,n,Background(washington-dc) ;exten => s,n,Authenticate(2222,a) ;exten => s,n,Background(pin-number-accepted) exten => s,n,Playback(queue-thankyou) exten => s,n,Background(ginger110109) [cleveland-IVR] exten => s,1,Answer() exten => s,n,Background(dir-welcome) exten => s,n,WaitExten(1) exten => s,n,Background(astcc-please-enter-your) exten => s,n,Background(zip-code) exten => s,n,Wait(7) exten => s,n,Background(washington-dc) exten => s,n,Authenticate(2222,a) exten => s,n,Background(pin-number-accepted) exten => s,n,Playback(queue-thankyou) exten => s,n,Background(ginger110109) exten => s,n,Hangup() -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091101/82673477/attachment.htm
Try removing the include statements from the default context and see what happens. Also double check to make sure calls are sent to the default context. Peter On Nov 2, 2009, at 3:40 AM, Thomas Person wrote:> I want to match specific contexts to menus. > If users dial a number (example: 17034444444) then start with > context big10-IVR > If users dial a number (example: 15674442222) then start with > context cleveland-IVR > It is not working. I have played with the include statements and am > close but no cigar. > > Here is a part of my config. Please send comments. Thank you > > > [default] > ;include => stdexten > include => big10-IVR > include => cleveland-IVR > exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) > exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1) > > > [big10-IVR] > exten => s,1,Answer() > exten => s,n,Background(dir-welcome) > ;exten => s,n,WaitExten(1) > ;exten => s,n,Background(astcc-please-enter-your) > ;exten => s,n,Background(zip-code) > ;exten => s,n,Wait(7) > exten => s,n,Background(washington-dc) > ;exten => s,n,Authenticate(2222,a) > ;exten => s,n,Background(pin-number-accepted) > exten => s,n,Playback(queue-thankyou) > exten => s,n,Background(ginger110109) > > [cleveland-IVR] > exten => s,1,Answer() > exten => s,n,Background(dir-welcome) > exten => s,n,WaitExten(1) > exten => s,n,Background(astcc-please-enter-your) > exten => s,n,Background(zip-code) > exten => s,n,Wait(7) > exten => s,n,Background(washington-dc) > exten => s,n,Authenticate(2222,a) > exten => s,n,Background(pin-number-accepted) > exten => s,n,Playback(queue-thankyou) > exten => s,n,Background(ginger110109) > exten => s,n,Hangup() > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
How do I check On 11/1/09, Peter <peter.johansson at omnitor.se> wrote:> Try removing the include statements from the default context and see > what happens. Also double check to make sure calls are sent to the > default context. > > Peter > > On Nov 2, 2009, at 3:40 AM, Thomas Person wrote: > >> I want to match specific contexts to menus. >> If users dial a number (example: 17034444444) then start with >> context big10-IVR >> If users dial a number (example: 15674442222) then start with >> context cleveland-IVR >> It is not working. I have played with the include statements and am >> close but no cigar. >> >> Here is a part of my config. Please send comments. Thank you >> >> >> [default] >> ;include => stdexten >> include => big10-IVR >> include => cleveland-IVR >> exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) >> exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1) >> >> >> [big10-IVR] >> exten => s,1,Answer() >> exten => s,n,Background(dir-welcome) >> ;exten => s,n,WaitExten(1) >> ;exten => s,n,Background(astcc-please-enter-your) >> ;exten => s,n,Background(zip-code) >> ;exten => s,n,Wait(7) >> exten => s,n,Background(washington-dc) >> ;exten => s,n,Authenticate(2222,a) >> ;exten => s,n,Background(pin-number-accepted) >> exten => s,n,Playback(queue-thankyou) >> exten => s,n,Background(ginger110109) >> >> [cleveland-IVR] >> exten => s,1,Answer() >> exten => s,n,Background(dir-welcome) >> exten => s,n,WaitExten(1) >> exten => s,n,Background(astcc-please-enter-your) >> exten => s,n,Background(zip-code) >> exten => s,n,Wait(7) >> exten => s,n,Background(washington-dc) >> exten => s,n,Authenticate(2222,a) >> exten => s,n,Background(pin-number-accepted) >> exten => s,n,Playback(queue-thankyou) >> exten => s,n,Background(ginger110109) >> exten => s,n,Hangup() >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Check the channel driver configuration file, or fire up CLI with max verbosity and monitor its output while calling the dialplan extensions. CLI is like a good friend that tells you whats going on and if there are any errors in you configuration. Peter On Nov 2, 2009, at 4:39 AM, Thomas Perron wrote:> How do I check > > On 11/1/09, Peter <peter.johansson at omnitor.se> wrote: >> Try removing the include statements from the default context and see >> what happens. Also double check to make sure calls are sent to the >> default context. >> >> Peter >> >> On Nov 2, 2009, at 3:40 AM, Thomas Person wrote: >> >>> I want to match specific contexts to menus. >>> If users dial a number (example: 17034444444) then start with >>> context big10-IVR >>> If users dial a number (example: 15674442222) then start with >>> context cleveland-IVR >>> It is not working. I have played with the include statements and am >>> close but no cigar. >>> >>> Here is a part of my config. Please send comments. Thank you >>> >>> >>> [default] >>> ;include => stdexten >>> include => big10-IVR >>> include => cleveland-IVR >>> exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) >>> exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1) >>> >>> >>> [big10-IVR] >>> exten => s,1,Answer() >>> exten => s,n,Background(dir-welcome) >>> ;exten => s,n,WaitExten(1) >>> ;exten => s,n,Background(astcc-please-enter-your) >>> ;exten => s,n,Background(zip-code) >>> ;exten => s,n,Wait(7) >>> exten => s,n,Background(washington-dc) >>> ;exten => s,n,Authenticate(2222,a) >>> ;exten => s,n,Background(pin-number-accepted) >>> exten => s,n,Playback(queue-thankyou) >>> exten => s,n,Background(ginger110109) >>> >>> [cleveland-IVR] >>> exten => s,1,Answer() >>> exten => s,n,Background(dir-welcome) >>> exten => s,n,WaitExten(1) >>> exten => s,n,Background(astcc-please-enter-your) >>> exten => s,n,Background(zip-code) >>> exten => s,n,Wait(7) >>> exten => s,n,Background(washington-dc) >>> exten => s,n,Authenticate(2222,a) >>> exten => s,n,Background(pin-number-accepted) >>> exten => s,n,Playback(queue-thankyou) >>> exten => s,n,Background(ginger110109) >>> exten => s,n,Hangup() >>> >>> _______________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com >>> -- >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> >> _______________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
ok thanks On Sun, Nov 1, 2009 at 11:16 PM, Peter <peter.johansson at omnitor.se> wrote:> Check the channel driver configuration file, or fire up CLI with max > verbosity and monitor its output while calling the dialplan > extensions. CLI is like a good friend that tells you whats going on > and if there are any errors in you configuration. > > Peter > > On Nov 2, 2009, at 4:39 AM, Thomas Perron wrote: > > > How do I check > > > > On 11/1/09, Peter <peter.johansson at omnitor.se> wrote: > >> Try removing the include statements from the default context and see > >> what happens. Also double check to make sure calls are sent to the > >> default context. > >> > >> Peter > >> > >> On Nov 2, 2009, at 3:40 AM, Thomas Person wrote: > >> > >>> I want to match specific contexts to menus. > >>> If users dial a number (example: 17034444444) then start with > >>> context big10-IVR > >>> If users dial a number (example: 15674442222) then start with > >>> context cleveland-IVR > >>> It is not working. I have played with the include statements and am > >>> close but no cigar. > >>> > >>> Here is a part of my config. Please send comments. Thank you > >>> > >>> > >>> [default] > >>> ;include => stdexten > >>> include => big10-IVR > >>> include => cleveland-IVR > >>> exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) > >>> exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1) > >>> > >>> > >>> [big10-IVR] > >>> exten => s,1,Answer() > >>> exten => s,n,Background(dir-welcome) > >>> ;exten => s,n,WaitExten(1) > >>> ;exten => s,n,Background(astcc-please-enter-your) > >>> ;exten => s,n,Background(zip-code) > >>> ;exten => s,n,Wait(7) > >>> exten => s,n,Background(washington-dc) > >>> ;exten => s,n,Authenticate(2222,a) > >>> ;exten => s,n,Background(pin-number-accepted) > >>> exten => s,n,Playback(queue-thankyou) > >>> exten => s,n,Background(ginger110109) > >>> > >>> [cleveland-IVR] > >>> exten => s,1,Answer() > >>> exten => s,n,Background(dir-welcome) > >>> exten => s,n,WaitExten(1) > >>> exten => s,n,Background(astcc-please-enter-your) > >>> exten => s,n,Background(zip-code) > >>> exten => s,n,Wait(7) > >>> exten => s,n,Background(washington-dc) > >>> exten => s,n,Authenticate(2222,a) > >>> exten => s,n,Background(pin-number-accepted) > >>> exten => s,n,Playback(queue-thankyou) > >>> exten => s,n,Background(ginger110109) > >>> exten => s,n,Hangup() > >>> > >>> _______________________________________________ > >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com > >>> -- > >>> > >>> asterisk-users mailing list > >>> To UNSUBSCRIBE or update options visit: > >>> http://lists.digium.com/mailman/listinfo/asterisk-users > >> > >> > >> _______________________________________________ > >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > >> > >> asterisk-users mailing list > >> To UNSUBSCRIBE or update options visit: > >> http://lists.digium.com/mailman/listinfo/asterisk-users > >> > > > > _______________________________________________ > > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > > > asterisk-users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > 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/20091101/8ada1eb9/attachment-0001.htm