[Freeswitch-users] multi-tenant system

Boris Kovalenko boris at tagnet.ru
Wed Sep 8 23:02:33 PDT 2010


  Hello!

I'm trying to set up multi-tenant system as described in wiki. But when 
I try to use this extension, I get an error USER_NOT_REGISTERED, but it is.

<extension name="internal">
<condition field="source" expression="mod_sofia" />
<condition field="${destination_number}" expression="^(1[0-9]{3})">
<action application="info"/>
<action application="set" data="domain_name=tagnet.ru"/>
<action application="set" data="domain=tagnet.ru"/>
<action application="bridge" data="sofia/e-tagnet.ru/$0%tagnet.ru" />
</condition>
</extension>


freeswitch at internal> sofia status profile i-tagnet.ru user 1000 at tagnet.ru

Registrations:
=================================================================================================
Call-ID:        NzY3ZGY2NTllZDkwZWM1ZTQ1NmY3NzdkYzczNzQ1MDU.
User:           1000 at tagnet.ru
Contact:        "b1" 
<sip:1000 at 192.168.3.253:64314;rinstance=27a4dfe00336ea43>
Agent:          eyeBeam release 1102u stamp 52345
Status:         Registered(UDP)(unknown) EXP(2010-09-09 13:18:53) 
EXPSECS(4645)
Host:           ipats.tagnet.ru
IP:             192.168.3.253
Port:           64314
Auth-User:      1000
Auth-Realm:     tagnet.ru
MWI-Account:    1000 at tagnet.ru

Total items returned: 1
=================================================================================================

-- 
Regards,
Boris






More information about the FreeSWITCH-users mailing list