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:[email protected]: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:[email protected] <mailto:sip%[email protected]>\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
[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