[Freeswitch-users] XML curl and multiple extension in dialplan

paul gore paul.gore.j at gmail.com
Sun Mar 7 14:13:20 PST 2010

Thanks fro the input.
I thought about such approach, the only problem I see is there that
I essentially would have to duplicate FS dial plan parsing functionality, so
my question basically is there a way to avoid that?
I have seen a Ruby dial plan example on XML curl wiki page which actually
seem to generate response with multiple extensions, but unfortunately FS
cannot read such response.

On Sun, Mar 7, 2010 at 3:18 PM, Nazim Agabekov <nazim.agabekov at gmail.com>wrote:

>  Hello Paul
> I also use mod_xml_curl for a dialplan. I've solved this issue by
> generating the XML extension dynamically.
> My fastcgi daemon checks the input variables like caller id, originator,
> e.t.c, makes routing decision
> and dynamically generates only one XML extension.
> So, there is no  real need for creating complex dialplan on mod_xml_curl
> output.
> Nazim
> On 03/07/2010 11:03 PM, paul gore wrote:
> Greetings,
> We use XML curl to fetch our dial plan extensions from a database. As per
> FS wiki we can only return one XML extension upon FS request.
> Now we need to return a set of extensions with same number condition and
> context but with different second condition so that FS can pick up the right
> one.
> Is it possible at all? And if yes how response XML with multiple extensions
> should look like?
>  Thanks a lot.
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100307/571cb8c7/attachment-0002.html 

More information about the FreeSWITCH-users mailing list