On Sun, Dec 13, Otis wrote:
> Sorry
> 
> I posted this earlier but did not do the due diligence and sent it with 
> so much typo them meaning does not come out:
> 
> In a nutshell I would like to know :
> 
>    1. How FS would know which dialplan to use for an extension with user
>       context other than default.

It just uses the context tag which you include extensions in side it.

  <context name="public">
    <extension name="transfer_to_default">
      <condition>
        <action application="transfer" data="${destination_number} XML 
default"/>
      </condition>
    </extension>
  </context>

>    2. If a file file has to be created does the name matter

Doesn't matter.  The include statements pull the files in.  Wrap the stuff in 
the included file in <include></include> tags.

>    3. Where should that file be located.

Anywhere!  It easiest to set up includes like

    <X-PRE-PROCESS cmd="include" data="public/*.xml"/>

Now you can put all kinds of files in the public dir and they will get included 
when the preprocess runs.  The preprocess runs at start up so you need to 
restart IIRC.

HTH
--FC

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to