As I understand this thread, you want two different contexts based on the number you dial. If you dial 1703... the big10 context should be executed. If 1567... then Cleveland is executed. Is this correct? If so Then this is what the two lines in [default] should read: > exten => _1703.,1,Goto(big10-IVR,s,1) > exten => _1567.,1,Goto(cleveland-IVR,s,1)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Samuel Nair Sent: Monday, November 02, 2009 12:08 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] IVR Try running your asterisk service with the -vvvc option or connect to it via the -r option, and then try making a call that would cause it to land in the default context, you will see the way asterisk traverses the dial plan, this will give you good debug info. sam!! Thomas Perron wrote: > Hi Juan, > I have this: > > [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) > > You recommend I have this: > > [default] > exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) > exten => _1567XXXXXXX,1,Goto(cleveland-IVR,s,1) > > I tried this and it does not seem to work. > Other thoughts? > Where located please? > > > > 2009/11/1 "Juan E. RodrÃguez" <[email protected] > <mailto:[email protected]>> > > As I see here, you do not have to include the big10 context inside > the default context, as you have an extension defined to reach > that context and its extention is start extension. > If the cleveland-IVR is based on the start extension too, the same > applies. > > Besides that, it would work...(maybe not the way you expect... :-) ) > > Regards, > Juan > > Thomas Perron wrote: >> Is this going to work: >> >> [default] >> include => stdexten >> include => big10-IVR >> include => cleveland-IVR >> exten => _17035745353,1,Goto(big10-IVR,s,1) >> exten => _15672528431,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) >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> -- 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 _______________________________________________ -- 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
