Hi, I'm using opensips 3.2 and can't find any way to get this working. Can someone help me complete this code? I had a look at textops, but I don't see any function that can extract a regex matched group. Thanks
if (is_method("INFO") && $hdr(Content-Type) == "application/dtmf-relay") { $var(body) = $rb(application/dtmf-relay); if ($var(body) =~ "Signal=([0-9]+)") { $var(dtmf) = ???; xlog("L_NOTICE", "$$var(dtmf): $var(dtmf)\n"); } }
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users