<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Adrian,<br>
      <br>
      After some digging I found that the issue was fixed in March 2016
      :<br>
         
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/dc229a1ac6312cba9db75e49bc09b931a549375f">https://github.com/OpenSIPS/opensips/commit/dc229a1ac6312cba9db75e49bc09b931a549375f</a><br>
      <br>
      So, update your 2.1 to the latest minor release (or git code) and
      it should be fine :)<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 07.08.2016 21:36, Adrian Fretwell
      wrote:<br>
    </div>
    <blockquote
      cite="mid:6b8a1de4-065a-a5cc-153f-c6f095d799c6@topgreen.co.uk"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <p><font size="-1">Hi Bogdan,</font></p>
      <p><font size="-1">Yes it happens every time the encrypted Call-ID
          ends up with an equals sign, but I have worked around it with
          a transformation that so far has not failed:</font></p>
      <p><font size="-1">$(TH_callee_callid{re.subst,/=/-/g})</font><br>
      </p>
      <div class="moz-signature"><font size="-1"><font face="Verdana">Kind
            regards,<br>
            <br>
            Adrian Fretwell<br>
          </font></font> </div>
      <div class="moz-cite-prefix"><br>
        On 07/08/16 18:50, Bogdan-Andrei Iancu wrote:<br>
      </div>
      <blockquote
        cite="mid:4362b1e1-180f-8ac3-71ee-7f7247b1c605@opensips.org"
        type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <tt>Hi Adrian,<br>
          <br>
          The code (for the $TH_callee_callid variable) should convert
          the internal '=' into '-', but it looks like it fails. Is this
          happening all the time for you ? (I'm just looking for an easy
          way to reproduce).<br>
          <br>
          Best regards,<br>
        </tt>
        <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
        <div class="moz-cite-prefix">On 05.08.2016 18:14, Adrian
          Fretwell wrote:<br>
        </div>
        <blockquote
          cite="mid:6e5cd9b4-3b09-9bad-fcb0-a2775ac23afb@topgreen.co.uk"
          type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=windows-1252">
          <p><font size="-1">Hello, may I ask for a little help?</font></p>
          <p><font size="-1">Using Topology Hiding Module in Opensips
              2.1.2.  I'm finding that looking at a tcpdump the Call_ID
              looks like this: <br>
            </font></p>
          <p><font size="-1">LTXCH01_c1FNUVlRXkNvaA--  <br>
            </font></p>
          <p><font size="-1">But when I log $TH_callee_callid
              "xlog("L_INFO", "sequential: Callee side callid is
              $TH_callee_callid");" the Call_ID looks like this:</font></p>
          <p><font size="-1">LTXCH01_c1FNUVlRXkNvaA==</font></p>
          <p><font size="-1">Notice the dashes are replaced with equals
              signs.</font></p>
          <p><font size="-1">If I rewrite the Call-ID for NOTIFY
              messages with the value of $TH_callee_callid the tcpdump
              will show the Call-ID with the equals signs (==) not the
              dashes</font></p>
          <p><font size="-1">        if (is_method("NOTIFY")) {<br>
                          if( !remove_hf("Call-ID")) {<br>
                              sl_send_reply("503", "Service
              Unavailable");<br>
                              xlog("L_INFO", "sequential: could not
              remove header");<br>
                              exit;<br>
                          }<br>
                          append_hf("Call-ID: $TH_callee_callid\r\n",
              "To");<br>
                      }<br>
            </font></p>
          <p><font size="-1">Could this be a bug or am I doing something
              silly?<br>
            </font></p>
          <font size="-1"><font face="Verdana">Kind regards,</font></font><br>
          <div class="moz-signature"><font size="-1"><font
                face="Verdana"><br>
                Adrian Fretwell<br>
              </font></font> </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>