[Freeswitch-users] Easy question, I hope just need to proxy port 5060 to 5080

Michael Scheidell michael.scheidell at secnap.com
Tue Aug 24 17:17:48 PDT 2010


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.
The SIP Trunk provider won't send to anything but port 5060, and the 
existing sip solution listens to port 5080 ONLY.
(background:   sipxecs.  yes, they are using freeswitch inside for a 
couple of things)

I have tried simple port redirection with iptables, and while it SEEMS 
to work, the sip packets don't.

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.

Just basically, anything coming in from a certain ip to the freeswitch 
port 5060, 'sipproxy' it to port 5080 on the internal system.
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.

Using ip based authentication all around. I assume using an ip based 
condition with a FWD, (but the FWD would need to be generic)
if call comes in from siptrunkprovider  to 
1000 at freeswitch.secnap.com:5060 , I want it transparently forwarded to 
1000 at sipx.secnap.com:5080

if an internal call goes out to 5619995000 at freeswitch.com:5060, I want 
it transparently forwarded to 5619995000 at siptrunkprovider.com:5060

(yes, I tried simple port mapping.  worked with tcp on http, and ALMOST 
worked with udp on tftp, but audio was mangled)

sipx suggested purchasing an ingate siperaor.  hard to justify $4 or $5K 
when I could replace sipx with a commercial system for that price.
(yes, I could move everything to freeswitch, and I might, but I am under 
a deadline )


-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300
 > *| *SECNAP Network Security Corporation

    * Certified SNORT Integrator
    * 2008-9 Hot Company Award Winner, World Executive Alliance
    * Five-Star Partner Program 2009, VARBusiness
    * Best in Email Security,2010: Network Products Guide
    * King of Spam Filters, SC Magazine 2008


______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100824/73412f0f/attachment.html 


More information about the FreeSWITCH-users mailing list