Hi,
In a multiple domain setup, are two functions uri==myself and is_uri_host_local the same thing?
is_uri_host_local is not presented in the README, but is exported. Is it a obsolete function?
Thanks, Richard
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
At 08:29 AM 4/27/2004, Richard wrote:
Hi,
In a multiple domain setup, are two functions uri==myself and is_uri_host_local the same thing?
is_uri_host_local is not presented in the README, but is exported. Is it a obsolete function?
the former is for use with single domain, the latter for use with multidomain as implemented in the 'domain' module.
-jiri
Just want to make sure... So in multiple domain, I should use is_uri_host_local instead of uri==myself, right?
--- Jiri Kuthan jiri@iptel.org wrote:
At 08:29 AM 4/27/2004, Richard wrote:
Hi,
In a multiple domain setup, are two functions uri==myself and is_uri_host_local the same thing?
is_uri_host_local is not presented in the README,
but
is exported. Is it a obsolete function?
the former is for use with single domain, the latter for use with multidomain as implemented in the 'domain' module.
-jiri
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Eh... something I can't understand...
I load domain module, setup all possible modules to use_domain 1. Here are the problems I run into. When REGISTER/OPTIONS/INVITE message comes in, they should be processed locally. They are true for uri==myself, but false for is_uri_host_local and is_from_local. If I use is_uri_host_local, the script would forward the message with t_relay.
Thanks, Richard
--- Jiri Kuthan jiri@iptel.org wrote:
At 11:41 AM 4/27/2004, Richard wrote:
Just want to make sure... So in multiple domain, I should use is_uri_host_local instead of
uri==myself,
right?
Yes. You should then load domain module and maintain list of served domains using serctl.
-jiri
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Sorry, I mess up.
After trying the latest cvs and crashed, I rolled back the older version and clean up the database. It no longer had the domains...
--- Richard mypop3mail@yahoo.com wrote:
Eh... something I can't understand...
I load domain module, setup all possible modules to use_domain 1. Here are the problems I run into. When REGISTER/OPTIONS/INVITE message comes in, they should be processed locally. They are true for uri==myself, but false for is_uri_host_local and is_from_local. If I use is_uri_host_local, the script would forward the message with t_relay.
Thanks, Richard
--- Jiri Kuthan jiri@iptel.org wrote:
At 11:41 AM 4/27/2004, Richard wrote:
Just want to make sure... So in multiple domain,
I
should use is_uri_host_local instead of
uri==myself,
right?
Yes. You should then load domain module and
maintain
list of served domains using serctl.
-jiri
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
__________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover