[OpenSIPS-Users] Topology Hiding module Call_ID encryption

Bogdan-Andrei Iancu bogdan at opensips.org
Sun Aug 7 19:50:24 CEST 2016


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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160807/f6303260/attachment.htm>


More information about the Users mailing list