<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Is there a tool that will allow me to automatically change sip headers in realtime?<BR><BR>--- On <B>Wed, 26/5/10, Motiejus Jakštys <I>&lt;desired.mta@gmail.com&gt;</I></B> wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Motiejus Jakštys &lt;desired.mta@gmail.com&gt;<BR>Subject: Re: [asterisk-users] Help with IP Routing<BR>To: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<BR>Date: Wednesday, 26 May, 2010, 1:17 PM<BR><BR>
<DIV class=plainMail>Assume previous IP is LAN. Forwarding public IP ports to LAN is<BR>straighforward. However, with SIP headers you will (don't know H323)<BR>have to modify outgoing SIP headers: replace LAN ip with WAN ip.<BR>For callers you have to substitute RTP destination IP<BR>For callees you have to substitute RTP source IP.<BR><BR>I`m afraid you will have to check more details here:<BR><A href="http://www.ietf.org/rfc/rfc3261.txt" target=_blank>http://www.ietf.org/rfc/rfc3261.txt</A><BR>Maybe client sends server it's own IP address?<BR><BR>However, dumb header substitution + port range forwarding should work<BR>in all cases for SIP.<BR><BR>On Wed, May 26, 2010 at 3:55 PM, Nivin Kumar &lt;<A href="http://in.mc956.mail.yahoo.com/mc/compose?to=nivinkumar24@yahoo.in" ymailto="mailto:nivinkumar24@yahoo.in">nivinkumar24@yahoo.in</A>&gt; wrote:<BR>&gt;<BR>&gt; Hello,<BR>&gt;<BR>&gt; I'm in a bit of a fix. We have a particular Windows based softswitch
 which is has its SIP and H323 ports hardcoded to listen on a particular IP address. The problem is that the ISP is having major issues and we can no longer depend on them for service. The softswitch will not listen on any other IP address and this can not be fixed. I was thinking of creating a NAT network wherein we will forward all traffic from another public ip address to this server, however I'm not sure how this will work. Do I need to modify the sip headers? Any thoughts or suggestions?<BR>&gt;<BR>&gt; Thanks,<BR>&gt; Nivin<BR>&gt;<BR>&gt; --<BR>&gt; _____________________________________________________________________<BR>&gt; -- Bandwidth and Colocation Provided by <A href="http://www.api-digital.com/" target=_blank>http://www.api-digital.com</A> --<BR>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A href="http://www.asterisk.org/hello"
 target=_blank>http://www.asterisk.org/hello</A><BR>&gt;<BR>&gt; asterisk-users mailing list<BR>&gt; To UNSUBSCRIBE or update options visit:<BR>&gt; &nbsp; <A href="http://lists.digium.com/mailman/listinfo/asterisk-users" target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR>-- <BR>_____________________________________________________________________<BR>-- Bandwidth and Colocation Provided by <A href="http://www.api-digital.com/" target=_blank>http://www.api-digital.com</A> --<BR>New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<A href="http://www.asterisk.org/hello" target=_blank>http://www.asterisk.org/hello</A><BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp;&nbsp;<A href="http://lists.digium.com/mailman/listinfo/asterisk-users"
 target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV></BLOCKQUOTE></td></tr></table><br>