[Serusers] SIP Forwarding?

Zeus Ng zeus.ng at isquare.com.au
Tue Jul 13 10:46:20 CEST 2004


Sorry, my typo.

The syntax should be:

 serctl alias add chris sip:chris at 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 at sip.example2.domain

This will add alias as chris @ example2.domain to chris at 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 at logics.co.uk] 
> Sent: Tuesday, 13 July 2004 6:29 PM
> To: 'Zeus Ng'
> Cc: serusers at lists.iptel.org
> Subject: RE: [Serusers] SIP Forwarding?
> 
> 
> Had to do sip:chris at 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 at isquare.com.au] 
> Sent: 13 July 2004 9:15 AM
> To: chris at logics.co.uk
> Cc: serusers at 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 at sip.domain.com
> 
> Zeus
> 




More information about the sr-users mailing list