<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the version is:<br>
    <br>
    FreeSWITCH version: 1.2.1+git~20120816T172128Z~6dc9596bec (1.2.1;
    git at commit 6dc9596bec on Thu, 16 Aug 2012 17:21:28 Z)<br>
    <br>
    Did few calls and got one more strange situation. So I commented the
    line:<br>
    <br>
    &lt;param name="accept-blind-auth" value="true"/&gt;<br>
    <br>
    and let:<br>
    <br>
    &nbsp;&nbsp;&nbsp; &lt;param name="auth-calls" value="true"/&gt;<br>
    <br>
    Surprising, the calls are not authenticated.<br>
    <br>
    But if I set:<br>
    <br>
    &nbsp;&nbsp;&nbsp; &lt;param name="auth-calls" value="false"/&gt;<br>
    <div class="moz-cite-prefix"><br>
      I get 407 reply.<br>
      <br>
      To summarize, I got:<br>
      1) auth-calls=false and accept-blind-auth=true =&gt; no 407 reply<br>
      2) auth-calls=false and accept-blind-auth commented =&gt; 407
      reply<br>
      3) auth-calls=true and accept-blind-auth commented =&gt; no 407
      reply<br>
      <br>
      Looks like 3) is opposite than expected. Maybe it's too late in
      the night here, missing something obvious, I will try again
      tomorrow morning and I will fire a bug if it is really the case.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      <br>
      On 8/21/12 11:43 PM, Michael Collins wrote:<br>
    </div>
    <blockquote
cite="mid:CAKzWOxXMSmcr+aYwk30stnn15RxoEZUZwbTH9R=dN5pVWnyOBA@mail.gmail.com"
      type="cite">FWIW, I could not reproduce this behavior on
      v1.2.stable branch. When I set auth-calls=false in the SIP profile
      and make an inbound call it just relies on the ACL and that's it.
      <br>
      <br>
      Miconda, what version of FS did you say you were running?<br>
      <br>
      -MC<br>
      <br>
      <div class="gmail_quote">On Tue, Aug 21, 2012 at 1:50 PM,
        Daniel-Constantin Mierla <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:miconda@gmail.com"
            target="_blank">miconda@gmail.com</a>&gt;</span> wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hi Mike,<br>
          <div class="im"><br>
            On 8/21/12 10:27 PM, Michael Jerris wrote:<br>
            &gt; auth-calls false means we won't challenge invite,
            accept-blind-auth means if auth headers are there, we ignore
            them.<br>
            <br>
          </div>
          it is what I expected from auth-calls (and worked like this in
          the<br>
          past), but now even if set to false, the calls are challenged
          with 407<br>
          reply for authentication. Only when I set accept-blind-auth to
          false<br>
          there is no 407.<br>
          <br>
          Overall, it gets me what I need, access being granted on IP
          acl, but I<br>
          wanted to double check if such change in behaviour of
          auth-calls was<br>
          done on purpose. I will review my changes comparing with the
          default<br>
          configs to see if I modified other params that could result in
          this<br>
          situation, although I think there is no other related
          parameter.<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <div class="HOEnZb">
            <div class="h5"><br>
              &gt;<br>
              &gt; Mike<br>
              &gt;<br>
              &gt; On Aug 21, 2012, at 1:57 PM, Daniel-Constantin Mierla
              &lt;<a moz-do-not-send="true"
                href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;
              wrote:<br>
              &gt;<br>
              &gt;&gt; Hello,<br>
              &gt;&gt;<br>
              &gt;&gt; in the past I used to set:<br>
              &gt;&gt;<br>
              &gt;&gt; &lt;param name="auth-calls" value="false"/&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; in the sip profile in order to skip user
              authentication for calls.<br>
              &gt;&gt;<br>
              &gt;&gt; Lately I started to play a bit with 1.2 stable
              branch and seems that<br>
              &gt;&gt; setting auth-calls to false is no longer doing
              what I expected, calls<br>
              &gt;&gt; being challenged for user authentication.<br>
              &gt;&gt;<br>
              &gt;&gt; Setting instead the accept-blind-auth to false
              got me what I wanted, like:<br>
              &gt;&gt;<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp;&lt;!-- accept any authentication without
              actually checking (not a<br>
              &gt;&gt; good feature for most people) --&gt;<br>
              &gt;&gt; &nbsp; &nbsp; &nbsp;&lt;param name="accept-blind-auth"
              value="true"/&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; But from the comment (checked the wiki as well,
              but has the same text)<br>
              &gt;&gt; is a bit unclear what is the real purpose for it.<br>
              &gt;&gt;<br>
              &gt;&gt; Isn't auth-calls=false supposed to accept calls
              without user<br>
              &gt;&gt; authentication anymore?<br>
              &gt;&gt;<br>
              &gt;&gt; For this particular case, I play some
              announcements, like 'user not<br>
              &gt;&gt; available', and should work also for calls coming
              from outside. The<br>
              &gt;&gt; access is restricted by IP address ACL, allowing
              SIP traffic only from<br>
              &gt;&gt; my Kamailio instance.<br>
              &gt;<br>
              &gt;
_________________________________________________________________________<br>
              &gt; Professional FreeSWITCH Consulting Services:<br>
              &gt; <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              &gt; <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              &gt;<br>
              &gt; FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              &gt; <a moz-do-not-send="true"
                href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
              &gt;<br>
              &gt; Official FreeSWITCH Sites<br>
              &gt; <a moz-do-not-send="true"
                href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              &gt; <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              &gt; <a moz-do-not-send="true"
                href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
              &gt;<br>
              &gt; FreeSWITCH-users mailing list<br>
              &gt; <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              &gt; <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              &gt; UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              &gt; <a moz-do-not-send="true"
                href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
              <br>
            </div>
          </div>
          <div class="im HOEnZb">--<br>
            Daniel-Constantin Mierla - <a moz-do-not-send="true"
              href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
            <a moz-do-not-send="true"
              href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a>
            - <a moz-do-not-send="true"
              href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a><br>
            Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a
              moz-do-not-send="true" href="http://asipto.com/u/kat"
              target="_blank">http://asipto.com/u/kat</a><br>
            <br>
            <br>
          </div>
          <div class="HOEnZb">
            <div class="h5">_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Michael S Collins<br>
      Twitter: @mercutioviz<br>
      <a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
        target="_blank">http://www.FreeSWITCH.org</a><br>
      <a moz-do-not-send="true" href="http://www.ClueCon.com"
        target="_blank">http://www.ClueCon.com</a><br>
      <a moz-do-not-send="true" href="http://www.OSTAG.org"
        target="_blank">http://www.OSTAG.org</a><br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
  </body>
</html>