Hello,

this is printed when you try to get the sub-string starting at a position which is higher than the length of the value on which the substr is applied.

For example:

$var(x) = "abc";

$(var(x){s.substr,9,9}) - tries to get substring starting with 10th character, but the value has only 3 characters.

Cheers,
Daniel

On 5/28/13 10:08 AM, Uri Shacked wrote:
Hi,
 
can anyony tell me when will i get the following error : "substr out of range".
i saw it has something to do with the pv_trans.c file and i saw it there.
but, is it related to "shvset" or to "substr" command
 
BR,
Uri


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@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/miconda
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
  * http://asipto.com/u/katu *