[OpenSIPS-Users] add_path_received and TLS - received address problem

Mark Allen mark at allenclan.co.uk
Tue Jul 20 10:26:25 EST 2021

Hmm - not sure what went wrong with my post. It seemed to add some unwanted
formatting. Here's the failing example again...

    Path: <sip:101 at 192.168.x.x;transport=tcp;r2=on;lr>
    Path: <sip:101 at 192.168.x.x

On Tue, 20 Jul 2021 at 10:49, Mark Allen <mark at allenclan.co.uk> wrote:

> I'm seeing a strange problem when using add_path_received() for
> registration of NATed UAC using TLS with OpenSIPS 3.1
> On registration add_path_received() works but the received address is not
> formatted correctly. I am seeing '%%3b' instead of a semicolon, and '%%3d'
> instead of an equals sign.
> e.g.
>     Path: <sip:101 at 192.168. <sip%3A350203 at>
> x.x;transport=tcp;r2=on;lr>
>     Path: <sip:101 at 192.168.x.x
> :5061;transport=tls;r2=on;lr;received=sip:31.x.x.x:50247%%3btransport%%3dtls>
> When the same UAC registers using UDP instead of TLS it works fine
> e.g.
>     Path: <sip:101 at 192.168.x.x;transport=tcp;r2=on;lr>
>     Path: <sip:101 at 192.168.x.x;r2=on;lr;received=sip:31.x.x.x:61731>
> What am I doing wrong???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210720/94f19804/attachment.html>

More information about the Users mailing list