<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the changes came after 4.0 was releases and affected a tm function
    with impact in many other places. They were not backported not to
    introduce unknown side effects. They will be part of next major
    release, v4.1, to be out in few weeks.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 11/10/13 8:20 PM, Julia wrote:<br>
    </div>
    <blockquote cite="mid:5F3239E86FEE480591716CF3AEA0BF54@n53113"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="country-region">
        <o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="PostalCode">
          <o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="City">
            <o:smarttagtype
              namespaceuri="urn:schemas-microsoft-com:office:smarttags"
              name="Street">
              <o:smarttagtype
                namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                name="address">
                <o:smarttagtype
                  namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                  name="State">
                  <o:smarttagtype
                    namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                    name="place">
                    <o:smarttagtype
                      namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                      name="PersonName">
                      <!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
                      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Times New\000D\000A";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Times\000D\000A";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
                      <div class="Section1">
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">Hello,<o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">We
                              successful upgraded Kamailio from 3.3
                              to 4.0.4 and get the problem with BYE
                              dialog timeout as was in 3.0.1 <o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">Daniel
                              committed a set of patches, that
                              solved the problem (please, see below in
                              previous mails).<o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">But
                              these patches are not a part of 4.0.4,
                              why?<o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">4e4b1339bfd3a832f5feeb1d2a2380c7455ec82b<o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Times New Roman" size="3"><span
                              style="font-size:12.0pt;color:blue">57ed79b9d45c29d37c405c3fa582c1d1011a2315<br>
                              f22dcd559c739dd99275cd2444cf481d458d2fab<br>
                              ff890a4eee1888ed3e1e080a18bd72124ab99690<br>
                              aefea5477dc7878d5e818628e04ddcb088fd2858<o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Times New Roman" size="3"><span
                              style="font-size:12.0pt;color:blue"><br>
                              <br>
                            </span></font><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:11.0pt;
                              font-family:Arial;color:blue"><o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">Thank
                              you,<o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue">Julia
                              <o:p></o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
                        <p class="MsoNormal"><font color="blue"
                            face="Arial" size="2"><span
                              style="font-size:
                              11.0pt;font-family:Arial;color:blue"><o:p> </o:p></span></font></p>
                        <div>
                          <div class="MsoNormal"
                            style="text-align:center" align="center"><font
                              color="black" face="Times New Roman"
                              size="3"><span
                                style="font-size:12.0pt;color:windowtext">
                                <hr tabindex="-1" align="center"
                                  size="2" width="100%">
                              </span></font></div>
                          <p class="MsoNormal"><b><font color="black"
                                face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold">From:</span></font></b><font
                              color="black" face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma;
                                color:windowtext"> Daniel-Constantin
                                Mierla [mailto:<st1:personname w:st="on"><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a></st1:personname>]
                                <br>
                                <b><span style="font-weight:bold">Sent:</span></b>
                                Monday, April 29, 2013 3:11
                                PM<br>
                                <b><span style="font-weight:bold">To:</span></b>
                                Julia; 'Kamailio (SER) - Users
                                Mailing List'<br>
                                <b><span style="font-weight:bold">Cc:</span></b>
                                'Uri Shacked'<br>
                                <b><span style="font-weight:bold">Subject:</span></b>
                                Re: [SR-Users] BUG? -
                                Dialog module timeout BYE is not ok.</span></font><font
                              color="black"><span
                                style="color:windowtext"><o:p></o:p></span></font></p>
                        </div>
                        <p class="MsoNormal"><font color="black"
                            face="Times New Roman" size="3"><span
                              style="font-size:12.0pt"><o:p> </o:p></span></font></p>
                        <p class="MsoNormal"
                          style="margin-bottom:12.0pt"><font
                            color="black" face="Times New Roman"
                            size="3"><span style="font-size:12.0pt">Hello,<br>
                              <br>
                              there are few follow up patches that you
                              need to get, here are the commits id:<br>
                              <br>
                              57ed79b9d45c29d37c405c3fa582c1d1011a2315<br>
                              f22dcd559c739dd99275cd2444cf481d458d2fab<br>
                              ff890a4eee1888ed3e1e080a18bd72124ab99690<br>
                              aefea5477dc7878d5e818628e04ddcb088fd2858<br>
                              <br>
                              Cheers,<br>
                              Daniel<br>
                              <br>
                              <o:p></o:p></span></font></p>
                        <div>
                          <p class="MsoNormal"><font color="black"
                              face="Times New Roman" size="3"><span
                                style="font-size:12.0pt">On 4/29/13
                                11:31 AM, Julia wrote:<o:p></o:p></span></font></p>
                        </div>
                        <blockquote
                          style="margin-top:5.0pt;margin-bottom:5.0pt"
                          cite="mid:6893BEE761AB45B8836FE122D10CBA7B@n53113"
                          type="cite"><u1:smarttagtype
                            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                            name="country-region"><u1:smarttagtype
                              namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                              name="PostalCode"><u1:smarttagtype
                                namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                                name="State"><u1:smarttagtype
                                  namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                                  name="City"><u1:smarttagtype
                                    namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                                    name="place"><u1:smarttagtype
                                      namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                                      name="Street"><u1:smarttagtype
                                        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                                        name="address">
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue"><!--[if gte mso 9]><xml>
        <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
        <u1:shapelayout u3:ext="edit">
         <u1:idmap u3:ext="edit" data="1"/>
        </u1:shapelayout>
