<div dir="ltr"><div>Update, look like 407 error gone and now i am seeing following error<br><br>opensips[3767]: ERROR:uac:uac_auth: Unable to extract authentication info<br><br><br></div>I have following value set and those are correct, realm is asterisk default<br>
<br>modparam(&quot;uac_auth&quot;,&quot;credential&quot;,&quot;username:asterisk:mypassw0rd#$&quot;)<br><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 10:59 AM, Satish Patel <span dir="ltr">&lt;<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@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"><div dir="ltr"><div>Perfect!!! just resync code from repo and look like it compile successfully!! <br><br></div>I am going to give it a shot and update you soon!<br>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Aug 25, 2014 at 10:36 AM, Vlad Paiu <span dir="ltr">&lt;<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hello,<br>
      <br>
      Sorry about that - failed to commit auth.h , also apply <br>
      <br>
<a href="https://github.com/OpenSIPS/opensips/commit/fc2ed8ace7040734f5c1b11fe235478014817de5" target="_blank">https://github.com/OpenSIPS/opensips/commit/fc2ed8ace7040734f5c1b11fe235478014817de5</a><div><br>
      <br>
      Best Regards,<br>
      <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre></div><div><div>
      On 25.08.2014 15:26, Satish Patel wrote:<br>
    </div></div></div><div><div>
    <blockquote type="cite">
      
      <div>I downloaded latest repo from git whatever you mentioned. At
        compile time I got following error when it was compiling uac.c </div>
      <div><br>
      </div>
      <div>Fatal error: auth.h file and directory not found. </div>
      <div><br>
      </div>
      <div>Does it require any dependencies? <br>
        <br>
        Sent from my iPhone</div>
      <div><br>
        On Aug 25, 2014, at 8:10 AM, Vlad Paiu &lt;<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>&gt;
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          
          <div>Hello,<br>
            <br>
            Ok then, the patches should apply just fine - <br>
            <a href="https://github.com/OpenSIPS/opensips/commit/3316a2a518a2ac27401408369e4bd3adc70b4e48" target="_blank">https://github.com/OpenSIPS/opensips/commit/3316a2a518a2ac27401408369e4bd3adc70b4e48</a><br>
            <br>
            was already backported, so just apply <br>
            <a href="https://github.com/OpenSIPS/opensips/commit/7989c4fcf1825afccb8102b65d94d66105dbdf33" target="_blank">https://github.com/OpenSIPS/opensips/commit/7989c4fcf1825afccb8102b65d94d66105dbdf33</a><br>
            <br>
            and test it out.<br>
            <br>
            Best Regards,<br>
            <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre>
            On 25.08.2014 13:36, Satish Patel wrote:<br>
          </div>
          <blockquote type="cite">
            
            <div>I&#39;m using 1.11 last week installed. <br>
              <br>
              Sent from my iPhone</div>
            <div><br>
              On Aug 25, 2014, at 6:34 AM, Vlad Paiu &lt;<a href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>&gt;

              wrote:<br>
              <br>
            </div>
            <blockquote type="cite">
              <div>
                
                <div>Hello,<br>
                  <br>
                  What OpenSIPS version are you currently using ?<br>
                  I&#39;ve just committed a fix that implements a
                  preliminary version of this, see commits :<br>
                  <br>
                  <a href="https://github.com/OpenSIPS/opensips/commit/3316a2a518a2ac27401408369e4bd3adc70b4e48" target="_blank">https://github.com/OpenSIPS/opensips/commit/3316a2a518a2ac27401408369e4bd3adc70b4e48</a><br>


                  and<br>
                  <a href="https://github.com/OpenSIPS/opensips/commit/7989c4fcf1825afccb8102b65d94d66105dbdf33" target="_blank">https://github.com/OpenSIPS/opensips/commit/7989c4fcf1825afccb8102b65d94d66105dbdf33</a><br>


                  <br>
                  Please apply them to your sources and let me know how
                  it oges<br>
                  Best Regards,<br>
                  <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre>
                  On 25.08.2014 13:31, Satish Patel wrote:<br>
                </div>
                <blockquote type="cite">
                  
                  <div>Great!! I can see light in tunnel now because
                    last 1 week I tried everything and now I was planing
                    to go for B2B but I guess as you said you guys
                    working on so I&#39;m holding my breath. </div>
                  <div><br>
                  </div>
                  <div>This is must needed solution because SIP service
                    provide most of time provide password to make
                    outbound trunk call. <br>
                    <br>
                    Sent from my iPhone</div>
                  <div><br>
                    On Aug 24, 2014, at 11:13 PM, Bogdan-Andrei Iancu
                    &lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;


                    wrote:<br>
                    <br>
                  </div>
                  <blockquote type="cite">
                    <div>
                      
                      <div><tt>Hi Satish,<br>
                          <br>
                          It is an known issue that OpenSIPS does not
                          increases the cseq number when performing UAC
                          auth against another party. Asterisk does not
                          like that and consider the new branch INVITE
                          with credentials a simple retransmission (even
                          if it has a different VIA-branch :P) and
                          discards them - this is why you get that
                          timeout from asterisk.<br>
                          <br>
                          We have ongoing work (hopefully to be ready in
                          1-2 weeks) for increasing the cseq number is a
                          sip-wise manner. Just keep an eye on the
                          mailing list.<br>
                          <br>
                          Regards,<br>
                        </tt>
                        <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                        On 25.08.2014 04:47, Satish Patel wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="ltr">
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>I am seeing following and
                                            all transaction has CSeq: 2
                                            INVITE, I have notice one
                                            thing asterisk asking for
                                            407 but opensips never send
                                            any challenge response <br>
                                            <br>
                                          </div>
                                          Opensips ---&gt; INVITE
                                          ---&gt; Asterisk<br>
                                        </div>
                                        Asterisk -----&gt; 407
                                        ------&gt; Opensips  
                                        (Proxy-Authenticate: Digest
                                        algorithm=MD5, realm=&quot;asterisk&quot;,
                                        nonce=&quot;3a710e79&quot;.)<br>
                                      </div>
                                      Opensips ----&gt; ACK -----&gt;
                                      Asterisk<br>
                                    </div>
                                    <br>
                                  </div>
                                  Here opensips challenging SIP client 
                                  and saying giving try to asterisk and
                                  then following<br>
                                  <br>
                                </div>
                                Opensips ----&gt; INVITE ---&gt;
                                Asterisk<br>
                              </div>
                              Opensips ----&gt; INVITE ----&gt; Asterisk
                              <br>
                            </div>
                            Opensips ----&gt; INVITE ----&gt; Asterisk <br>
                            <br>
                          </div>
                          After 3 tries opensips send SIP client 408
                          Request timeout.. <br>
                        </div>
                        <div class="gmail_extra"><br>
                          <br>
                          <div class="gmail_quote">On Sun, Aug 24, 2014
                            at 4:26 PM, Stefano Pisani <span dir="ltr">&lt;<a href="mailto:stefano.pisani@omnianet.it" target="_blank">stefano.pisani@omnianet.it</a>&gt;</span>
                            wrote:<br>
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div text="#000000" bgcolor="#FFFFFF">
                                <div>Check if the cseq was incremented
                                  by one in the second try.<br>
                                  Use ngrep.<br>
                                  <br>
                                  <br>
                                  <br>
                                  Il 24/08/2014 22.24, Satish Patel ha
                                  scritto:<br>
                                </div>
                                <blockquote type="cite">
                                  <div>
                                    <div>
                                      <div dir="ltr">
                                        <div>
                                          <div>
                                            <div>
                                              <div><br>
                                              </div>
                                              Hi,<br>
                                              <br>
                                            </div>
                                            my Opensips (UAC) registered
                                            to PSTN gateway and now i am
                                            trying to call using my
                                            SIPphone which is register
                                            to opensip but no success. I
                                            am getting 407 Proxy
                                            authentication issue..  I am
                                            using following method but
                                            it didn&#39;t work. I need
                                            solution badly.. <br>
                                            <br>
                                          </div>
                                          PSTN gateway sending 407 Proxy
                                          auth and then my Opensip
                                          sending 407 proxy auth to SIP
                                          phone.  <br>
                                          <br>
                                        </div>
                                        Does anyone has any working
                                        example or some kind of
                                        document? I haven;t see any
                                        single doc anywhere in Internet
                                        about uac_auth  issue<br>
                                        <div>
                                          <div>
                                            <div><br>
                                              <br>
                                              <br>
                                              <pre>modparam(&quot;uac&quot;,&quot;credential&quot;,&quot;username:domain:password&quot;)

route {
....
            t_on_failure(&quot;2&quot;);
            t_relay( &quot;udp:ip_addr:5060&quot; );
...
}

failure_route[2] {
     uac_auth();
     t_relay(&quot;udp:ip_addr:5060&quot;);
}
</pre>
                                               </div>
                                          </div>
                                        </div>
                                      </div>
                                      <br>
                                      <fieldset></fieldset>
                                      <br>
                                    </div>
                                  </div>
                                  <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                </blockquote>
                                <br>
                              </div>
                              <br>
_______________________________________________<br>
                              Users mailing list<br>
                              <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                              <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                              <br>
                            </blockquote>
                          </div>
                          <br>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                        <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                      </blockquote>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </blockquote>
          <br>
        </div>
      </blockquote>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>
</div></div></blockquote></div><br></div>