I guess you need to use "alias =..."<br><br><div class="gmail_quote">On Mon, Jun 8, 2009 at 4:40 AM, Husam Senussi <span dir="ltr"><<a href="mailto:husam@senussi.com">husam@senussi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I used those ... but the server stlll sending private IP addresses<br>
<div><div></div><div class="h5"><br>
On 7 Jun 2009, at 22:23, Saúl Ibarra wrote:<br>
<br>
> You may use advertised_address and advertised_port<br>
> (<a href="http://www.opensips.org/Resources/DocsCoreFcn15#toc24" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn15#toc24</a>) but I don't<br>
> think having OpenSIPS and rtpproxy behind NAT is a good idea...<br>
><br>
><br>
><br>
> On Sun, Jun 7, 2009 at 6:06 PM, Husam Senussi<<a href="mailto:husam@senussi.com">husam@senussi.com</a>><br>
> wrote:<br>
>> Hi,<br>
>><br>
>> I'm running SIP server behind firewall but the some of one of sip<br>
>> phone is<br>
>> on the public network, is there any way to get opensips server to<br>
>> use public<br>
>> IPs instead of the private IPs.<br>
>><br>
>> basically i have below settig<br>
>><br>
>><br>
>> Agent with public IP (C475 IP Gigaset) ---> firewall ---> opensips<br>
>> ----><br>
>> user agent (X-Lite)<br>
>><br>
>> I'm using rtpproxy.<br>
>><br>
>> With Asterisk have setting which show if the client IP is local if<br>
>> not the<br>
>> server replace the private IP with public ip when sending request<br>
>> or reply.<br>
>><br>
>> Is there something like this in opensips<br>
>><br>
>> Thanks<br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org">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>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de<br>
> disketes."<br>
> ----------------------------------------------------------------<br>
> <a href="http://www.saghul.net/" target="_blank">http://www.saghul.net/</a><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">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>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">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><br>