[Freeswitch-users] FreeSWITCH behind NAT with users on both sides

Martin Joseph astmac at stillnewt.org
Thu Aug 21 12:39:10 PDT 2008

On Aug 21, 2008, at 11:24 AM, kokoska.rokoska wrote:

> Martin Joseph napsal(a):
>> On Aug 21, 2008, at 9:32 AM, kokoska.rokoska wrote:
>>> Hi all,
>>> I'm trying to get run FreeSWITCH behind NAT with users behind the  
>>> same
>>> NAT, on public IP addresses and also behind the other NAT.
>> I am trying to do the exact same thing and haven't figured it out yet
>> either...
>> It does seem to me that he different profiles are differentiated by
>> the registration port.
>> ie if you use "sofia status" from the command line you can see the
>> different profiles.  If you register on port 5060, you are on one
>> profile if you register on port 5070 another, 5080, ..etc.
> Thank you very much, Martin, for your answer!
> I think about this possibility - list status of all relevant sofia
> profiles, parse it, and try to find user I want to send call to.  
> But it
> has three big disadvantages:
OK,  I wasn't suggesting that at all.  Are you suggesting your users  
phone is portable equipment and might be registered at either  
location (ie internal or external)? Why not just ring all possible  
extensions for that user?
> 1. I'm afraid it is very resource intensive operation (especially at
> high CPS)
I wasn't suggesting that, sorry.
> 2. In the delay between sofia status processing and b-leg call setup
> user may reregister with another profile, so I send call using  
> wrong profile
> 3. This workaround doesn't solve multiply registration problem
I have no idea how FS handles multiple regs.  I am total nub  

Hope this is useful,

> But - may be - I'm completly wrong :-)
> Thanks once more for your help!
> Best regards,
> kokoska.rokoska
> _______________________________________________
> 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

More information about the FreeSWITCH-users mailing list