I have found this: <a href="http://jira.freeswitch.org/browse/MODENDP-184">http://jira.freeswitch.org/browse/MODENDP-184</a><div>Thanks to which I know that adding </div><div><br></div><div> <param name="outbound-proxy" value="78.24.13.197"/></div>
<div><br></div><div> to the profile XML does almost what I need. Is it possible to configure outbound proxy per gateway though?</div><div><br></div><div>Cheers,</div><div>Jan</div><div><br><div class="gmail_quote">On Sun, Jun 21, 2009 at 1:04 PM, Jan Kubr <span dir="ltr"><<a href="mailto:jan.kubr@gmail.com">jan.kubr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">We have a SIP gateway behind NAT which I haven't been able to set up<br>
to work with Freeswitch. The configuration I thought would work is:<br>
<br>
<include><br>
<gateway name="nat"><br>
<param name="username" value="user"/><br>
<param name="password" value="pass"/><br>
<param name="realm" value="11.12.13.10"/><br>
<param name="proxy" value="78.24.13.197"/><br>
</gateway><br>
</include><br>
<br>
This, however, sends<br>
<br>
REGISTER sip:78.24.13.197;transport=udp SIP/2.0<br>
<br>
whereas I need<br>
<br>
REGISTER sip:11.12.13.10;transport=udp SIP/2.0<br>
<br>
When I set "register-proxy" to the public address (78.24.13.197) and<br>
comment the "proxy" param out, it successfully registers. Though any<br>
other SIP messages are sent to 11.12.13.10 which obviously fails.<br>
<br>
Basically what I need Freeswitch to do is to send everything to the<br>
public address, but put the private one everywhere in the SIP<br>
messages. How do I do this?<br>
<br>
Thanks,<br>
<font color="#888888">Jan<br>
</font></blockquote></div><br></div>