[Freeswitch-users] multi-tenant system

Boris Kovalenko boris at tagnet.ru
Wed Sep 8 23:26:29 PDT 2010


  Hello!

     Ough... Thanks, David, I forgot about right profile. So, another 
question - I have two profiles:
e-tagnet.ru and i-tagnet.ru. May I combine them with one alias so I may use:
<action application="bridge" data="sofia/all-tagnet.ru/$0%tagnet.ru" />
and not to use together two calls to bridge?
<action application="bridge" data="sofia/e-tagnet.ru/$0%tagnet.ru" />
<action application="bridge" data="sofia/i-tagnet.ru/$0%tagnet.ru" />

> Boris,
>
> I read:
>
> <action application="bridge" data="sofia/e-tagnet.ru/$0%tagnet.ru" />
>
> but:
>
> freeswitch at internal> sofia status profile i-tagnet.ru user 
> 1000 at tagnet.ru <mailto:1000 at tagnet.ru>
>
> So is it e-tagnet.ru or i-tagnet.ru ?
>
> David Ponzone Direction Technique
> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
> tel:      01 74 03 18 97
> gsm:   06 66 98 76 34
>
> Service Client IPeva
> tel:      0811 46 26 26
> www.ipeva.fr <BLOCKED::http://www.ipeva.fr/>  - www.ipeva-studio.com 
> <BLOCKED::http://www.ipeva-studio.com/>
>
> /Ce message et toutes les pièces jointes sont confidentiels et établis 
> à l'intention exclusive de ses destinataires. Toute utilisation ou 
> diffusion non autorisée est interdite. Tout message électronique est 
> susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au 
> titre de ce message s'il a été altéré, déformé ou falsifié. Si vous 
> n'êtes pas destinataire de ce message, merci de le détruire 
> immédiatement et d'avertir l'expéditeur./
> /
> /
>
>
>
> Le 09/09/2010 à 08:02, Boris Kovalenko a écrit :
>
>>  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 <mailto:1000 at tagnet.ru>
>>
>> Registrations:
>> =================================================================================================
>> Call-ID:        NzY3ZGY2NTllZDkwZWM1ZTQ1NmY3NzdkYzczNzQ1MDU.
>> User: 1000 at tagnet.ru <mailto: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 <mailto:1000 at tagnet.ru>
>>
>> Total items returned: 1
>> =================================================================================================
>>
>> -- 
>> Regards,
>> Boris
>>
>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org 
>> <mailto: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
>
>
> _______________________________________________
> 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


-- 
С уважением,
   Борис Коваленко
   ЗАО "Тагнет"
   (3435) 494991


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100909/e22f6f53/attachment-0001.html 


More information about the FreeSWITCH-users mailing list