No subject


Sun Jul 19 19:54:31 CDT 2009


one under my default context at extention.conf.

And what is [pbx_config]?

Thanks

Eyal

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Friday, June 25, 2010 4:05 PM
To: asterisk-users at 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 <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

-- 
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list