</xml><![endif]-->Thank you,<u1:p></u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue"><u1:p> </u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue">The patch solves the problem with
                                              dlgtimeout BYE (also for
                                              chain of proxy servers),
                                              but causes a new one.<u1:p></u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue"><u1:p> </u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue">Now, OPTIONs from dispatcher module
                                              sent
                                              with angle brackets, but
                                              200 OK (received with same
                                              format) are ignored by
                                              kamailio.<u1:p></u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue"><u1:p> </u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><b><font
                                              color="blue" face="Arial"
                                              size="2"><span
                                                style="font-size:11.0pt;font-family:Arial;color:blue;font-weight:bold">ERROR:
dispatcher
                                                [dispatch.c:2373]:
                                                Setting the state failed
                                                (<<a
                                                  moz-do-not-send="true"
href="sip:xxxxxxxxxxxxxxxx">sip:xxxxxxxxxxxxxxxx</a>) .<u1:p></u1:p></span></font></b><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue"><u1:p> </u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue">BR,<u1:p></u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue"><u1:p> </u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"><font
                                            color="blue" face="Arial"
                                            size="2"><span
                                              style="font-size:
11.0pt;font-family:Arial;color:blue">Julia<u1:p></u1:p></span></font><o:p></o:p></p>
                                        <div>
                                          <div class="MsoNormal"
                                            style="text-align:center"
                                            align="center"><font
                                              color="black" face="Times
                                              New
                                              " size="3"><span
                                                style="font-size:12.0pt;
                                                font-family:"Times
New\000D\000A";color:windowtext">
                                                <hr tabindex="-1"
                                                  align="center"
                                                  size="2" width="100%">
                                              </span></font></div>
                                          <p class="MsoNormal"><b><font
                                                color="black"
                                                face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold">From:</span></font></b><font
                                              color="black"
                                              face="Tahoma" size="2"><span
style="font-size:10.0pt;font-family:Tahoma;
                                                color:windowtext"> <a
                                                  moz-do-not-send="true"
