mod_xml_curl - Multitenant dialplan
Hi All, I would like to use mod_xml_curl in Multi-tenant environment. Also like to use dynamic and static files for dialplan. Here is the scenario *compa**.mydomain.com* Dial plan : *Dynamic *+ Staic File : * compa.mydomain.com.xml* *compb**.mydomain.com * Dial plan : *Dynamic *+ Staic File : * compb.mydomain.com.xml* -- Also find the following in wiki but that for single environment. <param name="dialplan" value="XML,XML:/path/to/custom/dialplan.xml"/> I could not find the correct way to implement this in Multi-tenant environment. Any help appreciated. Thanks Lloyd
AFAIK you can't. Either use a per-tenant context in the same static XML file or serve it dynamically via HTTP. -Steve On 2 November 2010 15:57, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Hi All, I would like to use mod_xml_curl in Multi-tenant environment. Also like to use dynamic and static files for dialplan. Here is the scenario compa.mydomain.com Dial plan : Dynamic + Staic File : compa.mydomain.com.xml compb.mydomain.com Dial plan : Dynamic + Staic File : compb.mydomain.com.xml -- Also find the following in wiki but that for single environment. <param name="dialplan" value="XML,XML:/path/to/custom/dialplan.xml"/> I could not find the correct way to implement this in Multi-tenant environment. Any help appreciated. Thanks Lloyd _______________________________________________ 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
If you used xml_curl you would NO LONGER have files on disk for anything you would generate them on the fly as they are requested. /b On Nov 2, 2010, at 11:09 AM, Steven Ayre wrote:
AFAIK you can't. Either use a per-tenant context in the same static XML file or serve it dynamically via HTTP.
-Steve
Steve ,Brian Thanks for the reply. Brain, Yes I see that. Large part of the[95%] Dial plan always static only few dial plan entires dynamic. So I need to make all part of my dial plan dynamic. Am I correct? Is there any other way to make this work . Thanks Lloyd On Tue, Nov 2, 2010 at 12:50 PM, Brian West <brian@freeswitch.org> wrote:
If you used xml_curl you would NO LONGER have files on disk for anything you would generate them on the fly as they are requested.
/b
On Nov 2, 2010, at 11:09 AM, Steven Ayre wrote:
AFAIK you can't. Either use a per-tenant context in the same static XML file or serve it dynamically via HTTP.
-Steve
_______________________________________________ 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
Hi, you can make static or dynamic dialplan, when FS searchs a dialplan, with mod_xml_curl loaded it searchs using GET request. You can make some logic to find the dialplan and to response with XML dialplan to FS. You can use XML files too whith mod_xml_curl (http://wiki.freeswitch.org/wiki/Mod_xml_curl --> Searching for data). Diego Toro http://voipensando.blogspot.com/ --- On Tue, 11/2/10, Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote: From: Aloysius Lloyd <lloyd.aloysius@gmail.com> Subject: Re: [Freeswitch-users] mod_xml_curl - Multitenant dialplan To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Date: Tuesday, November 2, 2010, 12:04 PM Steve ,Brian Thanks for the reply. Brain, Yes I see that. Large part of the[95%] Dial plan always static only few dial plan entires dynamic. So I need to make all part of my dial plan dynamic. Am I correct? Is there any other way to make this work . ThanksLloyd On Tue, Nov 2, 2010 at 12:50 PM, Brian West <brian@freeswitch.org> wrote: If you used xml_curl you would NO LONGER have files on disk for anything you would generate them on the fly as they are requested. /b On Nov 2, 2010, at 11:09 AM, Steven Ayre wrote:
AFAIK you can't. Either use a per-tenant context in the same static
XML file or serve it dynamically via HTTP.
-Steve
_______________________________________________ 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 -----Inline Attachment Follows----- _______________________________________________ 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
participants (4)
-
Aloysius Lloyd
-
Brian West
-
Diego Toro
-
Steven Ayre