Hi Bogdan,<br>I tried to modify msg_translator.c, change line 1933 from <br><br> if ((send_sock->port_no!=SIP_PORT) || (port_str!=&send_sock->port_no_str))<br>to <br> if (1)<br><br>It seem work now. <br><br><br>
<div class="gmail_quote">2010/2/3 Lei Tang <span dir="ltr"><<a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Bogdan and Iñaki, Thank you every much.<br>Bogdan, Could you send me the patch? <br><br><div class="gmail_quote">2010/2/2 Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net" target="_blank">ibc@aliax.net</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">El Martes, 2 de Febrero de 2010, Bogdan-Andrei Iancu escribió:<br>
<div>> Hi Iñaki,<br>
><br>
> actually there is no param to force adding port to the local VIA when<br>
> the port is the SIP default one (just checked the code).<br>
<br>
</div>Sure? what about "advertised_port=5060"? :)<br>
<br>
Some years ago I used it in openser 1.2 to avoid a stupid bug in a stupid<br>
gateway (Nortel CS2K, the worst machine in the world).<br>
<div><br>
<br>
<br>
--<br>
Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net" target="_blank">ibc@aliax.net</a>><br>
<br>
_______________________________________________<br>
</div><div><div></div><div>Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div></div></div><br><br clear="all"><div><div></div><div class="h5"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com" target="_blank">lei.tlfly@gmail.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lei.Tang<br><a href="mailto:lei.tlfly@gmail.com">lei.tlfly@gmail.com</a><br>