<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi John,<br>
      <br>
      A Request Terminated is generated in response of a received CANCEL
      request. In the scenario of a local timeout, there is not received
      cancel - it is a timeout event. I do not see any confusion in the
      reason string in CDR.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 19.04.2016 17:49, John Nash wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4rGPzGGaVYG4_ce_OY+1_D_ZqvsXND7zd0iYYGa2Q19+D_Ng@mail.gmail.com"
      type="cite">
      <div dir="ltr">Ok got it thanks. I also noticed that transactions
        cancelled because of fr_inv_timeout , CDR records as "Request
        timeout". It is quite confusion, shouldnt it be "Request
        Terminated"? or I am doing something wrong</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Apr 19, 2016 at 6:46 PM, Julian
          Santer <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:julian.santer@rolmail.net" target="_blank">julian.santer@rolmail.net</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John,<br>
            <br>
            the commit was:<br>
            <br>
            commit 8133656de9503a122a72c0f80d11eff975bc43f1<br>
            Author: Bogdan-Andrei Iancu &lt;<a moz-do-not-send="true"
              href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;<br>
            Date:   Thu Feb 11 14:58:41 2016 +0200<br>
            <br>
                Fix proper callig in local cancels with TH.<br>
            <br>
                Extend the coverage of the preocessing context and TM
            context over the cancel_branch() function (in the timeout
            handler) so the TH callbacks can reach back the dialog and
            do the TH related changes.<br>
                Reported by Julian Santer on mailing list.<span class=""><br>
              <br>
              Kind regards,<br>
              Julian Santer<br>
              Raiffeisen OnLine<br>
              <br>
            </span><span class="">
              Am 18.04.2016 um 22:35 schrieb John Nash:<br>
            </span>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">
                which revision this was fixed?...I am also using
                OpenSips 2.1.2 and want to update only this change for
                the time being (2.2 has many changes)<br>
                <br>
              </span>
              <div>
                <div class="h5">
                  On Thu, Feb 11, 2016 at 7:19 PM, Julian Santer &lt;<a
                    moz-do-not-send="true"
                    href="mailto:julian.santer@rolmail.net"
                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:julian.santer@rolmail.net">julian.santer@rolmail.net</a></a>
                  &lt;mailto:<a moz-do-not-send="true"
                    href="mailto:julian.santer@rolmail.net"
                    target="_blank">julian.santer@rolmail.net</a>&gt;&gt;
                  wrote:<br>
                  <br>
                      Bogdan,<br>
                  <br>
                      we tried now the latest GIT release and it works
                  like a charm ;-)<br>
                      Thank you for quick fix.<br>
                  <br>
                      Kind regards,<br>
                      Julian Santer<br>
                      Raiffeisen OnLine<br>
                  <br>
                      Am 11.02.2016 um 14:02 schrieb Bogdan-Andrei
                  Iancu:<br>
                  <br>
                          Julian,<br>
                  <br>
                          Please update from GIT repo and give it a new
                  try. It should work now (at least it does for me).<br>
                  <br>
                          Regards,<br>
                  <br>
                          Bogdan-Andrei Iancu<br>
                          OpenSIPS Founder and Developer<br>
                          <a moz-do-not-send="true"
                    href="http://www.opensips-solutions.com"
                    rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
                  <br>
                          On 11.02.2016 12:07, Julian Santer wrote:<br>
                  <br>
                              Hi Bogdan,<br>
                  <br>
                              thank you for your time. If you need
                  further informations (config files etc.) let me know.<br>
                  <br>
                              Kind regards,<br>
                              Julian Santer<br>
                              Raiffeisen OnLine<br>
                  <br>
                              Am 11.02.2016 um 10:26 schrieb
                  Bogdan-Andrei Iancu:<br>
                  <br>
                                  Hi Julian,<br>
                  <br>
                                  I will have to test this and come back
                  to you.<br>
                  <br>
                                  Regards,<br>
                  <br>
                                  Bogdan-Andrei Iancu<br>
                                  OpenSIPS Founder and Developer<br>
                                  <a moz-do-not-send="true"
                    href="http://www.opensips-solutions.com"
                    rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
                  <br>
                                  On 10.02.2016 17:45, Julian Santer
                  wrote:<br>
                  <br>
                                      Hi guys,<br>
                  <br>
                                      we seem to got the same issue like
                  John Nash on 2015/08/12.<br>
                                      We use OpenSips 2.1.2 with the
                  latest revision from git repo.<br>
                  <br>
                                      Like John we are not sure if it is
                  a bug or our mistake ;-)<br>
                  <br>
                                      We are using topology hiding and
                  the Call ID in the CANCEL, generated by the TM module,
                  is not the same, as the call ID in the<br>
                                      initial INVITE.<br>
                  <br>
                                      The call flow looks like:<br>
                                      PSTN carrier -&gt; gw-carrier
                  (topo hiding) -&gt; core (topo hiding) -&gt;
                  gw-consumer (topo-hiding) -&gt; UAC consumer<br>
                  <br>
                                      The CANCEL generated by the TM
                  module of the core, sended to the gw-consumer is
                  rejected by the gw-consumer.<br>
                  <br>
                                      The CANCEL starts on the core. So
                  let me show you<br>
                                      1) the initial INVITE, which the
                  core receives from the gw-carrier (Call-ID:
                  GW-CARRIER)<br>
                                      2) the initial INVITE, which the
                  core and sends to the gw-consumer (Call-ID: Core)<br>
                                      3) the CANCEL generated by the
                  core after $T_fr_inv_timeout (Call-ID: GW-CARRIER)<br>
                  <br>
                                      1)<br>
                                      INVITE sip:12345@IP_CORE SIP/2.0<br>
                                      Via: SIP/2.0/UDP
                  IP_GW-CARRIER:5060;branch=z9hG4bK6aa2.7710f555.0<br>
                                      From:
                  &lt;sip:+396789@domain&gt;;tag=E3AE5C5C-1A42<br>
                                      To: &lt;sip:12345@domain&gt;<br>
                                      Call-ID:
                  GW-CARRIER_EjJFKHdkNlktdGM2RV93ZV5MWHdlS0wvAn1HN14LYjFHLgRiXU1aHGdCWlcE<br>
                                      CSeq: 101 INVITE<br>
                                      Max-Forwards:  8<br>
                                      Remote-Party-ID:
                  &lt;sip:+396789@IP_CARRIER&gt;;party=calling;screen=yes;privacy=off<br>
                                      Contact:
                  <a class="moz-txt-link-rfc2396E" href="mailto:sip:+396789@IP_GW-CARRIER;rdlg=3db.94186637">&lt;sip:+396789@IP_GW-CARRIER;rdlg=3db.94186637&gt;</a><br>
                                      Expires: 180<br>
                                      Content-Type: application/sdp<br>
                                      Content-Length: 474<br>
                                      sdp ...<br>
                  <br>
                                      2)<br>
                                      INVITE sip:12345@IP_UAC:PORT_UAC
                  SIP/2.0<br>
                                      Via: SIP/2.0/UDP
                  IP_CORE:5060;branch=z9hG4bK45da.82f6fd55.0<br>
                                      Route:
                  &lt;sip:IP_GW-CONSUMER;lr&gt;<br>
                                      From:
                  &lt;sip:+396789@domain&gt;;tag=E3AE5C5C-1A42<br>
                                      To: &lt;sip:12345@domain&gt;<br>
                                      Call-ID:
