[SR-Users] Multi-tenant SBC Kamailio

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 22 12:43:55 CET 2014


Read the top part of kamailio.cfg (provided you are running 4.2 or some
other recent stable series) -- you should see there some notes about
enabling multi-domain.

Should be like definining:

#!define WITH_MULTIDOMAIN

On more specific, see the parameters exported by modules and set
use_domain to 1.

Cheers,
Daniel

On 21/12/14 20:05, Kalala Alexander wrote:
> Yes it is...
> http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
>  
> route[LOCATION] {
>
> #!ifdef WITH_ALIASDB
> # search in DB-based aliases
> alias_db_lookup("dbaliases");
> #!endif
>
> if (!lookup("location")) {
> switch ($rc) {
> case -1:
> case -3:
> t_newtran();
> t_reply("404", "Not Found");
> exit;
> case -2:
> sl_send_reply("405", "Method Not Allowed");
> exit;
> }
> }
>  
> How to check the Multi-tenant?
>  
> 21.12.2014, 21:46, "Salman Zafar" <msalman212 at gmail.com>:
>> Hi,
>>  
>> Make sure you have logic before location lookup that distinguishes
>> the multi domains and looks up with the caller's domain, and ofcourse
>> you have to have multi-domain enabled.
>>
>> On Sun, Dec 21, 2014 at 11:43 PM, Kalala Alexander
>> <klistrod at yandex.ru <mailto:klistrod at yandex.ru>> wrote:
>>
>>     Hi,
>>      
>>     Tried to make multitent authorization by Radius, for instructions:
>>     http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
>>
>>     But when calling subscriber 201 at domain1.com
>>     <mailto:201 at domain1.com>, Kamailio calls to all subscribers:
>>     201 at domain1.com <mailto:201 at domain1.com> and 201 at domain2.com
>>     <mailto:201 at domain2.com> and 201 at domain3.com <mailto:201 at domain3.com>
>>
>>     FreeSwitch the call to only one subscriber.
>>
>>     What can I change?
>>      
>>     /--
>>     С уважением/
>>     /Инженер по телекоммуникациям /
>>     /Калала Александр /
>>     /vel: 375291146285/
>>     /life: 375256819996//
>>     /
>>     /skype: klistrod
>>     /
>>     / /
>>     /VoIP Network Engineer
>>     dCAP, CCNAVoice
>>     Kalala Alexander/
>>     http://callcenters.by/ //
>>     http://skytel.by/
>>     http://voiplab.by/
>>     http://asterisk-pbx.by/
>>      
>>      
>>      
>>      
>>      
>>      
>>
>>     _______________________________________________
>>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>     mailing list
>>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>  
>> -- 
>> Regards
>>
>> M. Salman Zafar
>> VoIP Professional
>> ,
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>  
>  
> /--
> С уважением/
> /Инженер по телекоммуникациям /
> /Калала Александр /
> /vel: 375291146285/
> /life: 375256819996//
> /
> /skype: klistrod
> /
> / /
> /VoIP Network Engineer
> dCAP, CCNAVoice
> Kalala Alexander/
> http://callcenters.by/ //
> http://skytel.by/
> http://voiplab.by/
> http://asterisk-pbx.by/
>  
>  
>  
>  
>  
>  
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141222/5c1daa6a/attachment.html>


More information about the sr-users mailing list