<div dir="ltr">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?<div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 6:25 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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?<br>
--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<br>
<a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
<a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
<br>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a> | F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a> | M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Feb 13, 2014, at 12:03 PM, Biswas, Dipak <<a href="mailto:dipak.biswas@mezocliq.com">dipak.biswas@mezocliq.com</a>> wrote:<br>
<br>
> Hi All,<br>
><br>
> I guess this issue has been discussed before but I could not find a suitable solution.<br>
><br>
> I've this one user with the CIDR declared in directory/default/1000.xml<br>
><br>
> <include><br>
> <user id="1000" cidr="<a href="http://12.34.56.78/32,20.0.0.0/8" target="_blank">12.34.56.78/32,20.0.0.0/8</a>"> <!--ID is the sip username. CIDR is optional -- if specified, these IPs with automatically auth to this user--><br>
> <params><br>
> <param name="password" value="1234"/><br>
> <param name="vm-password" value="1000"/><br>
> </params><br>
> <variables><br>
> <variable name="accountcode" value="1000"/><br>
> <variable name="user_context" value="default"/><br>
> <variable name="effective_caller_id_name" value="Extension 1000"/><br>
> <variable name="effective_caller_id_number" value="1000"/><br>
> </variables><br>
> </user><br>
><br>
> Another user 2000 is defined but no CIDR is added there.<br>
> <user id="2000" cidr="<a href="http://12.34.56.78/32,20.0.0.0/8" target="_blank">12.34.56.78/32,20.0.0.0/8</a>"><br>
> <params><br>
> <param name="password" value="1234"/><br>
> <param name="vm-password" value="2000"/><br>
> </params><br>
> <variables><br>
> <variable name="accountcode" value="2000"/><br>
> <variable name="user_context" value="default"/><br>
> <variable name="effective_caller_id_name" value="Extension 2000"/><br>
> <variable name="effective_caller_id_number" value="2000"/><br>
> </variables><br>
> </user><br>
><br>
> Now, when user 2<br>
<br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Thanks,<div>Dipak</div></div>
</div>