Hi Lei,

Indeed, that is the right place to change.

Regards,
Bogdan

Lei Tang wrote:
> Hi Bogdan,
> I tried to modify msg_translator.c, change line 1933 from
>
>   if ((send_sock->port_no!=SIP_PORT) || 
> (port_str!=&send_sock->port_no_str))
> to
>   if (1)
>
> It seem work now.
>
>
> 2010/2/3 Lei Tang <[email protected] <mailto:[email protected]>>
>
>     Hi Bogdan and Iñaki, Thank you every much.
>     Bogdan, Could you send me the patch? 
>
>     2010/2/2 Iñaki Baz Castillo <[email protected] <mailto:[email protected]>>
>
>         El Martes, 2 de Febrero de 2010, Bogdan-Andrei Iancu escribió:
>         > Hi Iñaki,
>         >
>         > actually there is no param to force adding port to the local
>         VIA when
>         > the port is the SIP default one (just checked the code).
>
>         Sure? what about "advertised_port=5060"? :)
>
>         Some years ago I used it in openser 1.2 to avoid a stupid bug
>         in a stupid
>         gateway (Nortel CS2K, the worst machine in the world).
>
>
>
>         --
>         Iñaki Baz Castillo <[email protected] <mailto:[email protected]>>
>
>         _______________________________________________
>         Users mailing list
>         [email protected] <mailto:[email protected]>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
>     -- 
>     Lei.Tang
>     [email protected] <mailto:[email protected]>
>
>
>
>
> -- 
> Lei.Tang
> [email protected] <mailto:[email protected]>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to