[Serusers] Multiple Domain

Jan Janak jan at iptel.org
Sat Jan 31 01:55:33 CET 2004


This can be done using domain module. Instead of if (uri == myself) you
can use if (is_uri_host_local()) and leave the authentication realm
empty in www_authorize and www_challenge, i.e. www_authorize("",
"subscriber")

You can add all the domains that are considered local into the domain
table.

 Jan.

On 30-01 16:09, kapil dhawan wrote:
> 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
> 
> _________________________________________________________________
> Sports buff? This hot new channel is for you! http://www.msn.co.in/sports/ 
> Get on the inside of all the action!
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list