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@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@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ 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