On Thursday 21 August 2014 05:56:46 Satish Patel wrote:
if ( $rU =~ "sip:1[0-9]@*")
{
Try $ru instead, $rU only contains the dialled "number". So
$ru =~ "sip:1[0-9]@*"
or
$rU =~ "1[0-9]"
But note the regexp, that only matches the exact numbers 10 to 19, if you are
trying to match prefixes you are doing it wrong (tm).