[Serusers] Alias assignment problem

'Jan Janak' jan at iptel.org
Fri May 16 19:43:19 CEST 2003


On 16-05 19:36, George KAPELIOS wrote:
> Jan,
> 
> As I 'm not so familiar with all the details, could you please explain
> me further:
> 
> In which script you mean ?

  The configuration script of the server.

> How can I start using that table ? Do I have to configure or create it ?

  It is created in the database by default. You just need to put
  lookup("aliases") command in your script. Otherwise it makes no sense
  to create the aliases because the wouldn't be used anyway.

> Where can I find the sc utility ? I 'm running 0.8.10 (install from
> .tar) and is not found in the /usr/local/sbin/ folder, where the rest
> ser executables files are.

  Sorry, it is called serctl in the distribution.

   Jan.

> 
> George
> 
> 
> -----Original Message-----
> From: Jan Janak [mailto:jan at iptel.org] 
> Sent: Friday, 16 May, 2003 19:24
> To: George KAPELIOS
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Alias assignment problem
> 
> Hello,
> 
> you must have lookup("aliases") somewhere in your script.
> 
> On 16-05 19:18, George KAPELIOS wrote:
> > Trying to create alias, I am getting the following message:
> >  
> > "400 Table 'aliases' Not Found"
> >  
> > Could any can help ? Why the above mentioned table has not been
> created
> > ?
> 
>   Probably because you are not using it.
> 
> > What is exactly the <uri> format ?
> 
>   sip:username at domain.com
> 
> > What is the solution for creating alias ?
> 
>   Use sc utility, i.e. 
>   sc alias add my_alias sip:my_username at mydomain.com
> 
>     Jan.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030516/8097c74c/attachment.pgp>


More information about the sr-users mailing list