[Freeswitch-users] Bind to multiple ports with Sofia

Ken Rice krice at freeswitch.org
Sun Apr 28 20:12:41 MSD 2013


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 at 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 at 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 at 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 at 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 at freeswitch.org
>>>> > http://www.freeswitchsolutions.com
>>>> >
>>>> > 
>>>> > 
>>>> >
>>>> > Official FreeSWITCH Sites
>>>> > http://www.freeswitch.org
>>>> > http://wiki.freeswitch.org
>>>> > http://www.cluecon.com
>>>> >
>>>> > FreeSWITCH-users mailing list
>>>> > FreeSWITCH-users at 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 at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130428/8f12b015/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list