Re: [SR-Users] Multi-tenant SBC Kamailio

2014-12-22 Thread Daniel-Constantin Mierla
On 22/12/14 13:24, Kalala Alexander wrote: > I tried it ((Then do everything stops working You can easily imagine that nobody can help you when you give such details. You have to give more details about what happens, such as what log messages you get in syslog, the sip traffic, etc... How d

Re: [SR-Users] Multi-tenant SBC Kamailio

2014-12-22 Thread Kalala Alexander
I tried it ((Then do everything stops working http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc Kamailio 4.2 #!define WITH_MULTIDOMAIN #!define MULTIDOMAIN 1 #!ifdef WITH_MULTIDOMAINmodparam("domain", "db_url", DBURL)modparam("domain", "register_myself", 1)#!endif   22.12.201

Re: [SR-Users] Multi-tenant SBC Kamailio

2014-12-22 Thread Daniel-Constantin Mierla
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

Re: [SR-Users] Multi-tenant SBC Kamailio

2014-12-21 Thread Kalala Alexander
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

Re: [SR-Users] Multi-tenant SBC Kamailio

2014-12-21 Thread Salman Zafar
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 wrote: > Hi, > > Tried to make multitent authorization by Radius

[SR-Users] Multi-tenant SBC Kamailio

2014-12-21 Thread Kalala Alexander
Hi, Tried to make multitent authorization by Radius, for instructions:http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbcBut when calling subscriber 2...@domain1.com, Kamailio calls to all subscribers: 2...@domain1.com and 2...@domain2.com and 2...@domain3.comFreeSwitch the call to