[SR-Users] result of param.value transformation when param does not exist?

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 13 05:54:59 CET 2014


On 12/11/14 13:53, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> I haven;t checked the sources, but, iirc, most of the transformations
>> return an empty string if the expected value was not found.
> i don't think that empty string is returned, because when i tried to
> assign result of a transformation on result of another transformation to
> a variable, i got
>
> Nov 12 05:14:08 rautu /usr/bin/sip-proxy[13649]: ERROR: <core> [lvalue.c:356]: lval_pvar_assign(): non existing right pvar
>
> if the inner transformation would have resulted in empty string, then
> also the outer transformation would have done the same.

Was the value of the variable null or not a string? If not, was there
any parameter in the value?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin - http://www.asipto.com




More information about the sr-users mailing list