<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
I am in need of putting a sbc or sip proxy in front of our existing sip
solution to help solve a very specific problem.<br>
The SIP Trunk provider won't send to anything but port 5060, and the
existing sip solution listens to port 5080 ONLY.<br>
(background:&nbsp;&nbsp; sipxecs.&nbsp; yes, they are using freeswitch inside for a
couple of things)<br>
<br>
I have tried simple port redirection with iptables, and while it SEEMS
to work, the sip packets don't.<br>
<br>
so, does anyone know of a simple solution? I don't really want to
replicate all the users, dial plans, sip trunk accounts on freeswitch.<br>
<br>
Just basically, anything coming in from a certain ip to the freeswitch
port 5060, 'sipproxy' it to port 5080 on the internal system.<br>
then, anything sent out from the one certain internal ip, sourced on
port 5080 to port 5060, send it to the external sip trunk provider.<br>
<br>
Using ip based authentication all around. I assume using an ip based
condition with a FWD, (but the FWD would need to be generic)<br>
if call comes in from siptrunkprovider&nbsp; to
<a class="moz-txt-link-abbreviated" href="mailto:1000@freeswitch.secnap.com:5060">1000@freeswitch.secnap.com:5060</a> , I want it transparently forwarded to
<a class="moz-txt-link-abbreviated" href="mailto:1000@sipx.secnap.com:5080">1000@sipx.secnap.com:5080</a><br>
<br>
if an internal call goes out to <a class="moz-txt-link-abbreviated" href="mailto:5619995000@freeswitch.com:5060">5619995000@freeswitch.com:5060</a>, I want
it transparently forwarded to <a class="moz-txt-link-abbreviated" href="mailto:5619995000@siptrunkprovider.com:5060">5619995000@siptrunkprovider.com:5060</a><br>
<br>
(yes, I tried simple port mapping.&nbsp; worked with tcp on http, and ALMOST
worked with udp on tftp, but audio was mangled)<br>
<br>
sipx suggested purchasing an ingate siperaor.&nbsp; hard to justify $4 or
$5K when I could replace sipx with a commercial system for that price.<br>
(yes, I could move everything to freeswitch, and I might, but I am
under a deadline )<br>
<br>
<br>
<div class="moz-signature">-- <br>
Michael Scheidell, CTO<br>
o: 561-999-5000<br>
d: 561-948-2259<br>
ISN: 1259*1300<br>
<font color="#999999">&gt;</font><font color="#cc0000"> <b>| </b></font>SECNAP
Network Security Corporation
<style type="text/css">
<!--
.unnamed1 {
        margin: 1em;
        padding: 1px;
} -->
</style>
<ul class="unnamed1">
  <li>Certified SNORT Integrator</li>
  <li>2008-9 Hot Company Award Winner, World Executive Alliance</li>
  <li>Five-Star Partner Program 2009, VARBusiness</li>
  <li>Best in Email Security,2010: Network Products Guide</li>
  <li>King of Spam Filters, SC Magazine 2008</li>
</ul>
</div>

<br>
<div id="disclaimer.secnap.com"><hr />
<p>This email has been scanned and certified safe by SpammerTrap&reg;.
<br />For Information please see
<a href="http://www.secnap.com/products/spammertrap/">http://www.secnap.com/products/spammertrap/</a></p> <hr /></div>
<br>
</body>
</html>