Yeah, Ken. You're actually right. It might mess the sip routing, not the rtp routing. And netfilter(iptables) has 2 primary targets in the prerouting chain - DNAT and REDIRECT. you would obviously wanna use redirect, because it sends traffic to localhost on a predefined port. But i have no idea whether UAs follow sip headers or internal ipv4 data. There is a big chance NAT handling would screw up imho.
What does SDP data have to do with the SIP listening ports?
The problem you could run into with using NAT rules for this is if the UA on the users side decides to actually follow the contacts and such in the SIP headers...
As long as you arent ‘fixing’ the RTP ports or over stepping what ports are available for the RTP stream, the SDP is unaffected (or can be worked around using a smaller/different range for rtp ports in switch.conf.xml
On 4/28/13 10:39 AM, "Daniel Ivanov" <sertys@gmail.com> wrote:
You mean the REDIRECT target? Because if so, that is not the proper way to do it. It changes the connection port, but freeswitch is unaware if this change and the sdp data is gonna the carry the original port. And you get an unstable switch configuration.
On Apr 28, 2013 5:42 PM, "Luis Daniel Lucio Quiroz" <luis.daniel.lucio@gmail.com> wrote:
Try using iptables Nat PREROUTING chain, is the way i do
El abr 28, 2013 10:18 a.m., "Ken Rice" <krice@freeswitch.org> escribió:
You can have any number of domains on different profiles...
If you just need 1 domain everywhere check the force domain options on the
sip profile configs (I believe they are used in the default example configs
On 4/28/13 8:42 AM, "Emrah" <lists@kavun.ch> wrote:
> Hi guys,
>
> I need to bind to multiple ports with Sofia. If I start one profile per port,
> I cannot get a consistent registration table working. A domain can only be
> aliased to one profile if my understanding is correct.
>
> If you have a working set up, I'd appreciate some advice.
>
> Thanks,
> Emrah
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net <http://irc.freenode.net> #freeswitch
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org