Hello Alex, Is for mix of tcp transport and alias is required add any additional parameters in global configuration ?
Slava.
From: "Alex Balashov" abalashov@evaristesys.com To: "sr-users" sr-users@lists.sip-router.org Sent: Saturday, March 28, 2015 5:26:16 PM Subject: Re: [SR-Users] NAT Contact:
Hello Slava,
On 03/28/2015 02:26 PM, Slava Bendersky wrote:
How is possible add to Contact: received=ip ? Is this should be handled by fix_nated_contact()
This is not the function of fix_nated_contact(). Have a look at a add_rcv_param():
http://kamailio.org/docs/modules/4.2.x/modules/nathelper.html#nathelper.f.ad...
Someone might correct me if I'm wrong, but I believe the problem with the ;received approach is that it's only useful for registrations, since only the registrar module has a provision that allows it to be used automatically. So, for larger applications outside of registration, you should take a look at the new add_contact_alias() / handle_ruri_alias() facility:
http://kamailio.org/docs/modules/4.2.x/modules/nathelper.html#nathelper.f.ad...
http://kamailio.org/docs/modules/4.2.x/modules/nathelper.html#nathelper.f.ha...
-- Alex
On 03/28/2015 07:26 PM, Slava Bendersky wrote:
Is for mix of tcp transport and alias is required add any additional parameters in global configuration ?
I wouldn't think so.