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

kokoska.rokoska kokoska.rokoska at post.cz
Thu Aug 21 13:58:30 PDT 2008


Martin Joseph napsal(a):
> 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)? 

Yes, I'm sure about it :-) Mainly because they do it right now and I'm
affraid, they don't want to loose this feature.

BTW: Usual scenario is that users have SIP enabled GSM phones (Nokia E
series) in pockets + HW SIP phones (Linksys 9xx, Snom 3xx) in the
office, both registered to the same account. Thus SIP phones are (nearly
always) registered to "internal" profile and GSM phone sometimes to
"internal", sometimes to "external" and from time to time unregistered :-)

> Why not just ring all possible  
> extensions for that user?

It is one extension per user, but - may be - multiply contacts
registered to "whatever" sofia profile I can't predict. And this is my
problem - how to choose proper profile or profiles (in case of multiply
regs.)

Thanks very much, Martin, for you interest and help!

Best regards,

kokoska.rokoska




More information about the FreeSWITCH-users mailing list