Woof!

On Sun, 11 Oct 2009 17:31:30 -0400, Jim Canfield <[email protected]>  
wrote:

> I'm curious what needs to be done in order to create an extension in
> Freeswitch and make it available via sipX.  Is it as simple as
> creating an extension in the sipX_context.xml file and point it to the
> Freeswitch application I wish to use? I'm assuming it's not that
> simple, but I don't see why it couldn't be much more complex than
> having a "media server" option in the dial plan rules.

If you plan to use the existing internal FreeSWITCH, then you need to  
modify the /etc/sipxpbx/freeswitch/default_context.xml.vm file with your  
changes.  sipXconfig uses that velocity macro to generate  
sipX_context.xml.  If you just change sipX_context.xml directly it would  
get overwritten the next time sipXconfig changes the FreeSWITCH  
configuration.  For an external FreeSWITCH server, this step isn't  
required.

Then the next step is to get a call to it.  I usually use an external  
aliases file, so sipXconfig will add what you want to the aliases list.   
This is done as shown in the Wiki here  
http://sipx-wiki.calivia.com/index.php/Defining_SIP_URI_Mapping_Rules#Manual_Aliases

JIRA issues you may wish to vote for that might make this easier:
    XX-5384 - more flexible custom rules
    XX-5300 - Store the names of manual "external addins" files in the  
database

--Woof!
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to