Giuseppe Roberti wrote: > Hi. > > How can i check that a request come from a registered user ? > > Regards. >
1. Save the existing RURI into a pseudovariable. 2. Rewrite the RURI to contain user's [EMAIL PROTECTED] 3. Call lookup(). 4. If lookup() unsuccessful, reject. 5. If lookup() successful, reset RURI to the value you saved in the pseudovariable and forward on. -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599 _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
