[Users] pseudovariables in rewriteuser() - OpenSER 1.1.x
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri May 18 11:49:23 CEST 2007
Hi Edoardo,
try:
$rU = $dr(X-DNID);
regards,
bogdan
Edoardo Serra wrote:
> Hi all,
> I have the need to call rewriteuser() with a pseudovariable.
>
> My need is to rewrite the user with the content of an extra header I
> put in the SIP packet coming from a PSTN gateway
>
> I tried with rewriteuser("$hdr(X-DNID)"); but it doesn't replace the
> string with the ocntent of the pseudovariable.
>
> Any idea ?
>
> Tnx in advance
>
> Edoardo Serra
> WeBRainstorm S.r.l.
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list