You also need the lookup("aliases") command in the ser.cfg file. Mine is placed as follows: . . . if (uri==myself) { lookup("aliases"); if (method=="REGISTER") { . . .
----- Original Message ----- From: "Sunithi JP" sunithijp@indts.com To: "'Jan Janak'" jan@iptel.org Cc: serusers@lists.iptel.org Sent: Tuesday, April 01, 2003 8:31 AM Subject: RE: [Serusers] how do i add an alias?
hi Jan. tried what u have said.i am still getting the same error.
sunithi
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Tuesday, April 01, 2003 6:42 PM To: Sunithi JP Cc: 'serusers@lists.iptel.org' Subject: Re: [Serusers] how do i add an alias?
Hello,
it should look like this: sc alias add test2 sip:test@indts.com
Jan.
On 01-04 18:27, Sunithi JP wrote:
hi all, i am running SER (ver 0.8.10) with MySql support.
i made an entry in the database for a user "test" using the command : - serctl add test test test@indts.com mailto:test@indts.com
now, i want to add an alias for the user "test". so when i type : - serctl alias add test@indts.com mailto:test@indts.com sip:test2@indts.com mailto:sip:test2@indts.com
i get the following error
sip:test2@indts.com mailto:sip:test2@indts.com 400 ul_add: contact expected
what is happening? pls help
thx, sunithi
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers