[Freeswitch-users] Auth by ACL/CIDR doesn't find the right user from directory

Biswas, Dipak dipak.biswas at mezocliq.com
Wed Feb 19 16:02:24 MSK 2014


I didn't say that mod_xm_curl is inefficient. Sorry, if it came out that
way. I was referring to a note from the wiki
here<https://wiki.freeswitch.org/wiki/XML_User_Directory_Guide#Alphanumeric_to_numeric_user_mapping>.
I use user_data() in local extension bridging.

Thanks,
Dipak


On Wed, Feb 19, 2014 at 12:34 AM, Brian West <brian at freeswitch.org> wrote:

> Where did you get that idea that xml_curl is inefficient?
>
> Sent from my iPad
>
> On Feb 14, 2014, at 10:35 AM, "Biswas, Dipak" <dipak.biswas at mezocliq.com>
> wrote:
>
> Thanks Avi. I considered using xml_curl, but that will slow things down
> beside other overheads.
>
> Secondly, I didn't totally understand what you meant by IP checking in
> dialplan. Is this something can be done in thru configuration or you're
> suggesting code change in mod_dialplan_xml/mod_dialplan_directory?
>
> Thanks,
> Dipak
>
>
> On Fri, Feb 14, 2014 at 3:12 AM, Avi Marcus <avi at avimarcus.net> wrote:
>
>> If the CIDR/IP matches, then it doesn't require a password.
>> If you can't use the CIDR, then use a username/password.
>>
>> (You can implement some sort of IP checking in your dialplan or via
>> xml_curl, if you want...)
>>
>> -Avi
>>
>>
>> On Fri, Feb 14, 2014 at 4:29 AM, Biswas, Dipak <dipak.biswas at mezocliq.com
>> > wrote:
>>
>>> Thanks. My question is exactly the same - what are my possible option to
>>> differentiate between two users belonging to same CIDR? In that respect, my
>>> example is exactly what I intended to show, isn't it?
>>>
>>>
>>>
>>>
>>> On Thu, Feb 13, 2014 at 6:25 PM, Brian West <brian at freeswitch.org>wrote:
>>>
>>>> Unless your examples are wrong the CIDR is the same on both, How do you
>>>> tell the two users apart if they both are using the same CIDR?
>>>> --
>>>> Brian West
>>>>
>>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.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
>>
>>
>
>
> --
> Thanks,
> Dipak
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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://wiki.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
>
>


-- 
Thanks,
Dipak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140219/fb84633f/attachment.html 


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