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: [email protected]
[mailto:[email protected]] On Behalf Of Tzafrir Cohen
Sent: Friday, June 25, 2010 4:05 PM
To: [email protected]
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 1...@local would show the actual (equivalent of)
exten => 100,1,Dial(SIP/phone1)
--
Tzafrir Cohen
icq#16849755 jabber:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/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