href="mailto:sr-users-bounces@lists.sip-router.org">sr-users-bounces@lists.sip-router.org</a>
                                                [<a
                                                  moz-do-not-send="true"
href="mailto:sr-users-bounces@lists.sip-router.org">mailto:sr-users-bounces@lists.sip-router.org</a>]
                                                <b><span
                                                    style="font-weight:bold">On
                                                    Behalf Of </span></b>Daniel-Constantin
                                                Mierla<br>
                                                <b><span
                                                    style="font-weight:bold">Sent:</span></b>
                                                Thursday, April 25, 2013
                                                4:24 PM<br>
                                                <b><span
                                                    style="font-weight:bold">To:</span></b>
                                                Uri Shacked<br>
                                                <b><span
                                                    style="font-weight:bold">Cc:</span></b>
                                                Kamailio (SER) - Users
                                                Mailing
                                                List<br>
                                                <b><span
                                                    style="font-weight:bold">Subject:</span></b>
                                                Re: [SR-Users] BUG? -
                                                Dialog module timeout
                                                BYE is not ok.</span></font><o:p></o:p></p>
                                        </div>
                                        <u1:p></u1:p>
                                        <p class="MsoNormal"><font
                                            color="black" face="Times
                                            " size="3"><span
                                              style="font-size:12.0pt;font-family:"Times\000D\000A""><u1:p> </u1:p></span></font><o:p></o:p></p>
                                        <p class="MsoNormal"
                                          style="margin-bottom:12.0pt"><font
                                            color="black" face="Times
                                            New Roman" size="3"><span
                                              style="font-size:12.0pt">Here
                                              is the link to the
                                              patch:<br>
                                              <br>
                                              <a
href="http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blobdiff;f=modules/tm/t_msgbuilder.c;h=b5ff3094af2594e62a050ccc56768ad9237eb633;hp=aa0144c8443760c9e81ee121ef907be812fa9da8;hb=4e4b1339bfd3a832f5feeb1d2a2380c7455ec82b;hpb=744a8d317b894a1360e3441a9e69ac9190a1745b"
                                                moz-do-not-send="true">http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blobdiff;f=modules/tm/t_msgbuilder.c;h=b5ff3094af2594e62a050ccc56768ad9237eb633;hp=aa0144c8443760c9e81ee121ef907be812fa9da8;hb=4e4b1339bfd3a832f5feeb1d2a2380c7455ec82b;hpb=744a8d317b894a1360e3441a9e69ac9190a1745b</a><br>
                                              <br>
                                              You have to add the lines
                                              starting with '+' in
                                              t_msgbuilder.c -- there
                                              are six.<br>
                                              <br>
                                              Not sure it really works
                                              replacing the entire file,
                                              it is safe to apply the
                                              patch.<br>
                                              <br>
                                              Cheers,<br>
                                              Daniel<u1:p></u1:p><o:p></o:p></span></font></p>
                                        <div>
                                          <p class="MsoNormal"><font
                                              color="black" face="Times
                                              " size="3"><span
                                                style="font-size:12.0pt;font-family:"Times\000D\000A"">On
                                                4/25/13 3:17 PM, Uri
                                                Shacked wrote:<u1:p></u1:p></span></font><o:p></o:p></p>
                                        </div>
                                        <blockquote
                                          style="margin-top:5.0pt;margin-bottom:5.0pt"
