I concluded that the URI in the route should be escaped automatically by t_relay().

But t_relay / t_forward_nonack is not unescaping the transport and failing with :

4(34) ERROR: tm [ut.h:245]: uri2dst2(): bad_uri: sip:247.25.169.51:52307%3Btransport%3Dtls
4(34) ERROR: tm [t_fwd.c:1728]: t_forward_nonack(): failure to add branches
OPTIONS sip:143146457@147.175.169.51:59843;transport=TCP;ob SIP/2.0.
Max-Forwards: 20.
Record-Route: <sip:137.15.81.151;transport=tcp;r2=on;lr>.
Record-Route: <sip:137.15.81.151;r2=on;lr>.
Via: SIP/2.0/TCP 137.15.81.151;branch=z9hG4bK8c0f.3cf10122ac1fcfef5235efdcf33063e6.0.
Via: SIP/2.0/UDP 52.40.141.109:5060;branch=z9hG4bK6096674.
Route: <sip:137.15.81.151;lr;received=sip:147.175.169.51:59843%3Btransport%3Dtcp>.
From: sip:ping@invalid;tag=uloc-5e3e08d7-1c-fb94099-a8e0dba6-897d7be9.
To: sip:143146457@147.175.169.51:59843;transport=TCP;ob.
Call-ID: cb1d2386-8cf283b9-46be071@0.0.0.0.
CSeq: 1 OPTIONS.
Content-Length: 0.
Max-Forward: 10.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.