[Freeswitch-users] bridge a call to registered user

Michael Collins msc at freeswitch.org
Thu May 17 22:39:20 MSD 2012


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> 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> 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"
>> />
>>
>> 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120517/a8457e3a/attachment.html 


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