<div dir="ltr"><div class="gmail_default" style="font-size:small">​We tried, but doesn&#39;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">    &lt;context name=&quot;public-external&quot;&gt;</div><div class="gmail_default">      &lt;extension name=&quot;transfer_it&quot;&gt;</div><div class="gmail_default">        &lt;condition field=&quot;${sip_authorized}&quot; expression=&quot;true&quot; break=&quot;never&quot;&gt;</div><div class="gmail_default">          &lt;action application=&quot;log&quot; data=&quot;TEEEEEST ${sip_authorized}&quot;/&gt;</div><div class="gmail_default">          &lt;anti-action application=&quot;log&quot; data=&quot;NOT LOGINED ${sip_authorized}&quot;&gt;&lt;/anti-action&gt;</div><div class="gmail_default">        &lt;/condition&gt;</div><div class="gmail_default">      &lt;/extension&gt;</div><div class="gmail_default">    &lt;/context&gt;</div><div class="gmail_default"><br></div><div class="gmail_default">See two attachments. First - it is when in external.xml we set &lt;param name=&quot;auth-calls&quot; value=&quot;<b>false</b>&quot;/&gt;: (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 &lt;param name=&quot;auth-calls&quot; value=&quot;<b>true</b>&quot;/&gt;: (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"><br><div class="gmail_quote">2016-01-19 18:14 GMT+05:00 Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</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 class="h5"><span></span><br><br>On Tuesday, January 19, 2016, Artur Mega &lt;<a href="mailto:findmeinwland@gmail.com" target="_blank">findmeinwland@gmail.com</a>&gt; 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>    &lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;</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>&quot;<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.8px;line-height:19.2px">Value can be &quot;false&quot; 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>&quot;</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">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">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>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><br>Arthur</div></div></div></div>
</div></div>