I'll have to defer to those with more experience than I. SIP presence, multitenancy, etc. is outside my area of expertise...

-MC

On Wed, May 16, 2012 at 11:38 PM, Miha <miha@softnet.si> wrote:
HI @Michael,

I tried to uncomment this due to Multi-tenant configuration. As this did not helped me I tried to use Presence variable (http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files#Presence). After this FS does not log any more as user not registered.

Could this function be causing any other problems?

THanks!

Miha



On 5/17/2012 12:17 AM, Michael Collins wrote:
This is probably because the two different profiles are not set to use the same register domain. Check out this wiki page and try setting the value to be the same for all your profiles:
http://wiki.freeswitch.org/wiki/Sofia.conf.xml#force-register-domain

-MC

On Wed, May 16, 2012 at 5:15 AM, Miha <miha@softnet.si> wrote:
Hi,

just one question. I have created two profiles (suggested by @Michael)
as I was having same NAT issue. Profiles are basically the same only
registration port is different (5060, 5070) and NAT profile have set:
<param name="NDLB-force-rport" value="true"/>.

In my dialplan I have made bridge like this:


<action application="bridge"
data="{origination_callee_id_name='${effective_caller_id_name}',origination_calee_id_number='${effective_caller_id_name}'}user/${destination_number}.fs_test@fs_test.fs2.blabla.com"
/>

freeswitch@default> show re

[       registrations]


freeswitch@default> show registrations
reg_user,realm,token,url,expires,network_ip,network_port,network_proto,hostname
018108753.fs_test,fs_test.fs2.blabla.com,40804176-fb1f176@172.31.1.190,sofia/internal/sip:018108753.fs_test@xxx.xxx.xxx.xxx:1265,1337169317,xxx.xxx.xxx.xxx,1265,udp,localhost.localdomain
018108752.fs_test,fs_test.fs2.blabla.comi,873cfe40-1224f25@172.31.1.171,sofia/nat/sip:018108752.fs_test@xxx.xxx.xxx.xxx:2097,1337170569,xxx.xxx.xxx.xxx,1920,udp,localhost.localdomain

2 total.

Why only phone work which is registered on NAT profile. IF I call users
which is registered on internal profile I get user not registered?

Thanks!

Miha