Hi Adrian,

After some digging I found that the issue was fixed in March 2016 :
https://github.com/OpenSIPS/opensips/commit/dc229a1ac6312cba9db75e49bc09b931a549375f

So, update your 2.1 to the latest minor release (or git code) and it should be fine :)

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07.08.2016 21:36, Adrian Fretwell wrote:

Hi Bogdan,

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:

$(TH_callee_callid{re.subst,/=/-/g})

Kind regards,

Adrian Fretwell

On 07/08/16 18:50, Bogdan-Andrei Iancu wrote:
Hi Adrian,

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).

Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 05.08.2016 18:14, Adrian Fretwell wrote:

Hello, may I ask for a little help?

Using Topology Hiding Module in Opensips 2.1.2. I'm finding that looking at a tcpdump the Call_ID looks like this:

LTXCH01_c1FNUVlRXkNvaA--

But when I log $TH_callee_callid "xlog("L_INFO", "sequential: Callee side callid is $TH_callee_callid");" the Call_ID looks like this:

LTXCH01_c1FNUVlRXkNvaA==

Notice the dashes are replaced with equals signs.

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

        if (is_method("NOTIFY")) {
            if( !remove_hf("Call-ID")) {
                sl_send_reply("503", "Service Unavailable");
                xlog("L_INFO", "sequential: could not remove header");
                exit;
            }
            append_hf("Call-ID: $TH_callee_callid\r\n", "To");
        }

Could this be a bug or am I doing something silly?

Kind regards,

Adrian Fretwell


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to