[SR-Users] Does $hdr() accept PVs?

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 20 22:34:54 CET 2013


Hello,

On 11/20/13 6:47 PM, Alex Balashov wrote:
> That is to say, can I do?
>
>    $var(x) = 'P-Asserted-Identity';
>    xlog("L_INFO", "PAI: $hdr(var(x))\n");
>
> What about remove_hf("$var(x)");
first should work, iirc. Anyhow, you can give each a try and if doesn't 
work, then it is only missing your patch to make it happen.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
   - more details about Kamailio trainings at http://www.asipto.com -




More information about the sr-users mailing list