<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Duane,<br>
    <br>
    Please try the attached patch and see if it solves the problems you
    have.<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 08/08/2011 11:27 PM, <a class="moz-txt-link-abbreviated" href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a> wrote:
    <blockquote cite="mid:0016e643536ccc77d104aa044674@google.com"
      type="cite">Just to be sure we are on the same page. The RURI is
      90127X2XX9. I don't want this number to have a $du. The one that
      needs to have a $du is 9014XX7XX9. And correct me if I am wrong
      but this shows that it does have $du set as <br>
      •Jul 13 10:26:17 proxy02 /usr/local/sbin/opensips[2917]:
      DBG:core:serialize_branches: Branch information
<a class="moz-txt-link-rfc2396E" href="sip:9014XX7XX9@64.136.174.30:5060,sip:9014XX7XX9@173.203.82.88:5060,,1000,0">&lt;sip:9014XX7XX9@64.136.174.30:5060,sip:9014XX7XX9@173.203.82.88:5060,,1000,0&gt;</a><br>
      <br>
      Right?
      <br>
      <br>
      <br>
      <br>
      On Aug 8, 2011 3:13pm, Bogdan-Andrei Iancu
      <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a> wrote:
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Hi Duane,
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Looking in the logs:
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Jul 13 10:26:17 proxy02
      <br>
      &gt; <br>
      &gt; /usr/local/sbin/opensips[2917]: DBG:core:serialize_branches:
      Msg
      <br>
      &gt; <br>
      &gt; information 122:53404,,,70,0&gt;
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Jul 13 10:26:17 proxy02
      <br>
      &gt; <br>
      &gt; /usr/local/sbin/opensips[2917]: DBG:core:serialize_branches:
      <br>
      &gt; <br>
      &gt; Branch information
      <br>
      &gt; <br>
      &gt; 5060,<a class="moz-txt-link-freetext" href="sip:9014XX7XX9@173.203.82.88:5060,,1000,0">sip:9014XX7XX9@173.203.82.88:5060,,1000,0</a>&gt;
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; As you can see, the RURI branch has no $du, just $ru.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; So, after appending the branch, when setting the new one, you
      have
      <br>
      &gt; <br>
      &gt; to set both ru and du again.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Regards,
      <br>
      &gt; <br>
      &gt; <br>
      &gt; Bogdan
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; On 07/13/2011 07:59 PM, Duane Larson wrote:
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; This week just isn't my week when it comes to
      <br>
      &gt; <br>
      &gt; serialize_branch.  I just noticed that when I set $ru then
      $du
      <br>
      &gt; <br>
      &gt; then append_branch and then set $ru again with a different
      uri
      <br>
      &gt; <br>
      &gt; and serialize the call that should be forwarded to the $du
      isn't
      <br>
      &gt; <br>
      &gt; being forwarded.  Instead the call goes directly to the ip
      that
      <br>
      &gt; <br>
      &gt; is in $ru.  This can be seen in the following debugs that I
      <br>
      &gt; <br>
      &gt; already posted to Saul for my Mediaproxy issue.
      <br>
      &gt; <br>
      &gt; <br>
      &gt;  
      <br>
      &gt; <br>
      &gt; <br>
      &gt; Syslog Debug
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <a class="moz-txt-link-freetext" href="http://pastebin.com/ZpsR5WG8">http://pastebin.com/ZpsR5WG8</a>
      <br>
      &gt; <br>
      &gt; <br>
      &gt; Do a search for "serialize_branches: Branch information" and
      <br>
      &gt; <br>
      &gt; you will see that the branch uri and duri are all set.
      <br>
      &gt; <br>
      &gt; <br>
      &gt;  
      <br>
      &gt; <br>
      &gt; <br>
      &gt; Then in this siptrace you see that opensips doesn't send it
      <br>
      &gt; <br>
      &gt; to the $du destination but instead sends it directly to the
      uri
      <br>
      &gt; <br>
      &gt; in $ru.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <a class="moz-txt-link-freetext" href="http://pastebin.com/Rvg6nNGa">http://pastebin.com/Rvg6nNGa</a>
      <br>
      &gt; <br>
      &gt; <br>
      &gt;  
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; U 2011/07/13 10:49:04.650882
      <br>
      &gt; <br>
      &gt; 173.XXX.XXX.107:5060 -&gt; 64.136.174.30:5060
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; INVITE <a class="moz-txt-link-freetext" href="sip:9014XX7XX9@64.136.174.30:5060">sip:9014XX7XX9@64.136.174.30:5060</a>
      <br>
      &gt; <br>
      &gt; SIP/2.0.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Record-Route:
      <br>
      &gt; <br>
      &gt; ca22d05c94774292b9249854dada78de;did=3b5.b8577b82&gt;.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Via: SIP/2.0/UDP
      <br>
      &gt; <br>
      &gt; 173.XXX.XXX.107;branch=z9hG4bK34d7.0f26b417.0.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Via: SIP/2.0/UDP
      <br>
      &gt; <br>
      &gt;
64.132.245.122:53383;received=64.132.245.122;rport=53383;branch=z9hG4bKPj26a970ba1b3f44f9b823cbbe4c063bd6.<br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Max-Forwards: 69.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; From: "SecondDell"
      <a class="moz-txt-link-freetext" href="sip:90133XXX18@irock.com">sip:90133XXX18@irock.com</a>&gt;;tag=ca22d05c94774292b9249854dada78de.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; To: <a class="moz-txt-link-freetext" href="sip:90127X2XX9@irock.com">sip:90127X2XX9@irock.com</a>&gt;.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Contact: <a class="moz-txt-link-freetext" href="sip:zdcrgabl@64.132.245.122:53383">sip:zdcrgabl@64.132.245.122:53383</a>&gt;.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Call-ID: a46fcbf5977c40c6aa23bac44aa05ff4.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; CSeq: 3377 INVITE.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK,
      <br>
      &gt; <br>
      &gt; BYE, CANCEL, UPDATE, MESSAGE, REFER.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Supported: 100rel, norefersub.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; User-Agent: Blink 0.2.7 (Windows).
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Content-Type: application/sdp.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; Content-Length: 693.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; P-hint: inbound-&gt;inbound .
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; P-hint: Route[6]: mediaproxy .
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; I just upgraded to 1.7 and that didn't matter.
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; _______________________________________________
      <br>
      &gt; <br>
      &gt; Users mailing list
      <br>
      &gt; <br>
      &gt; <a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
      <br>
      &gt; <br>
      &gt; <a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; -- <br>
      &gt; <br>
      &gt; Bogdan-Andrei Iancu
      <br>
      &gt; <br>
      &gt; OpenSIPS eBootcamp - 19th of September 2011
      <br>
      &gt; <br>
      &gt; OpenSIPS solutions and "know-how"
      <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt; <br>
      &gt;
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS eBootcamp - 19th of September 2011
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>