Core_ExwGCwAcKhgvdAgnFg58LwQGAXUOXSAzC3A1JFB/FCcWCWFzGAQkXHInPFQGDzYYI3oPCCAMahZeEy11JywlCVEG<br>
                                      CSeq: 101 INVITE<br>
                                      Max-Forwards:  7<br>
                                      Remote-Party-ID:
                  &lt;sip:+396789@IP_CARRIER&gt;;party=calling;screen=yes;privacy=off<br>
                                      Contact:
                  <a class="moz-txt-link-rfc2396E" href="mailto:sip:+396789@IP_CORE;rdlg=28e.bad6c124">&lt;sip:+396789@IP_CORE;rdlg=28e.bad6c124&gt;</a><br>
                                      Expires: 180<br>
                                      Content-Type: application/sdp<br>
                                      Content-Length: 426<br>
                                      sdp ...<br>
                  <br>
                                      3)<br>
                                      CANCEL sip:12345@IP_UAC:PORT_UAC
                  SIP/2.0<br>
                                      Via: SIP/2.0/UDP
                  IP_CORE:5060;branch=z9hG4bK45da.82f6fd55.0<br>
                                      From:
                  &lt;sip:+396789@domain&gt;;tag=E3AE5C5C-1A42<br>
                                      Call-ID:
                  GW-CARRIER_EjJFKHdkNlktdGM2RV93ZV5MWHdlS0wvAn1HN14LYjFHLgRiXU1aHGdCWlcE<br>
                                      To: &lt;sip:12345@domain&gt;<br>
                                      CSeq: 101 CANCEL<br>
                                      Max-Forwards: 70<br>
                                      Route:
                  &lt;sip:IP_GW-CONSUMER;lr&gt;<br>
                                      Reason:
                  SIP;cause=480;text="NO_ANSWER"<br>
                                      User-Agent: OpenSIPS (2.1.2
                  (x86_64/linux))<br>
                                      Content-Length: 0<br>
                  <br>
                                      Kind regards,<br>
                                      Julian Santer<br>
                                      Raiffeisen OnLine<br>
                  <br>
                  <br>
                                     
                  _______________________________________________<br>
                                      Users mailing list<br>
                </div>
              </div>
                                  <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
              &lt;mailto:<a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>&gt;<span
                class=""><br>
                                    <a moz-do-not-send="true"
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                           
                _______________________________________________<br>
                            Users mailing list<br>
              </span>
                          <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
              &lt;mailto:<a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>&gt;<span
                class=""><br>
                            <a moz-do-not-send="true"
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                    _______________________________________________<br>
                    Users mailing list<br>
              </span>
                  <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
              &lt;mailto:<a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>&gt;<br>
                  <a moz-do-not-send="true"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              <br>
              <br>
              <br>
              <br>
            </blockquote>
            <div class="HOEnZb">
              <div class="h5">
                <br>
                <br>
                <br>
                _______________________________________________<br>
                Users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
  </body>
</html>