[Freeswitch-users] Sophia authentication without using editing acl.conf.xml

Dmitry Sytchev kbdfck at gmail.com
Fri Sep 9 15:16:19 MSD 2011


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 at 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 at 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 at 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 at 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 at 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 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
>>>>
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>
>>>
>>> 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
>>>
>>>
>>
>>
>> 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
>>
>>
>
>
> 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
>
>


-- 
Best regards,

Dmitry Sytchev,
IT Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110909/f105d5e0/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list