<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I asked for the wrong command, as the bt full was already sent
    before -- I wanted the output from gdb for:<br>
    <br>
    p *tcpconn<br>
    <br>
    Daniel<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 27/02/15 04:10, Slava Bendersky
      wrote:<br>
    </div>
    <blockquote
cite="mid:2017040220.30928972.1425006630882.JavaMail.zimbra@skillsearch.ca"
      type="cite">
      <div style="font-family: lucida console,sans-serif; font-size:
        12pt; color: #000000">
        <div>Hello Daniel,<br>
        </div>
        <div>Here bt full from back trace.<br data-mce-bogus="1">
        </div>
        <div><br data-mce-bogus="1">
        </div>
        <div><a class="moz-txt-link-freetext" href="http://fpaste.org/191207/50064491/">http://fpaste.org/191207/50064491/</a></div>
        <div><br data-mce-bogus="1">
        </div>
        <div>Slava.<br data-mce-bogus="1">
        </div>
        <div><br>
        </div>
        <hr id="zwchr" data-marker="__DIVIDER__">
        <div data-marker="__HEADERS__"><b>From: </b>"volga629"
          <a class="moz-txt-link-rfc2396E" href="mailto:volga629@skillsearch.ca"><volga629@skillsearch.ca></a><br>
          <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a>, "Slava Bendersky"
          <a class="moz-txt-link-rfc2396E" href="mailto:volga629@networklab.ca"><volga629@networklab.ca></a><br>
          <b>Cc: </b>"sr-users" <a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.sip-router.org"><sr-users@lists.sip-router.org></a><br>
          <b>Sent: </b>Thursday, February 26, 2015 9:56:48 PM<br>
          <b>Subject: </b>Re: [SR-Users] kamailio asterisk<br>
        </div>
        <br>
        <div data-marker="__QUOTED_TEXT__">
          <div style="font-family:Calibri, Arial, Helvetica,
            sans-serif;font-size:12pt;">
            <div>Hello Daniel,</div>
            <div>I tried $rz option on top of request route and that
              where I see wrong request uri like <a class="moz-txt-link-freetext" href="sip:sips">sip:sips</a>: . And as far
              I can see it happenes only for SUBSCRIBE INVITE and
              NOTIFY.</div>
            <br>
            <div><span style="font-family: sans-serif; font-size: 18px;
                line-height: normal;">if($rz=="sips") {</span><br
                style="font-family: sans-serif; font-size: 18px;
                line-height: normal;">
              <span style="font-family: sans-serif; font-size: 18px;
                line-height: normal;">   $ru = "sip" +
                $(ru{s.substr,4,0});</span><br style="font-family:
                sans-serif; font-size: 18px; line-height: normal;">
              <span style="font-family: sans-serif; font-size: 18px;
                line-height: normal;">}</span></div>
            <br>
            <div>Slava.</div>
            <br>
            <div id="signature-x" style="-webkit-user-select:none;">
              Sent from mobile device typos are expected.</div>
          </div>
          <div id="quoted_header" style="clear:both;"><br>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0cm 0cm 0cm"><span
                style="font-size:11.0pt;font-family:'Calibri','sans-serif'"><b>From:</b>
                Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
                <b>Sent:</b> Feb 25, 2015 1:04 PM<br>
                <b>To:</b> Slava Bendersky<br>
                <b>Cc:</b> sr-users<br>
                <b>Subject:</b> Re: [SR-Users] kamailio asterisk<br>
              </span></div>
          </div>
          <br>
          <br>
          Hello,<br>
          <br>
          <div class="moz-cite-prefix">On 25/02/15 17:19, Slava
            Bendersky wrote:<br>
          </div>
          <blockquote
cite="mid:90891263.30515025.1424881151793.JavaMail.zimbra@skillsearch.ca">
            <div style="font-family: lucida console,sans-serif;
              font-size: 12pt; color: #000000">
              <div>Hello Daniel,</div>
              <div>substr you suggested didn't worked.<br>
              </div>
              <div>See my previous email. <br>
              </div>
            </div>
          </blockquote>
          <br>
          your previous email didn't say anything about the results.
          That's why I asked. Be sure you don't have those spaces that
          are in the email you wrote. Also, I had more parenthesis in
          the parameter of the subst_uri().<br>
          <br>
          Or you can try the alternative with:<br>
          <br>
          if($rz=="sips") {<br>
             $ru = "sip" + $(ru{s.substr,4,0});<br>
          }<br>
          <br>
          I asked for more details from the backtrace to confirm that
          what I found is the cause for the crash in this case -- see
          one of my previous emails from today.<br>
          <br>
          Cheers,<br>
          Daniel<br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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 World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>