Thanks, I'll try this<br><br>Technically ACL is not auth, but when I respond to directory request on 'reloadacl' and freeswitch startup, I pass all variables etc.<br>Seems freeswitch takes only user id and domain from this response, and then sets 'variable_acl_token' and 'variable_sip_acl_token' to 'user_id@domain' for matching cidr value.<br>
<br>So question is will FS make directory request on set_user or not :) I'll try and share my resultsĀ <br><div><br><br><div class="gmail_quote">2012/11/7 Gabriel Gunderson <span dir="ltr"><<a href="mailto:gabe@gundy.org" target="_blank">gabe@gundy.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Nov 6, 2012 at 5:48 AM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>
> Is this normal behaviour or I'm missing something? How can I get user<br>
> variables from my DB set on channel when authenticating call by CIDR<br>
> attribute?<br>
<br>
</div>When you're using the CIDR, you're not technically auth-ing, right?<br>
Just a guess here (since I don't run an environment like yours), but<br>
it's not going to be hitting the directory, right? Do you even see a<br>
POST the to HTTP server asking for the directory in this case?<br>
<br>
Anyway, this should do what you need:<br>
<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_user" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_user</a><br>
<br>
<br>
Let us know what you find out.<br>
<br>
<br>
Best,<br>
Gabe<br>
<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>
</div>