[Freeswitch-users] multi-tenant system
Steven Ayre
steveayre at gmail.com
Thu Sep 9 01:53:58 PDT 2010
No...
I'm not sure whether you understand what this does:
<action application="bridge" data="sofia/e-tagnet.ru/$0%tagnet.ru" />
<action application="bridge" data="sofia/i-tagnet.ru/$0%tagnet.ru" />
The first dials $0%tagnet.ru using the e-tagnet.ru profile settings, the
second dials it using the i-tagnet.ru settings.
This includes the IP+port the calls originates from, as well as various
settings such as which codecs to use.
You can only send from a single IP+port and with one configuration, so you
can only send from a single profile. You can however place two calls
sequentially or in parallel from both SIP profiles if that is what you want.
-Steve
On 9 September 2010 07:26, Boris Kovalenko <boris at tagnet.ru> wrote:
> 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
>
> So is it e-tagnet.ru or i-tagnet.ru ?
>
> David Ponzone Direction Technique
> email: 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 - 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
>
> 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
>
>
>
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> --
> С уважением,
> Борис Коваленко
> ЗАО "Тагнет"
> (3435) 494991
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100909/7739e884/attachment.html
More information about the FreeSWITCH-users
mailing list