cite="mid:CAMMbDhSHyS2+ZSvsjdWtBgDVPg8cfJ1GT9Tf6+9JACKu34HGoQ@mail.gmail.com"
                                          type="cite">
                                          <div>
                                            <div>
                                              <p class="MsoNormal"><font
                                                  color="black"
                                                  face="Times New Roman"
                                                  size="3"><span
                                                    style="font-size:12.0pt">I
                                                    have no internet
                                                    access from my
                                                    kamailio servers.<u1:p></u1:p><o:p></o:p></span></font></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><font
                                                  color="black"
                                                  face="Times New Roman"
                                                  size="3"><span
                                                    style="font-size:12.0pt">where
                                                    can i download it
                                                    and install?<u1:p></u1:p><o:p></o:p></span></font></p>
                                            </div>
                                            <div>
                                              <p class="MsoNormal"><font
                                                  color="black"
                                                  face="Times New Roman"
                                                  size="3"><span
                                                    style="font-size:12.0pt">or
                                                    just download the
                                                    t_msgbuilder.c and
                                                    reinstall
                                                    3.3.2 ?<u1:p></u1:p><o:p></o:p></span></font></p>
                                            </div>
                                          </div>
                                          <div>
                                            <p class="MsoNormal"
                                              style="margin-bottom:12.0pt"><font
                                                color="black"
                                                face="Times New Roman"
                                                size="3"><span
                                                  style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
                                            <div>
                                              <p class="MsoNormal"><font
                                                  color="black"
                                                  face="Times New Roman"
                                                  size="3"><span
                                                    style="font-size:12.0pt">On
                                                    Thu, Apr 25, 2013 at
                                                    3:55 PM,
                                                    Daniel-Constantin
                                                    Mierla <<a
                                                      href="mailto:miconda@gmail.com"
                                                      target="_blank"
                                                      moz-do-not-send="true">miconda@gmail.com</a>>
                                                    wrote:<u1:p></u1:p><o:p></o:p></span></font></p>
                                              <div bgcolor="#FFFFFF"
                                                text="#000000">
                                                <p class="MsoNormal"><font
                                                    color="black"
                                                    face="Times New
                                                    Roman" size="3"><span
style="font-size:12.0pt">Hello,<br>
                                                      <br>
                                                      I committed a
                                                      patch to add angle
                                                      brackets around
                                                      From/To URI for
                                                      local
                                                      generated
                                                      requests. Here is
                                                      the link to
                                                      commit:<br>
                                                      <br>
                                                      - <a
href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4e4b1339bfd3a832f5feeb1d2a2380c7455ec82b"
                                                        target="_blank"
moz-do-not-send="true">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4e4b1339bfd3a832f5feeb1d2a2380c7455ec82b</a><br>
                                                      <br>
                                                      No time to test
                                                      it, so give it a
                                                      try. If you are
                                                      using 4.0 (even
                                                      3.3) should
                                                      work by just
                                                      cherry-picking.
                                                      Let me know if
                                                      works fine.<br>
                                                      <br>
                                                      Depending on
                                                      feedback will be
                                                      part of 4.0.1 (out
                                                      in few hours), or
                                                      let to be
                                                      backported for
                                                      4.0.2.<br>
                                                      <br>
                                                      Cheers,<br>
                                                      Daniel <u1:p></u1:p><o:p></o:p></span></font></p>
                                                <div>
                                                  <div>
                                                    <p class="MsoNormal"
style="margin-bottom:12.0pt"><font color="black" face="Times New Roman"
                                                        size="3"><span
                                                          style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
                                                    <div>
                                                      <p
                                                        class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New Roman"
                                                          size="3"><span
