Added filtering of 3-way number to dial to remove non-diable characters in vicidial.php
git-svn-id: svn://192.168.202.10@3677 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
# vicidial.php - the web-based version of the astVICIDIAL client application
|
# vicidial.php - the web-based version of the astVICIDIAL client application
|
||||||
#
|
#
|
||||||
# Copyright (C) 2022 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
# Copyright (C) 2023 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||||
#
|
#
|
||||||
# Other scripts that this application depends on:
|
# Other scripts that this application depends on:
|
||||||
# - vdc_db_query.php: Updates information in the database
|
# - vdc_db_query.php: Updates information in the database
|
||||||
@@ -709,10 +709,11 @@
|
|||||||
# 221116-2159 - Fix for recording buttons ALLFORCE issue #1389
|
# 221116-2159 - Fix for recording buttons ALLFORCE issue #1389
|
||||||
# 221206-1520 - Added login form multi-submit prevention ($login_submit_once), Added dialRegExten_enabled webphone option
|
# 221206-1520 - Added login form multi-submit prevention ($login_submit_once), Added dialRegExten_enabled webphone option
|
||||||
# 230118-0947 - Added agent_hangup_route features
|
# 230118-0947 - Added agent_hangup_route features
|
||||||
|
# 230131-0826 - Added filtering of 3-way number to dial to remove non-diable characters
|
||||||
#
|
#
|
||||||
|
|
||||||
$version = '2.14-677c';
|
$version = '2.14-678c';
|
||||||
$build = '230118-0947';
|
$build = '230131-0826';
|
||||||
$php_script = 'vicidial.php';
|
$php_script = 'vicidial.php';
|
||||||
$mel=1; # Mysql Error Log enabled = 1
|
$mel=1; # Mysql Error Log enabled = 1
|
||||||
$mysql_log_count=98;
|
$mysql_log_count=98;
|
||||||
@@ -6586,6 +6587,7 @@ function holiday_display(holiday_name)
|
|||||||
var manual_string = manual_number.toString();
|
var manual_string = manual_number.toString();
|
||||||
var dial_conf_exten = session_id;
|
var dial_conf_exten = session_id;
|
||||||
|
|
||||||
|
manual_string = manual_string.replace(/\||`|&|\'|\"|\\\\|;| /ig,'');
|
||||||
var testXFregstr = 'x' + manual_string + 'x'
|
var testXFregstr = 'x' + manual_string + 'x'
|
||||||
var regXFSRvars = new RegExp(testXFregstr,"g");
|
var regXFSRvars = new RegExp(testXFregstr,"g");
|
||||||
// test for three_way_record_stop and exception
|
// test for three_way_record_stop and exception
|
||||||
|
|||||||
Reference in New Issue
Block a user