added vtiger_phone_match.php script to be used as example of how to use the Filter URL feature in DIDs

git-svn-id: svn://192.168.202.10@1497 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-08-06 11:14:42 +00:00
parent 1ffa211ed6
commit a143881cd7
3 changed files with 87 additions and 1 deletions
+1
View File
@@ -424,6 +424,7 @@ if ($filter_inbound_number =~ /GROUP|URL/)
}
if ( (length($curlbin) > 4) && ($filter_url =~ /http/i) && (length($filter_url) > 8) )
{
$filter_url =~ s/^VAR//gi;
$filter_url =~ s/--A--phone_number--B--/$callerid/gi;
$filter_url =~ s/--A--did_pattern--B--/$callerid/gi;
$filter_url =~ s/&/\\&/gi;