bridge a call to registered user
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
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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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
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 <mailto: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 <mailto:destination_number%7D.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 <http://fs_test.fs2.blabla.com>,40804176-fb1f176@172.31.1.190 <mailto: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 <mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto: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
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
Join Us At ClueCon - Aug 7-9, 2012
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
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
On 5/17/2012 8:39 PM, Michael Collins wrote:
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 <mailto: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 <mailto: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 <mailto:destination_number%7D.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 <http://fs_test.fs2.blabla.com>,40804176-fb1f176@172.31.1.190 <mailto: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 <mailto: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 <mailto: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 <mailto: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
_________________________________________________________________________ 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
Join Us At ClueCon - Aug 7-9, 2012
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 @Michael,
thanks anyway:) Reagrds, Miha
participants (2)
-
Michael Collins
-
Miha