[OpenSIPS-Users] unicode characters in dlg_list caller_contact field on re-invite

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Feb 23 11:59:24 UTC 2024


Hi Denis,

Could post the actual Contact hdr as received (network level like pcap 
or trace) by OpenSIPS from both caller and callee parties ?

Regards

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 22.02.2024 07:34, Denis Lyubimov wrote:
> Hi all,
>
> My network scheme is
> softphone <-nat-external network-nat-> opensips <-local network-> sip 
> servers <-local network-> softphone
> No b2b or topology_hiding modules are used.
> Opensips versions I tried: 3.4.4-1 and 3.4.3-1.
>
> I make a call from a phone behind nat to sip server via opensips, so I 
> use the fix_contact function from nat_traversal/fix_nated_contact from 
> nathelper for each request.
> On the first invite I get "caller_contact": 
> "sip:1002 at 3.3.3.1:49682;transport=TCP;ob" in "opensips-cli -x mi 
> dlg_list".
> If caller side makes re-invite, then i see this "caller_contact": 
> "\u0001" for nat_traversal,
> and this "caller_contact": "sip:1002 at 3.3.3.1 
> <mailto:sip%3A1002 at 3.3.3.1>\ufffd" with nathelper in dlg_list.
> In that case dlg_send_sequential mi dialog function cannot be used 
> cause caller contact cannot be read.
>
> Also if i make a re-invite from the caller side then the 
> caller_contact field in dlg_list starts looking normal.
>
> Am I doing something wrong with fixing the nated contact field?
>
>
> _______________________________________________
> 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/20240223/71938916/attachment.html>


More information about the Users mailing list