[SR-Users] PVs in Regular Expression Transformations

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 20 17:37:52 CEST 2010


Hello,

On 4/20/10 5:36 PM, Juha Heinanen wrote:
> Juha Heinanen writes:
>
>   >  i got core dump.  most like from this statement:
>   >
>   >  $rU = $(var(unescaped_user){s.strip,4});
>
> it turned out that in this test $var(unescaped_user) only had 4 chars,
> i.e., they all got stripped.  then this empty string is supposed to be
> assigned to $rU.
>
> the test may not make much sense, but sr should definitely not dump
> core!
>    
yes, I saw it is related to a different part of code. I will fix that.

Thanks,
Daniel

> -- juha
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>    

-- 
Daniel-Constantin Mierla * http://www.asipto.com/ * 
http://twitter.com/miconda * 
http://www.linkedin.com/in/danielconstantinmierla




More information about the sr-users mailing list