# lookup local SIP domains in domain table
modparam("domain", "db_mode", 1) # 0 do not use caching, 1 use
caching
modparam("domain", "domain_table", "domain")
modparam("domain", "domain_col", "domain")
# -- usrloc params --
modparam("usrloc", "use_domain", 1)
if (is_from_local()) {
# this is one for our subscribers
etc....
};
create a mysql table called domain, see sample scripts from ser
installation
you can manage the domains with serctl command
Message: 34
Date: Fri, 30 Jan 2004 16:09:09 +0530
From: "kapil dhawan" <oswriter(a)hotmail.com>
Subject: [Serusers] Multiple Domain
To: serusers(a)lists.iptel.org
Cc: oswriter(a)hotmail.com
Message-ID: <BAY2-F159HkfWWubeYz00013561(a)hotmail.com>
Content-Type: text/plain; format=flowed
Hi All.....
I am not sure whether i am posting my query at right place...
Well i am using ser-0.8.12. i want to allow mulpile domains....but i
don't
want to do changes in .cfg file whenever a new domain is added...and i
even
don't want to write script to add location to different location
tables...depending upon the uri.....i want to use one subscriber and
one
location table.....How can this be done