I'm also happy to answer any questions about mod_xml_curl or take suggestions on how to improve the documentation. I re-wrote those docs a year or two ago, but reading back over them now, they are not as clear as they should be. The difficulty is not getting mod_xml_curl configured, it's understanding how to properly interpret the result. I've done my best to list which variables to expect in which scenarios, but ultimately it depends on your use case. For example, things get very tricky when you start doing transfers, you have to inspect different variables for your values depending on the context in which it's being called. And it gets even harder when you go into multi-tenancy. If you have any specific questions about this, feel free to ask. My best advice would be to unit test the crap out of it, and generate a bunch of test traffic by using something like [1]. I spent several months writing an API parser for this, and I still wasn't happy with the end result (it's on my todo to re-write this and public release). Cal [1] http://iops.io/blog/better-approach-multi-tenant-sip-testing-part-1/ On Fri, Sep 5, 2014 at 11:08 PM, Michael Collins <msc@freeswitch.org> wrote:
I'm not sure it's that complicated. FWIW, in the FreeSWITCH 1.2 book there is a good explanation starting on page 220. The wiki page you reference looks like it's still a work in progress so I would check the old wiki mod_xml_curl page <https://wiki.freeswitch.org/wiki/Mod_xml_curl#Section:_directory> for possible other information. However, as long as the request has enough information for your server to act upon and respond with the appropriate XML then you're good. If you still feel like there's something lacking for documentation then perhaps you could pose a very specific question here whose answer you didn't find on the wiki.
-MC
On Fri, Sep 5, 2014 at 4:23 AM, Yosi Taguri <yosi@taguri.com> wrote:
I want to implement the directory binding using a web service like documented in : https://confluence.freeswitch.org/display/FREESWITCH/mod_xml_curl
I'm missing the api documentation that is expected to be implemented by the webservice. On the web I found some old samples but none of them contained the details for the api.
Did anyone implement this on their system and can share the api documentation they found?
Thanks,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
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