[Serusers] Multiple Domain
Adrian Georgescu
ag at ag-projects.com
Fri Jan 30 12:10:46 CET 2004
# 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 at hotmail.com>
> Subject: [Serusers] Multiple Domain
> To: serusers at lists.iptel.org
> Cc: oswriter at hotmail.com
> Message-ID: <BAY2-F159HkfWWubeYz00013561 at 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
>
More information about the sr-users
mailing list