<p dir="ltr">Please check provided example on vanila config.<br>
Example is correct.</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 19, 2016, 20:24 Artur Mega <<a href="mailto:findmeinwland@gmail.com">findmeinwland@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">We tried, but doesn't work. In the dialplan:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"> <context name="public-external"></div><div class="gmail_default"> <extension name="transfer_it"></div></div></div><div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default"> <condition field="${sip_authorized}" expression="true" break="never"></div></div></div><div dir="ltr"><div class="gmail_default" style="font-size:small"><div class="gmail_default"> <action application="log" data="TEEEEEST ${sip_authorized}"/></div><div class="gmail_default"> <anti-action application="log" data="NOT LOGINED ${sip_authorized}"></anti-action></div><div class="gmail_default"> </condition></div><div class="gmail_default"> </extension></div><div class="gmail_default"> </context></div><div class="gmail_default"><br></div><div class="gmail_default">See two attachments. First - it is when in external.xml we set <param name="auth-calls" value="<b>false</b>"/>: (in anti-action it must print the value of ${sip_authorized}, but prints nothing)</div><div class="gmail_default"><img src="cid:ii_1525a4769d8f4b83" alt="Встроенное изображение 1" width="562" height="311"><br>(${sip_authorized} is nothing, even not false)</div><div class="gmail_default"><br><br>Next screen - it is when in external.xml we set <param name="auth-calls" value="<b>true</b>"/>: (we made call from phone not in our domain, and it behaviored like should - call is breaked)<br></div><div class="gmail_default"><img src="cid:ii_1525a48292286288" alt="Встроенное изображение 2" width="562" height="312"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div class="gmail_extra"></div></div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-01-19 18:14 GMT+05:00 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Did you try it? Because what was posted will work.<div><div><span></span><br><br>On Tuesday, January 19, 2016, Artur Mega <<a href="mailto:findmeinwland@gmail.com" target="_blank">findmeinwland@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>No, it doesnt work, becouse we set in external.xml <br><br> <param name="auth-calls" value="false"/></div><div><br>documentation (<a href="https://wiki.freeswitch.org/wiki/Sofia.conf.xml#auth-calls" target="_blank">https://wiki.freeswitch.org/wiki/Sofia.conf.xml#auth-calls</a>) says that <i>"<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.8px;line-height:19.2px">Value can be "false" to disable authentication on this profile, meaning that when calls come in the profile will <b>not</b> send an auth challenge to the caller.</span>"</i></div><div><i><br></i></div><div>We can receive calls, no problem, but for our needs we want to check who is calling - user is authorised or not.</div></div>
</blockquote><br><br></div></div>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><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></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div><br>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div></div></div><div dir="ltr"><div class="gmail_extra">-- <br><div><div dir="ltr"><div><div><br>Arthur</div></div></div></div>
</div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div>