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@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@yandex.ru mailto:klistrod@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@domain1.com <mailto:201@domain1.com>, Kamailio calls to all subscribers: 201@domain1.com <mailto:201@domain1.com> and 201@domain2.com <mailto:201@domain2.com> and 201@domain3.com <mailto:201@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@lists.sip-router.org <mailto:sr-users@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@lists.sip-router.org mailto:sr-users@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@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users