[Kamailio-Users] prefix() cannot take pseudovariable argument?

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 16 22:35:52 CEST 2009


Hello,

On 04/16/2009 10:14 PM, Alex Balashov wrote:
> Why can't prefix() accept a pseudovariable argument, e.g.
>
>     prefix("$avp(S:the_prefix)");
>
> ?
>
> It is interpreted literally.
>   
this is old function from core -- most of them do not take 
pseudo-variables as argument. You can use instead:

$rU = $avp(S:the_prefix) + $rU;

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com/




More information about the Users mailing list