[Freeswitch-users] bridge a call to registered user

Miha miha at softnet.si
Wed May 16 16:15:34 MSD 2012


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 at fs_test.fs2.blabla.com" 
/>

freeswitch at default> show re

[       registrations]


freeswitch at 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 at 172.31.1.190,sofia/internal/sip:018108753.fs_test at xxx.xxx.xxx.xxx:1265,1337169317,xxx.xxx.xxx.xxx,1265,udp,localhost.localdomain
018108752.fs_test,fs_test.fs2.blabla.comi,873cfe40-1224f25 at 172.31.1.171,sofia/nat/sip:018108752.fs_test at 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



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