Sorry, my typo.
The syntax should be:
serctl alias add chris sip:chris@sip.domain.com
Before that, you have to set environment variable
SIP_DOMAIN=domain.com
export SIP_DOMAIN
This will add alias as chris @
domain.com. Then, if you want to setup alias
for example2.domain, do
SIP_DOMAIN=example2.domain
export SIP_DOMAIN
serctl alias add chris sip:chris@sip.example2.domain
This will add alias as chris @ example2.domain to chris(a)sip.example2.domain.
OTOH, you can directly insert them into your SQL database. Make sure you do
it when SER is not running. Otherwise, the alias table will get overwritten
by the content in memory.
Zeus
-----Original Message-----
From: Chris Bond [mailto:chris@logics.co.uk]
Sent: Tuesday, 13 July 2004 6:29 PM
To: 'Zeus Ng'
Cc: serusers(a)lists.iptel.org
Subject: RE: [Serusers] SIP Forwarding?
Had to do sip:chris@sip.domain.com, I want to be able to
forward any calls this as the box has lots of domains on.
Whats the easiest way to do this as there could be two chris'
etc. I rather refer to everything as a full?
Kind Regards,
Chris Bond
-----Original Message-----
From: Zeus Ng [mailto:zeus.ng@isquare.com.au]
Sent: 13 July 2004 9:15 AM
To: chris(a)logics.co.uk
Cc: serusers(a)lists.iptel.org
Subject: RE: [Serusers] SIP Forwarding?
Use "serctl alias add <alias> <uri>" to populate your alias table.
E.g.
serctl alias add chris chris(a)sip.domain.com
Zeus