Hi, Charles
Maybe the mail from Edgardo O. Gonzales II below can slove your probelm!! I tried it and it's work, and the contact column in my aliases table looks like "sip:username@domain". ######################################################## create an account after that assign an alias to the email address used in creating an account
for example
serctl add <username> <password> <email address> serctl alias add <number> sip:<email address>
serctl add test 123456 test@domain.com serctl alias add 8888 sip:test@domain.com
after that you may now login using test as login name and 123456 as password. Once your registered, your friends can dial 8888 as your voip ext number.
its better if you will use mysql or radiator for authentication.
thanks, ed
----- Original Message ----- From: "Charles Wang" lazy.charles@gmail.com To: serusers@lists.iptel.org Sent: Wednesday, April 27, 2005 1:50 PM Subject: [Serusers] HELP: lookup("aliases")
Hi, ALL:
I have an username '1011' on my subscriber table and I want my 1011 can map to a name 'charles' for alias on my aliases table.
all subscribers and aliases are the same domain.
But I use lookup("aliases"), and I have a record on aliases table.
-----------------------
username domain contact
-----------------------
1011 sip.company.com charles@sip.company.com
-----------------------
I dial to 1011 from another UAC and register on the same ser sip proxy. It works fine. But I dial to charles. It failed.
Does anybody know what it happen and how to solve it?
--
Best Regards Charles
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers