<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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 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 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>