[Serusers] Get alias for user

Damien Sandras dsandras at gnomemeeting.net
Mon Oct 24 14:12:18 CEST 2005


Le lundi 24 octobre 2005 à 14:06 +0200, Samuel Osorio Calvo a écrit :
> lookup("aliases"); 
> 
> will do the job for you if aliases is the name of the table containing the alias bindings (by default it will be).
> 

I had understood this, but the problem here is that I need the reverse:
the original request uri contains the username and I need to rewrite it
into the user alias.

Example, SER receives INVITE dsandras @   gnomemeeting.net, and I want
to use rewriteuri to rewrite the INVITE into INVITE 600001 @
gnomemeeting.net.

Is that possible?
-- 
 _      Damien Sandras
(o-     GnomeMeeting: http://www.gnomemeeting.org/
//\     FOSDEM 2005 : http://www.fosdem.org
v_/_    H.323 phone : callto:ils.seconix.com/dsandras at seconix.com




More information about the sr-users mailing list