Send FreeSWITCH-users mailing list submissions to
freeswitch-users@lists.freeswitch.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
freeswitch-users-request@lists.freeswitch.org
You can reach the person managing the list at
freeswitch-users-owner@lists.freeswitch.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."
Today's Topics:
1. Re: Where can I find the documentation for mod_xml_curl
biding=directory api (Michael Collins)
2. Re: Where can I find the documentation for mod_xml_curl
biding=directory api (Cal Leeming [iops.io])
3. Re: Where can I find the documentation for mod_xml_curl
biding=directory api (Yosi Taguri)
---------- Forwarded message ----------
From: Michael Collins <msc@freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Fri, 5 Sep 2014 15:08:10 -0700
Subject: Re: [Freeswitch-users] Where can I find the documentation for mod_xml_curl biding=directory apiI'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 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.-MCOn 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_curlI'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
---------- Forwarded message ----------
From: "Cal Leeming [iops.io]" <cal@iops.io>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Sat, 6 Sep 2014 12:15:02 +0100
Subject: Re: [Freeswitch-users] Where can I find the documentation for mod_xml_curl biding=directory apiI'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).CalOn 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 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.-MCOn 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_curlI'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
---------- Forwarded message ----------
From: Yosi Taguri <yosi@taguri.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Date: Sat, 6 Sep 2014 15:39:55 +0300
Subject: Re: [Freeswitch-users] Where can I find the documentation for mod_xml_curl biding=directory apiHi 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@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).CalOn 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 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.-MCOn 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_curlI'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
_________________________________________________________________________
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--Yosi Taguri | Founder & CTO | Yalo | http://yaloapp.com | Mobile: +972-54-4816020 | Google Voice US Mobile: +1 (415) 935-1126 | Email: yosi@taguri.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