[OpenSIPS-Users] BYE in a load balancing with asterisk scenario

Alexandr A. Alexandrov shurrman at gmail.com
Fri Oct 8 14:06:35 CEST 2010


Hi Bogdan,

Yes, adding
route[2] {
   if (isflagset(6)) {
     force_rport();
     fix_nated_contact();
   }
}

and performing test for NATed client in the main block did the trick.
Thanks!


08.10.2010 15:37, Bogdan-Andrei Iancu:
> Hi Alexandr,
>
> The problem is with the Contact in INVITE - it carries a private IP
> which cannot be route. So from asterisk point of view, the other
> end-point has a private IP.
>
> What you need to do is to fix the private contact in INVITE by using
> fix_nated_contact() function (see nathelper module):
>
> http://www.opensips.org/html/docs/modules/1.6.x/nathelper.html#id270980
>
> Regards,
> Bogdan
>
>    




More information about the Users mailing list