<div dir="ltr">But then I see an obvious problem on doing ti with iptables.<br><br>Nat devices will not allow the incoming packet from openser to the UAC since the original packet went from the client to port 5060 and the reply is coming from 5090...<br>
<br><div class="gmail_quote">On Thu, Oct 9, 2008 at 10:17 AM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>&gt;</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;">
<div dir="ltr">Thanks for answering, Bogdan.<br><br>On SIP level I should think. I DO listen on both ports, the probltm is that SIP simply doesn&#39;t work on port 5060 with some routers, and short of updating all router&#39;s frimware this is the only solution available. I can&#39;t touch the routers or the clients :S<br>

<br>I&#39;ve tried redirects with<br><br>$ru=&quot;sip:<a href="http://sip.domain.com:5090" target="_blank">sip.domain.com:5090</a>&quot;; # also with $ru=&quot;<a href="http://sip.domain.com:5090" target="_blank">sip.domain.com:5090</a>&quot;;<br>
sl_send_reply(&quot;302&quot;, &quot;<span>Redirect</span> to SIP provider&quot;);<br>
exit;<br><br>Don&#39;t know much about iptables, but if it CAN be done there, how would I do it?<br><br>Thanks<br><font color="#888888"><br>David</font><div><div></div><div class="Wj3C7c"><br><div class="gmail_quote">On Wed, Oct 8, 2008 at 9:07 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>&gt;</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;">Hi David,<br>
<br>
Do you want to redirect at SIP level or at IPtables level?<br>
<br>
Why don&#39;t you listen on both ports from opensips?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
David Villasmil wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
Anyone knows how to redirect from port 5060 to e.g. 5090?<br>
a simple redirect simply doesn&#39;t work.<br>
<br>
thanks to all<br>
<br>
David<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
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>
 &nbsp;<br>
</blockquote>
<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>