<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      That's why I was asking for the call's SIP trace - seems to be an
      issue with the newly added CSEQ increase features.<br>
      <br>
      Best Regards,<br>
      <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
      On 29.08.2014 08:11, Satish Patel wrote:<br>
    </div>
    <blockquote
cite="mid:CAPgF-fpOQTCJ62htaC8=_cTNQikfvYjkN3H3TajwG53tNnt=sg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Very interesting thing happened, If i am authentication
          trunk using uac_auth() function then it is not handling BYE
          from callee, but if i use IP base authentication on trunk
          between opensips and asterisk it works! and also handling BYE
          properly. Don't you think it is wired? <br>
          <br>
        </div>
        Here is my asterisk sip.conf  if i comment out permit ip and
        insecure=invite its works!  with BYE message also. Why it is not
        working properly with UAC authentication? <br>
        <br>
        [4545]<br>
        type=friend<br>
        host=182.72.242.164<br>
        context=office<br>
        ;insecure=invite<br>
        ;deny=<a moz-do-not-send="true" href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a><br>
        ;permit=182.xx.xx.xx/<a moz-do-not-send="true"
          href="http://255.255.255.255">255.255.255.255</a><br>
        secret=password<br>
        allow=all<br>
        nat=yes<br>
          <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Aug 28, 2014 at 8:40 AM, Vlad
          Paiu <span dir="ltr">&lt;<a moz-do-not-send="true"
              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>
                Please privately send me again the SIP trace for the
                call.
                <div class=""><br>
                  <br>
                  Best Regards,<br>
                  <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre>
                </div>
                <div>
                  <div class="h5"> On 28.08.2014 15:23, Satish Patel
                    wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div>I have tried to remove RR but it didn't help :(
                       I have put top hide after RR no luck. <br>
                      <br>
                      Sent from my iPhone</div>
                    <div><br>
                      On Aug 28, 2014, at 3:16 AM, Vlad Paiu &lt;<a
                        moz-do-not-send="true"
                        href="mailto:vladpaiu@opensips.org"
                        target="_blank">vladpaiu@opensips.org</a>&gt;
                      wrote:<br>
                      <br>
                    </div>
                    <blockquote type="cite">
                      <div>
                        <div>Hello,<br>
                          <br>
                          When doing topology hiding, there's no need to
                          call record_route() at all, so please remove
                          the call to record_route() from your script,
                          or move topology_hiding() after the
                          record_route() function call.<br>
                          <br>
                          Best Regards,<br>
                          <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre>
                          On 27.08.2014 20:25, Satish Patel wrote:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">
                            <div>
                              <div>
                                <div>Hi Vlad,<br>
                                  <br>
                                </div>
                                I have created pastebin for Asterisk,
                                Opensips and <a moz-do-not-send="true"
                                  href="http://opensips.cf"
                                  target="_blank">opensips.cf</a> file,
                                I am going to send you in your private
                                email address because of security
                                reason. <br>
                                <br>
                              </div>
                              Let me know if you see any issue in my
                              configuration, or any kind of suggestion.
                              <br>
                              <br>
                            </div>
                            Appreciate your help. <br>
                          </div>
                          <div class="gmail_extra"><br>
                            <br>
                            <div class="gmail_quote">On Mon, Aug 25,
                              2014 at 11:48 PM, Satish Patel <span
                                dir="ltr">&lt;<a moz-do-not-send="true"
                                  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>
                                    <div>I have put topology_hiding()
                                      function at following place in
                                      script but its not hiding VIA
                                      header following is my senerio<br>
                                      <br>
                                    </div>
                                    [UA]--------&gt;[Opensips]-----------[Asterisk/SIP

                                    gateway]<br>
                                    <br>
                                  </div>
                                  I want to hind my UA IP address so
                                  Asterisk doesn't see them, currently
                                  my asterisk can see what IP address UA
                                  coming from, where should i put them
                                  generally <br>
                                  <br>
                                  <br>
                                  if (is_method("INVITE")) {<br>
                                  ...<br>
                                  ...<br>
                                  if  ( uri=~<a moz-do-not-send="true"
                                    href="mailto:%5Esip:[0-9]*@.*"
                                    target="_blank">"^sip:[0-9]*@.*"</a>)
                                  {<br>
                                          uac_replace_from("<a
                                    moz-do-not-send="true"
                                    href="mailto:sip%3A4545@65.111.170.127"
                                    target="_blank">sip:4545@65.111.170.127</a>");<br>
                                          t_on_failure("3");<br>
                                          resetflag(7);<br>
                                          t_relay( "udp:<a
                                    moz-do-not-send="true"
                                    href="http://65.111.170.127:5065"
                                    target="_blank">65.111.170.127:5065</a>"
                                  );<br>
                                           topology_hiding();<br>
                                          exit;<br>
                                          };<br>
                                  <br>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </blockquote>
                        <br>
                      </div>
                    </blockquote>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>