style="font-size:12.0pt">On 4/25/13 2:23 PM, Uri Shacked wrote:<u1:p></u1:p><o:p></o:p></span></font></p>
                                                    </div>
                                                    <blockquote
                                                      style="margin-top:5.0pt;margin-bottom:5.0pt"
                                                      type="cite">
                                                      <div>
                                                        <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">Hi,<u1:p></u1:p></span></font><o:p></o:p></p>
                                                        </div>
                                                        <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">As i wrote, when the
                                                          BYE is
                                                          "normal" not
                                                          generated form
                                                          dlg_timeout.
                                                          srv2 that
                                                          forwards
                                                          it, does it
                                                          OK.<u1:p></u1:p></span></font><o:p></o:p></p>
                                                        </div>
                                                        <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">The TO/From headers
                                                          in my scenario
                                                          are the same
                                                          as the initial
                                                          request in
                                                          both servers
                                                          (there are 2
                                                          legs for each
                                                          call (incoming
                                                          and outgoing),
                                                          on each leg i
                                                          use the same
                                                          initial
                                                          headers.Ii
                                                          hope i was
                                                          more clear
                                                          now.<u1:p></u1:p></span></font><o:p></o:p></p>
                                                        </div>
                                                        <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">Thanks,<u1:p></u1:p></span></font><o:p></o:p></p>
                                                        </div>
                                                        <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">Uri<u1:p></u1:p></span></font><o:p></o:p></p>
                                                        </div>
                                                      </div>
                                                      <div>
                                                        <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"><font color="black" face="Times New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A""><u1:p> </u1:p></span></font><o:p></o:p></p>
                                                        <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">On Thu, Apr 25, 2013
                                                          at 2:50 PM,
                                                          Klaus Darilion
                                                          <<a
                                                          href="mailto:klaus.mailinglists@pernau.at"
target="_blank" moz-do-not-send="true">klaus.mailinglists@pernau.at</a>>
                                                          wrote:<u1:p></u1:p></span></font><o:p></o:p></p>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">IMO the
                                                          timeout-triggered
                                                          BYE should
                                                          have identical
                                                          From/To
                                                          headers as the
                                                          initial
                                                          request -
                                                          otherwise it
                                                          may cause
                                                          issues with
                                                          clients that
                                                          are strict, or
                                                          rely
                                                          on identical
                                                          headers (like
                                                          in your
                                                          setup).<br>
                                                          <br>
                                                          regards<br>
                                                          Klaus <u1:p></u1:p></span></font><o:p></o:p></p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A""><br>
                                                          <br>
                                                          On <a
                                                          href="tel:25.04.2013%2013"
target="_blank" moz-do-not-send="true" value="+12504201313">25.04.2013
                                                          13</a>:30, Uri
                                                          Shacked wrote:<u1:p></u1:p></span></font><o:p></o:p></p>
                                                          </div>
                                                          <blockquote
                                                          style="border:none;border-left:solid
                                                          #CCCCCC
                                                          1.0pt;padding:0cm
                                                          0cm 0cm 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
                                                          <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">Hi,<br>
                                                          <br>
                                                          Following this
                                                          issue, and the
                                                          issue "BYE
                                                          dialog timeout
                                                          bad syntax"
                                                          from<br>
                                                          Julia.<br>
                                                          <br>
                                                          I have 2
                                                          kamailio
                                                          servers. srv1
                                                          creates a
                                                          dlg_timeout
                                                          BYE and sends
                                                          it<br>
                                                          to srv2 that
                                                          forwards the
                                                          BYE to the
                                                          next sip
                                                          server (some
                                                          other
                                                          server...).<br>
                                                          <br>
                                                          I can
                                                          definitely see
                                                          that the BYE
                                                          that is being
                                                          forward is
                                                          malformed.<br>
                                                          The TO header
                                                          info is not
                                                          complete (the
                                                          port section
                                                          for example).<br>
                                                          <br>
                                                          When a
                                                          "normal" bye
                                                          is received
                                                          from srv1 (not
                                                          dlg_timeout)
                                                          all works
                                                          fine.<br>
                                                          <br>
                                                          One thing that
                                                          i do in this
                                                          scenario, on
                                                          srv2 i use
                                                          uac_replace()
                                                          on the<br>
                                                          TO header. So,
                                                          it is OK that
                                                          the final
                                                          destination is
                                                          different (i
                                                          do<br>
                                                          translations).<br>
                                                          <br>
                                                          I attached the
                                                          BYE from both
                                                          servers.<br>
                                                          <br>
                                                          Any ideas?<br>
                                                          <br>
                                                          Thanks,<br>
                                                          <br>
                                                          Uri<br>
                                                          <br>
                                                          You probably
                                                          meant the To
                                                          and From
                                                          headers, I'm
                                                          guessing.
                                                          Yeah, as long<br>
                                                          as there is no
                                                          display name
                                                          component,
                                                          URIs in
                                                          headers like
                                                          that don't<br>
                                                          have to go in
                                                          <>s. The
                                                          way Kamailio
                                                          sends it is
                                                          grammatically
                                                          valid, per<br>
                                                          RFC 3261. The
                                                          user agents
                                                          are at fault
                                                          for not
                                                          understanding
                                                          it<br>
                                                          correctly.
                                                          Alex Balashov
                                                          <abalashov
                                                          at <a
                                                          href="http://evaristesys.com"
target="_blank" moz-do-not-send="true">evaristesys.com</a><u1:p></u1:p></span></font><o:p></o:p></p>
                                                          </div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A""><<a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>>
                                                          wrote:<br>
                                                           >/"BYE
                                                          headers"?
                                                          Which headers?
                                                          />//>/Uri
                                                          Shacked
                                                          <ushacked
                                                          at<br>
                                                          <a
                                                          href="http://gmail.com"
target="_blank" moz-do-not-send="true">gmail.com</a><br>
                                                          <<a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>>>
                                                          wrote:<br>
                                                          />//>>/Hi,
                                                          />>//>>/I
                                                          think there is
                                                          a bug with the
                                                          BYE
                                                          that is sent
                                                          to<br>
                                                          the caller and
                                                          />>/callee
                                                          />>/when
                                                          dialog timeout
                                                          happends.
/>>//>>/The<br>
                                                          BYE headers
                                                          are sent with
                                                          no "<" or
                                                          ">".
                                                          />>/So,
                                                          some sip
                                                          singaling<br>
                                                          points decline
                                                          the BYE.
                                                          />>//>>/BR,
                                                          />>/Uri<br>
/>>//>>//>>/------------------------------------------------------------------------<br>
                                                          />>//>>/_______________________________________________
/>>/SIP
                                                          Express<br>
                                                          Router (SER)
                                                          and Kamailio
                                                          (OpenSER) -
                                                          sr-users
                                                          mailing
                                                          />/list<br>
                                                          />>/sr-users
                                                          at <a
                                                          href="http://lists.sip-router.org"
target="_blank" moz-do-not-send="true">lists.sip-router.org</a><br>
                                                          <<a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>><br>
                                                          />>/<a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                                          />//>/--
                                                          />/Sent
                                                          from my
                                                          mobile, and
                                                          thus lacking
                                                          in the
                                                          refinement
                                                          one<br>
                                                          might
                                                          />/expect
                                                          from a
                                                          fully-fledged
                                                          keyboard.
                                                          />//>/Alex
                                                          Balashov -<br>
                                                          Principal
                                                          />/Evariste
                                                          Systems LLC
                                                          />/<st1:street
                                                          u4:st="on"><st1:address
                                                          u4:st="on"><st1:street
                                                          w:st="on"><st1:address
                                                          w:st="on">235
                                                          E Ponce de
                                                          Leon Ave</st1:address></st1:street></st1:address></st1:street>
                                                          />/Suite<br>
                                                          106 />/<st1:city
                                                          u4:st="on"><st1:city
                                                          w:st="on">Decatur</st1:city></st1:city>,
                                                          <st1:state
                                                          u4:st="on"><st1:state
                                                          w:st="on">GA</st1:state></st1:state>
                                                          <st1:postalcode
                                                          u4:st="on"><st1:postalcode
                                                          w:st="on">30030</st1:postalcode></st1:postalcode>
                                                          />/<st1:country-region
                                                          u4:st="on"><st1:place
                                                          u4:st="on"><st1:country-region
                                                          w:st="on"><st1:place
                                                          w:st="on">United
                                                          States</st1:place></st1:country-region></st1:place></st1:country-region>
                                                          />/Tel: <a
href="tel:%2B1-678-954-0670" target="_blank" moz-do-not-send="true"
                                                          value="+16789540670">+1-678-954-0670</a><br>
                                                          />/Web: <a
href="http://www.evaristesys.com/" target="_blank"
                                                          moz-do-not-send="true">http://www.evaristesys.com/</a>,
                                                          <a
                                                          href="http://www.alexbalashov.com/"
target="_blank" moz-do-not-send="true">http://www.alexbalashov.com/</a><br>
                                                          />//>/_______________________________________________
                                                          />/SIP
                                                          Express<br>
                                                          Router (SER)
                                                          and Kamailio
                                                          (OpenSER) -
                                                          sr-users
                                                          mailing list
                                                          />/sr-users<br>
                                                          at <a
                                                          href="http://lists.sip-router.org"
target="_blank" moz-do-not-send="true">lists.sip-router.org</a><br>
                                                          <<a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>><br>
                                                          />/<a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
                                                          / -- <u1:p></u1:p></span></font><o:p></o:p></p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"><font color="black" face="Times New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A""><br>
                                                          Sent from my
                                                          Nexus 10, with
                                                          all the
                                                          figments of
                                                          autocorrect
                                                          that might<br>
                                                          imply. Alex
                                                          Balashov -
                                                          Principal
                                                          Evariste
                                                          Systems LLC
                                                          235 E Ponce de<br>
                                                          <st1:street
                                                          u4:st="on"><st1:address
                                                          u4:st="on"><st1:street
                                                          w:st="on"><st1:address
                                                          w:st="on">Leon
                                                          Ave</st1:address></st1:street></st1:address></st1:street>
                                                          <st1:address
                                                          u4:st="on"><st1:street
                                                          u4:st="on"><st1:address
                                                          w:st="on"><st1:street
                                                          w:st="on">Suite</st1:street></st1:address></st1:street>
                                                          106</st1:address>
                                                          <st1:place
                                                          u4:st="on"><st1:city
                                                          u4:st="on"><st1:place
                                                          w:st="on"><st1:city
                                                          w:st="on">Decatur</st1:city></st1:place></st1:city>,
                                                          <st1:state
                                                          u4:st="on"><st1:state
                                                          w:st="on">GA</st1:state></st1:state>
                                                          <st1:postalcode
                                                          u4:st="on"><st1:postalcode
                                                          w:st="on">30030</st1:postalcode></st1:postalcode>
                                                          <st1:country-region
                                                          u4:st="on"><st1:country-region
                                                          w:st="on">United
                                                          States</st1:country-region></st1:country-region></st1:place>
                                                          Tel: <a
                                                          href="tel:%2B1-678-954-0670"
target="_blank" moz-do-not-send="true" value="+16789540670">+1-678-954-0670</a><br>
                                                          Web: <a
                                                          href="http://www.evaristesys.com/"
target="_blank" moz-do-not-send="true">http://www.evaristesys.com/</a>,
                                                          <a
                                                          href="http://www.alexbalashov.com/"
target="_blank" moz-do-not-send="true">http://www.alexbalashov.com/</a><br>
                                                          --------------
                                                          next part
                                                          --------------
                                                          An HTML
                                                          attachment was<br>
                                                          scrubbed...
                                                          URL:<br>
                                                          <<a
href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130422/0c752722/attachment.html"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/pipermail/sr-users/attachments/20130422/0c752722/attachment.html</a>><br>
                                                          <br>
                                                          <br>
                                                          <br>
                                                          </span></font><o:p></o:p></p>
                                                          </div>
                                                          <u1:p></u1:p>
                                                          <div>
                                                          <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A"">_______________________________________________<br>
                                                          SIP Express
                                                          Router (SER)
                                                          and Kamailio
                                                          (OpenSER) -
                                                          sr-users
                                                          mailing list<u1:p></u1:p></span></font><o:p></o:p></p>
                                                          </div>
                                                          <p
                                                          class="MsoNormal"
style="margin-bottom:12.0pt"><font color="black" face="Times New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A""><a href="mailto:sr-users@lists.sip-router.org"
                                                          target="_blank"
moz-do-not-send="true">sr-users@lists.sip-router.org</a><br>
                                                          <a
                                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><u1:p></u1:p></span></font><o:p></o:p></p>
                                                          </blockquote>
                                                        </div>
                                                        <p
                                                          class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New
                                                          " size="3"><span
                                                          style="font-size:12.0pt;font-family:"Times
New\000D\000A""><u1:p> </u1:p></span></font><o:p></o:p></p>
                                                      </div>
                                                      <p
                                                        class="MsoNormal"><font
                                                          color="black"
                                                          face="Times
                                                          New Roman"
                                                          size="3"><span
style="font-size:12.0pt"><br>
                                                          <br>
                                                          <br>
                                                          <o:p></o:p></span></font></p>
                                                      <u1:p></u1:p>
                                                      <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt"><fieldset></fieldset>_______________________________________________<u1:p></u1:p><o:p></o:p></span></font></pre>
                                                      <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<u1:p></u1:p><o:p></o:p></span></font></pre>
                                                      <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt"><a href="mailto:sr-users@lists.sip-router.org" target="_blank" moz-do-not-send="true">sr-users@lists.sip-router.org</a><u1:p></u1:p><o:p></o:p></span></font></pre>
                                                      <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt"><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><u1:p></u1:p><o:p></o:p></span></font></pre>
                                                    </blockquote>
                                                    <p class="MsoNormal"><font
                                                        color="black"
                                                        face="Times New
                                                        Roman" size="3"><span
style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
                                                  </div>
                                                </div>
                                                <pre cols="72"><font color="#888888" face="Courier New" size="2"><span style="font-size:10.0pt;color:#888888">-- <u1:p></u1:p></span></font><o:p></o:p></pre>
                                                <pre><font color="#888888" face="Courier New" size="2"><span style="font-size:10.0pt;
color:#888888">Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank" moz-do-not-send="true">http://www.asipto.com</a><u1:p></u1:p></span></font><o:p></o:p></pre>
                                                <pre><font color="#888888" face="Courier New" size="2"><span style="font-size:10.0pt;
color:#888888"><a href="http://twitter.com/#%21/miconda" target="_blank" moz-do-not-send="true">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">http://www.linkedin.com/in/miconda</a><u1:p></u1:p></span></font><o:p></o:p></pre>
                                              </div>
                                            </div>
                                            <p class="MsoNormal"><font
                                                color="black"
                                                face="Times New Roman"
                                                size="3"><span
                                                  style="font-size:12.0pt"><u1:p> </u1:p><o:p></o:p></span></font></p>
                                          </div>
                                        </blockquote>
                                        <p class="MsoNormal"><font
                                            color="black" face="Times
                                            " size="3"><span
                                              style="font-size:12.0pt;font-family:"Times\000D\000A""><br>
                                              <br>
                                              <br>
                                            </span></font><o:p></o:p></p>
                                        <u1:p></u1:p>
                                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">-- <u1:p></u1:p><o:p></o:p></span></font></pre>
                                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">Daniel-Constantin Mierla - <a href="http://www.asipto.com" moz-do-not-send="true">http://www.asipto.com</a><u1:p></u1:p><o:p></o:p></span></font></pre>
                                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt"><a href="http://twitter.com/#%21/miconda" moz-do-not-send="true">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">http://www.linkedin.com/in/miconda</a><u1:p></u1:p><o:p></o:p></span></font></pre>
                                      </u1:smarttagtype></u1:smarttagtype></u1:smarttagtype></u1:smarttagtype></u1:smarttagtype></u1:smarttagtype></u1:smarttagtype></blockquote>
                        <p class="MsoNormal"><font color="black"
                            face="Times New Roman" size="3"><span
                              style="font-size:12.0pt"><br>
                              <br>
                              <o:p></o:p></span></font></p>
                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">-- <o:p></o:p></span></font></pre>
                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></span></font></pre>
                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt"><a moz-do-not-send="true" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><o:p></o:p></span></font></pre>
                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">Kamailio Advanced Training, <st1:place w:st="on"><st1:city w:st="on">San Francisco</st1:city>, <st1:country-region w:st="on">USA</st1:country-region></st1:place> - June 24016, 2013<o:p></o:p></span></font></pre>
                        <pre><font color="black" face="Courier New" size="2"><span style="font-size:10.0pt">  * <a moz-do-not-send="true" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *<o:p></o:p></span></font></pre>
                      </div>
                    </o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></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 Trainings - Berlin, Nov 25-28
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>