How can we respond with specific error code to xml_curl request in case we didn't find user or it was denied by ACL? It would be nice to have ability to control what FS will respond based on xml_curl result.

2011/9/9 Joe Flemmings <joe.jflemmings@gmail.com>
The request is never sent to mod_xml_curl. This was the first thing i checked.


On Thu, Sep 8, 2011 at 4:37 PM, Michael Collins <msc@freeswitch.org> wrote:
Technically you can do the IP auth right in your script if you know what IP range(s) to add. Look at the request sent to your server from mod_xml_curl and check the sip_from_host value against your list.

-MC

On Tue, Sep 6, 2011 at 10:20 PM, Joe Flemmings <joe.jflemmings@gmail.com> wrote:
I tried that but it seams the acl has to be already defined in acl.conf.xml


On Tue, Sep 6, 2011 at 10:04 PM, Brad Mina <brad@tech21.com> wrote:
I believe you can add an acl param in a user's XML. 

Sent from my iPhone

On Sep 6, 2011, at 8:21 PM, Joe Flemmings <joe.jflemmings@gmail.com> wrote:


I use xml_curl to authenticate sip devices and was wondering if there is a way to do IP authentication without having to edit and reaload acl.conf.xml



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




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




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




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




--
Best regards,

Dmitry Sytchev,
IT Engineer