[Freeswitch-users] Where can I find the documentation for mod_xml_curl biding=directory api

Yosi Taguri yosi at taguri.com
Sat Sep 6 16:39:55 MSD 2014


Hi Cal,
First thank you very much for contributing!

My end goal is simple, to be able to authenticate user from credentials in
my database (Redis) and only that.
So in that respect mod_xml_curl known how to do many many things, I'm
looking for the directory binding.

So I think what would make it easier is simply listing some of the
endpoints that my web server is supposed to implement:
1. Which urls gets called and how (get, post).
2. When is each url gets called.
3. What parameters each call is expecting.
4. Sample responses for each call.





On Sat, Sep 6, 2014 at 2:15 PM, Cal Leeming [iops.io] <cal at iops.io> wrote:

> 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 at 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 at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> 
>>> 
>>>
>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> 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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> 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
>



-- 

Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com
<http://t.signauxtrois.com/link?url=http%3A%2F%2Fyaloapp.com%2F&ukey=agxzfnNpZ25hbHNjcnhyGAsSC1VzZXJQcm9maWxlGICAwIOM0uoIDA&k=c5aad0c6-c460-4cdc-fe8f-522ec00fa1ee>
| Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 |
Email: yosi at taguri.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140906/eb95276b/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list