[Kamailio-Users] Prefix with variable?

Robin Vleij robin at swip.net
Wed Sep 10 10:51:18 CEST 2008


Elena-Ramona Modroiu wrote:

Hi Elena!

> prefix() function takes only static string as parameter. The equivalent
> with variables is:
> 
> $rU = $avp(s:t_prefix) + $rU;

It was this easy, works now. :)
Don't know what I did wrong yesterday when I tried something along those
lines. Think it was some kind of syntax error I made, which made me
think this also doesn't work.

Thanks!

/Robin

-- 
Robin Vleij
robin at swip.net




More information about the Users mailing list