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 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, Kamailio calls to all subscribers: 201@domain1.com and 201@domain2.com and 201@domain3.com
FreeSwitch the call to only one subscriber.
What can I change?
*-- С уважением* *Инженер по телекоммуникациям * *Калала Александр * *vel: 375291146285* *life: 375256819996*
*skype: klistrod*
*VoIP Network EngineerdCAP, CCNAVoiceKalala 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
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
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 did you decide to give those lines from config in this email, what you thought we were supposed to guess out of them?
Daniel
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_MULTIDOMAIN modparam("domain", "db_url", DBURL) modparam("domain", "register_myself", 1) #!endif
22.12.2014, 14:44, "Daniel-Constantin Mierla" miconda@gmail.com:
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 mailto: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 mailto:sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda http://twitter.com/#%21/miconda - http://www.linkedin.com/in/miconda ,
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/