Hello,
it should be:
modparam("usrloc", "use_domain", 1)
if you are using the default config, then skip the above and just do:
#!define WITH_MULTIDOMAIN after the first line in kamailio.cfg -- read the comments at the top of kamailio.cfg for more details. Practically when defining WITH_MULTIDOMAIN, the MULTIDOMAIN token is defined to 1.
Cheers, Daniel
On 09/04/14 08:25, aawaise wrote:
Boss,
In my environment, I have two kamailio servers with different domain names, both connected to a single database. As far as I understood, this "usrloc" module picks information from database. And here in my case, database provides no info about domain name. I am saying this because user registered with a domain name can be logged in using other domain name through second server as far as username and password are same. The statement used in kamailio.cfg is as follows.
"modparam("usrloc", "use_domain", MULTIDOMAIN)"
Setting use_domain to usrloc means setting it to "domain name" instead of "MULTIDOMAIN" ?? I tried but it didn't work for me. Please help.
Regards, Aawaise
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Show-Domain-Name-in-Siremis-tp126602... Sent from the Users mailing list archive at Nabble.com.
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