[Freeswitch-users] bridge a call to registered user

Miha miha at softnet.si
Fri May 18 10:05:35 MSD 2012


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 at softnet.si 
> <mailto:miha at 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 at softnet.si
>>     <mailto:miha at 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 at fs_test.fs2.blabla.com
>>         <mailto:destination_number%7D.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
>>         <http://fs_test.fs2.blabla.com>,40804176-fb1f176 at 172.31.1.190
>>         <mailto: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
>>         <mailto: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
>>         <mailto: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
>>         <mailto: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
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.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 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
@Michael,

thanks anyway:)

Reagrds,
Miha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120518/7c626bf8/attachment.html 


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