Thank You,<br><br>Did not know you can disable ACL, will try this.<br><br><div class="gmail_quote">On Mon, Sep 19, 2011 at 8:13 AM, Kristian Kielhofner <span dir="ltr"><<a href="mailto:kris@kriskinc.com">kris@kriskinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Disable the ACL on the SIP profile and:<br>
<br>
1) Do IP checking using conditions in the dialplan and use respond to<br>
require auth/reject calls when you need it. This will still require a<br>
reloadxml when you make changes.<br>
2) Use xml_curl like msc said and look at sip_from_host and use<br>
respond (and xml_curl) to reject/auth calls when you need it. This<br>
will not require any reloading when you auth calls.<br>
<div><div></div><div class="h5"><br>
On Sat, Sep 17, 2011 at 3:44 AM, Joe Flemmings <<a href="mailto:joe.jflemmings@gmail.com">joe.jflemmings@gmail.com</a>> wrote:<br>
> Is their a solution without reloading acl?<br>
><br>
> On Fri, Sep 9, 2011 at 4:16 AM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>
>><br>
>> How can we respond with specific error code to xml_curl request in case we<br>
>> didn't find user or it was denied by ACL? It would be nice to have ability<br>
>> to control what FS will respond based on xml_curl result.<br>
>><br>
>> 2011/9/9 Joe Flemmings <<a href="mailto:joe.jflemmings@gmail.com">joe.jflemmings@gmail.com</a>><br>
>>><br>
>>> The request is never sent to mod_xml_curl. This was the first thing i<br>
>>> checked.<br>
>>><br>
>>> On Thu, Sep 8, 2011 at 4:37 PM, Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Technically you can do the IP auth right in your script if you know what<br>
>>>> IP range(s) to add. Look at the request sent to your server from<br>
>>>> mod_xml_curl and check the sip_from_host value against your list.<br>
>>>> -MC<br>
>>>><br>
>>>> On Tue, Sep 6, 2011 at 10:20 PM, Joe Flemmings<br>
>>>> <<a href="mailto:joe.jflemmings@gmail.com">joe.jflemmings@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> I tried that but it seams the acl has to be already defined in<br>
>>>>> acl.conf.xml<br>
>>>>><br>
>>>>> On Tue, Sep 6, 2011 at 10:04 PM, Brad Mina <<a href="mailto:brad@tech21.com">brad@tech21.com</a>> wrote:<br>
>>>>>><br>
>>>>>> I believe you can add an acl param in a user's XML.<br>
>>>>>><br>
>>>>>> Sent from my iPhone<br>
>>>>>> On Sep 6, 2011, at 8:21 PM, Joe Flemmings <<a href="mailto:joe.jflemmings@gmail.com">joe.jflemmings@gmail.com</a>><br>
>>>>>> wrote:<br>
>>>>>><br>
>>>>>><br>
>>>>>> I use xml_curl to authenticate sip devices and was wondering if there<br>
>>>>>> is a way to do IP authentication without having to edit and reaload<br>
>>>>>> acl.conf.xml<br>
>>>>>><br>
>>>>>> FreeSWITCH-users mailing list<br>
>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>><br>
>>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>><br>
>>>>>><br>
>>>>>> FreeSWITCH-users mailing list<br>
>>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>>><br>
>>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> FreeSWITCH-users mailing list<br>
>>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>>><br>
>>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> FreeSWITCH-users mailing list<br>
>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Best regards,<br>
>><br>
>> Dmitry Sytchev,<br>
>> IT Engineer<br>
>><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Kristian Kielhofner<br>
</font><div><div></div><div class="h5"><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup{position: absolute;z-index: 9999;padding: 0px 0px;margin-left: 0px;margin-top: 0px;overflow: hidden;word-wrap: break-word;color: black;font-size: 10px;text-align: left;line-height: 130%;}</style>