2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Added new feature of automatic dialling using AUTO_DIAL_SECONDS parameter in config file

Will also automatically end the case after the same number of seconds
This commit is contained in:
Adam Zammit
2013-11-20 11:40:46 +11:00
parent d52e76f09b
commit ae36595e72
5 changed files with 203 additions and 17 deletions

View File

@@ -183,10 +183,8 @@ if (isset($_POST['submit']))
$v->connect(VOIP_SERVER);
$v->dial(get_extension($operator_id),get_call_number($call_id));
}
if (is_respondent_selection($operator_id))
$btext = "onload='openParentObject(\"main-content\",\"" . get_respondentselection_url($operator_id) . "\"); parent.closePopup();'";
else
$btext = "onload='parent.closePopup();'";
$btext = "onload='openParentObject(\"main-content\",\"" . get_respondentselection_url($operator_id) . "\"); parent.closePopup();'";
$js = "js/window.js";
if (browser_ie()) $js = "js/window_ie6.js";