Re: [asterisk-users] Is there a default dial plan that is not in extention.conf?
On Fri, Jun 25, 2010 at 10:19:01PM +0300, Eyal Goltzman wrote: > Thank you all, > > This is what I see after CLI> dialplan show 1...@default : > > '100' => hint: SIP/100&IAX2/100 > [pbx_config] > 1. Dial(${HINT}) > [pbx_config] > '_1XX' => 1. Playback(digits/4) > [pbx_config] > > >From where come the 2 first lines?? I only have the third one as the only > one under my default context at extention.conf. > > And what is [pbx_config]? extentions.conf (technically: read by the module pbx_config.so). -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is there a default dial plan that is not in extention.conf?
Thank you all, This is what I see after CLI> dialplan show 1...@default : '100' => hint: SIP/100&IAX2/100 [pbx_config] 1. Dial(${HINT}) [pbx_config] '_1XX' => 1. Playback(digits/4) [pbx_config] >From where come the 2 first lines?? I only have the third one as the only one under my default context at extention.conf. And what is [pbx_config]? Thanks Eyal -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: Friday, June 25, 2010 4:05 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Is there a default dial plan that is not in extention.conf? On Fri, Jun 25, 2010 at 02:25:38PM +0300, Eyal Goltzman wrote: > Hi, > > > > I have a trivial peace of dialplan for exten 100. I try to change it to _1XX > and the asterisk act according to a different (Default??) dial plan and not > the one I want? Is that possible? Where is the other dialplan sits? In my > extention.conf I can't see something that look like what asterisk is > dialing. > > How can I trace\debug my dialplan? To see where it comes from, run in the Asterisk CLI: dialplan show or: dialplan show @ Here is a partial output from 'dialplan show' here, that shows all of them (but is normally overly long) [ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ] 's' =>1. NoOp() [app_queue] [ Context 'parkedcalls' created by 'features' ] '700' => 1. Park() [features] [ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ] 's' =>1. NoOp() [app_dial] [ Context 'from-pstn' created by 'pbx_config' ] '_X.' => 1. Answer() [pbx_config] 2. Playback(demo-instruct)[pbx_config] 3. Hangup() [pbx_config] [ Context 'ael-dundi-e164' created by 'pbx_ael' ] 's' =>1. MSet(LOCAL(exten)=${ARG1}) [pbx_ael] 2. Goto(${exten},1) [pbx_ael] 3. Return() [pbx_ael] 'pbx_config' is dialplan that was generated from your extensions.conf. 'pbx_ael' is dialplan that was generated from extensions.ael. Various other modules include their own minor dialplan snippets. 'dialplan show @' also resolves various 'include=>' directives. If you had: [local] include => phones exten => 120,1,Dial(SIP/trunk/123456) [phones] exten => 100,1,Dial(SIP/phone1) the 'dialplan show local' would show the equivalent of include => phones exten => 120,1,Dial(SIP/trunk/123456) whereas 'dialplan show 1...@local would show the actual (equivalent of) exten => 100,1,Dial(SIP/phone1) -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.830 / Virus Database: 271.1.1/2961 - Release Date: 06/24/10 21:35:00 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is there a default dial plan that is not in extention.conf?
On Fri, Jun 25, 2010 at 02:25:38PM +0300, Eyal Goltzman wrote: > Hi, > > > > I have a trivial peace of dialplan for exten 100. I try to change it to _1XX > and the asterisk act according to a different (Default??) dial plan and not > the one I want? Is that possible? Where is the other dialplan sits? In my > extention.conf I can't see something that look like what asterisk is > dialing. > > How can I trace\debug my dialplan? To see where it comes from, run in the Asterisk CLI: dialplan show or: dialplan show @ Here is a partial output from 'dialplan show' here, that shows all of them (but is normally overly long) [ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ] 's' =>1. NoOp() [app_queue] [ Context 'parkedcalls' created by 'features' ] '700' => 1. Park() [features] [ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ] 's' =>1. NoOp() [app_dial] [ Context 'from-pstn' created by 'pbx_config' ] '_X.' => 1. Answer() [pbx_config] 2. Playback(demo-instruct)[pbx_config] 3. Hangup() [pbx_config] [ Context 'ael-dundi-e164' created by 'pbx_ael' ] 's' =>1. MSet(LOCAL(exten)=${ARG1}) [pbx_ael] 2. Goto(${exten},1) [pbx_ael] 3. Return() [pbx_ael] 'pbx_config' is dialplan that was generated from your extensions.conf. 'pbx_ael' is dialplan that was generated from extensions.ael. Various other modules include their own minor dialplan snippets. 'dialplan show @' also resolves various 'include=>' directives. If you had: [local] include => phones exten => 120,1,Dial(SIP/trunk/123456) [phones] exten => 100,1,Dial(SIP/phone1) the 'dialplan show local' would show the equivalent of include => phones exten => 120,1,Dial(SIP/trunk/123456) whereas 'dialplan show 1...@local would show the actual (equivalent of) exten => 100,1,Dial(SIP/phone1) -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is there a default dial plan that is not in extention.conf?
On Fri, Jun 25, 2010 at 7:25 AM, Eyal Goltzman wrote: > How can I trace\debug my dialplan? > *CLI> dialplan show 1...@context -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belan...@polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is there a default dial plan that is not in extention.conf?
Eyal Goltzman wrote: > > Hi, > > I have a trivial peace of dialplan for exten 100. I try to change it > to _1XX and the asterisk act according to a different (Default??) dial > plan and not the one I want? Is that > Does dialplan show output more then expected? You can have more then 1 file linked for your dialplan. Using the #include statement. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Is there a default dial plan that is not in extention.conf?
try looking in extensions.ael On 25 June 2010 12:25, Eyal Goltzman wrote: > Hi, > > > > I have a trivial peace of dialplan for exten 100. I try to change it to > _1XX and the asterisk act according to a different (Default??) dial plan and > not the one I want? Is that possible? Where is the other dialplan sits? In > my extention.conf I can't see something that look like what asterisk is > dialing. > > How can I trace\debug my dialplan? > > > > Thanks, > > > > Eyal > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Is there a default dial plan that is not in extention.conf?
Hi, I have a trivial peace of dialplan for exten 100. I try to change it to _1XX and the asterisk act according to a different (Default??) dial plan and not the one I want? Is that possible? Where is the other dialplan sits? In my extention.conf I can't see something that look like what asterisk is dialing. How can I trace\debug my dialplan? Thanks, Eyal -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users