Added audio alert when email arrives in vicidial.php, issue #899

git-svn-id: svn://192.168.202.10@2401 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2015-10-22 04:11:25 +00:00
parent 9871cff1bd
commit 55052fe65f
3 changed files with 6 additions and 2 deletions
Binary file not shown.
Binary file not shown.
+6 -2
View File
@@ -501,10 +501,11 @@
# 150917-0926 - Added dynamic default field maxlengths based on DB schema # 150917-0926 - Added dynamic default field maxlengths based on DB schema
# 150923-1952 - Added DID custum fields as web and form variables # 150923-1952 - Added DID custum fields as web and form variables
# 150928-1205 - Fixed issue with API transfers and dial_override flag # 150928-1205 - Fixed issue with API transfers and dial_override flag
# 151022-0004 - Added audio alert when email arrives, issue #899
# #
$version = '2.12-473c'; $version = '2.12-474c';
$build = '150928-1205'; $build = '151022-0004';
$mel=1; # Mysql Error Log enabled = 1 $mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=85; $mysql_log_count=85;
$one_mysql_log=0; $one_mysql_log=0;
@@ -9798,6 +9799,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
VDIC_web_form_address = VICIDiaL_web_form_address; VDIC_web_form_address = VICIDiaL_web_form_address;
VDIC_web_form_address_two = VICIDiaL_web_form_address_two; VDIC_web_form_address_two = VICIDiaL_web_form_address_two;
VDIC_web_form_address_three = VICIDiaL_web_form_address_three; VDIC_web_form_address_three = VICIDiaL_web_form_address_three;
document.getElementById("EmailAudioAlertFile").play();
var VDIC_fronter=''; var VDIC_fronter='';
var VDIC_data_VDIG=check_VDIC_array[2].split("|"); var VDIC_data_VDIG=check_VDIC_array[2].split("|");
@@ -17512,6 +17514,8 @@ if ($agent_display_dialable_leads > 0)
</form> </form>
<audio id='ChatAudioAlertFile'><source src="sounds/chat_alert.mp3" type="audio/mpeg"></audio>
<audio id='EmailAudioAlertFile'><source src="sounds/email_alert.mp3" type="audio/mpeg"></audio>
</body> </body>
</html> </html>