Eyal Goltzman
2010-Jun-25 11:25 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100625/2318c903/attachment.htm
Geraint Lee
2010-Jun-25 11:33 UTC
[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 <egoltzman at gmail.com> 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100625/3104d05d/attachment.htm
Doug Lytle
2010-Jun-25 11:34 UTC
[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."
Paul Belanger
2010-Jun-25 11:45 UTC
[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 <egoltzman at gmail.com> wrote:> How can I trace\debug my dialplan? >*CLI> dialplan show 100 at context -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
Tzafrir Cohen
2010-Jun-25 13:05 UTC
[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 <context> or: dialplan show <exten>@<context> 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 <exten>@<context>' 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 100 at local would show the actual (equivalent of) exten => 100,1,Dial(SIP/phone1) -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Gilles
2010-Jun-26 23:02 UTC
[asterisk-users] Where can I find a minimal set of empty configuration files (SIP only)?
On Sat, 26 Jun 2010 21:09:54 +0300, "Eyal Goltzman" <egoltzman at gmail.com> wrote:>After installing and learning Asterisk I found myself with a need for a >minimal set of empty configuration files with only the "must have" stuff in >order to setup a SIP only machine, is there a place to find it?The experts might chime in, but I would say: /etc/asterisk/asterisk.conf /etc/asterisk/sip.conf /etc/asterisk/extensions.conf /etc/asterisk/codecs.conf /etc/asterisk/rpt.conf If using a PCI card /etc/dahdi/*