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?