When I create an xml file in conf/dialplan/default, I assume that it’s ‘inheriting’ its context, right?

 

If that’s so, do I use this structure, for example conf/dialplan/default/00_MyExtension.xml:

 

<include>

   <extension name=”Local_Extension”>

   …

   </extension>

</include>

 

Thanks, Lars

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Wednesday, May 27, 2009 11:56 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Questions on build 13441

 

 

On Wed, May 27, 2009 at 11:28 AM, Lars Zeb <larclap@yahoo.com> wrote:

Michael, thanks for fixing the links.

 

And what about your advice on defining an extension that pertains all internal extensions (1000-1019) which I have currently put in conf/dialplan/default.xml? Is there an alternative file I should be putting this into?

If you need to change the default local_extensions dp entry then there's not a whole lot of options. You could manually delete (or carefully comment out) all of the default stuff and then create your own custom version of that extension and place it in conf/dialplan/default/00_MyExtension.xml or something like that...

The reason I say carefully comment out is that you cannot nest comments in XML.

-MC