[Serusers] HELP: lookup("aliases")

Charles Wang lazy.charles at gmail.com
Wed Apr 27 08:52:03 CEST 2005


Thank you very much, nilus.

But it is very stange that I can use serctl to add alias well.
I can make a call from another UACs to charles( in fact, it is equal
to 1011 username).

But I can not find any record at my aliases table. Can you tell me how to do it?

On 4/27/05, Nilus <nilus at babuzu.com> wrote:
> 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 at 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 at domain.com
> serctl alias add 8888 sip:test at 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 at gmail.com>
> To: <serusers at 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 at 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 at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> 
> 


-- 

Best Regards
Charles




More information about the sr-users mailing list