[OpenSER-Users] Aliases table and db aliases
Iñaki Baz Castillo
ibc at in.ilimit.es
Thu Nov 15 16:21:56 CET 2007
El Thursday 15 November 2007 16:08:27 escribió:
> *Hi,*
Better replies to the mailist ;)
> Iñaki Baz Castillo wrote:
> > * alias with DB_ALIASES module:
> >
> > table dbaliases:
> > alias_username: 1234
> > alias_domain: IP_PROXY
> > username: bob
> > domain: IP_PROXY
> >
> > db_aliases_lookup() will rewrite URI when it's 1234 at IP_PROXY and it'll
> > become bob at IP_PROXY
> >
> > Later lookup("location") will look for the contact of that AOR.
>
> *Ok.
> db_aliases talble is filled in by myself through "openserctl db_alias
> add" command.*
>
> > * alias with ALIASES table:
> >
> > table aliases:
> > username: 1234
> > domain: IP_PROXY
> > contact: sip:bob at IP_PROXY
> >
> > lookup("aliases") will rewrite URI when it's 1234 at IP_PROXY and it'll
> > become bob at IP_PROXY
> >
> > Later lookup("location") will look for the contact of that AOR.
>
> *so, is ALIASES table also created by myself through "openserctl"
> command*s ?
No idea. In fact I fill these tables via SQL.
> > ok now?
>
> *ok, thank you very much.
> daniel
> *
Regards.
--
ilimit...
*Iñaki Baz Castillo*
ibc at in.ilimit.es
ÀREA SISTEMES
0034 937 333 375
VOLTA 1, PIS 5
08224 TERRASSA.BCN
Aquest enviament és confidencial i està destinat únicament a la persona a qui
s'ha enviat.
Pot contenir informació privada sotmesa al secret professional, la distribució
de la qual està prohibida per la legislació vigent.
More information about the sr-users
mailing list