So something like this will do what I want?
if (!lookup("location") and !lookup("aliases")) {
sl_send_reply("404", "Not Found");
break;
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
Dan
-----Original Message-----
From: Jiri Kuthan [mailto:jiri@iptel.org]
Sent: Thursday, December 05, 2002 3:57 PM
To: Dan Austin; serusers(a)lists.iptel.org
Subject: Re: [Serusers] What are aliases for?
I hope to update the admin's guide this week and it should include information on how
to set up aliases. Basically,
we use another "location" table to translate aliases to canonical usernames. The
aliases can be maintained via the serctl utilitity, provided SQL persistency is turned on
(otherwise they are gone on reboot).
-Jiri
At 11:38 PM 12/5/2002, Dan Austin wrote:
My guess based on reading the developers and admin
guides is that an
account could be aliased to a DID number, or internal extension.
In testing it doesn't seem to work that way. With two accounts, on a
Cisco IP phone and the other on MSN client, calls can be placed based
on the SIP account name, but not the alias.
Thanks,
Dan
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan
http://iptel.org/~jiri/