[Users] Re: pseudovariables in rewriteuser() - OpenSER 1.1.x

Victor Gamov vit at lipetsk.ru
Fri May 18 22:31:43 CEST 2007


Edoardo Serra wrote:
> Tnx Bogdan,
>     if there's no way to do it in 1.1. I'll upgrade.

Upgrade to 1.2 if possible -- its really useful in many situations.

> Will I be able use pseudovars in if construct ?
> 
> I mean:
> 
> if ($hdr(X-DNID) != "") {
>     $rU = $hdr(X-DNID)
> }

Yes. psevdovars in 1.2 is more powerful.

-- 
CU,
Victor Gamov




More information about the sr-users mailing list