diff --git a/agc_2-X/trunk/UPGRADE b/agc_2-X/trunk/UPGRADE
index b2b2a038..13c6b471 100644
--- a/agc_2-X/trunk/UPGRADE
+++ b/agc_2-X/trunk/UPGRADE
@@ -61,6 +61,9 @@ OTHER CHANGES:
for the callerid to automatically be set per in-group on agent manual
dial in-group calls
+3. Added transfer call to answering maching message with hotkey option,
+ currently hard-coded to these two statuses: (LTMG or XFTAMM)
+
diff --git a/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.6.txt b/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.6.txt
index ecec0546..be3d0f06 100644
--- a/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.6.txt
+++ b/agc_2-X/trunk/translations/raw_translation_files/TO_BE_TRANSLATED_2.6.txt
@@ -5,6 +5,8 @@ This feature allows you to enable the ability for agents to place manual dial ou
This option is only active if the above In-Group Manual Dial feature is not DISABLED. This option restricts the selectable In-Groups that the agent can place In-Group Manual Dial calls through. CAMPAIGN_SELECTED will show only the in-groups that the campaign has set as allowable in-groups. ALL_USER_GROUP will show all of the in-groups that are viewable to the members of the user group that the agent belongs to||
Dial In-Group CID||
If the agent campaign allows for Manual In-Group Dialing, this caller ID number will be sent as the outgoing CID of the phone call if it is populated, overriding the campaign settings and list CID override setting. Default is empty||
+You can also use LTMG or XFTAMM as statuses to trigger an automatic transfer to the Leave-Voicemail option||
+Send to Answering Machine Message||
############################################################ CLIENT
diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php
index e3d4e397..43000397 100644
--- a/agc_2-X/trunk/www/agc/vicidial.php
+++ b/agc_2-X/trunk/www/agc/vicidial.php
@@ -380,10 +380,11 @@
# 120420-1621 - Forked 2.4 to branches, changing trunk to 2.6
# 120427-1718 - Fixed 3-way logging issue
# 120512-0849 - Added In-Group Manual Dial functions
+# 120518-1225 - Added transfer call to answering maching message with hotkey (LTMG or XFTAMM)
#
-$version = '2.6-348c';
-$build = '120512-0849';
+$version = '2.6-349c';
+$build = '120518-1225';
$mel=1; # Mysql Error Log enabled = 1
$mysql_log_count=77;
$one_mysql_log=0;
@@ -10114,19 +10115,27 @@ if ($useIE > 0)
}
else
{
- HKdispo_display = 4;
- HKfinish=1;
- alt_phone_dialing=starting_alt_phone_dialing;
- alt_dial_active = 0;
- alt_dial_status_display = 0;
- document.getElementById("HotKeyDispo").innerHTML = HKdispo_ary[0] + " - " + HKdispo_ary[1];
- showDiv('HotKeyActionBox');
- hideDiv('HotKeyEntriesBox');
- document.vicidial_form.DispoSelection.value = HKdispo_ary[0];
- dialedcall_send_hangup('NO', 'YES', HKdispo_ary[0]);
- if (custom_fields_enabled > 0)
+ // transfer call to answering maching message with hotkey
+ if ( (HKdispo_ary[0] == 'LTMG') || (HKdispo_ary[0] == 'XFTAMM') )
{
- vcFormIFrame.document.form_custom_fields.submit();
+ mainxfer_send_redirect('XfeRVMAIL', lastcustchannel, lastcustserverip);
+ }
+ else
+ {
+ HKdispo_display = 4;
+ HKfinish=1;
+ alt_phone_dialing=starting_alt_phone_dialing;
+ alt_dial_active = 0;
+ alt_dial_status_display = 0;
+ document.getElementById("HotKeyDispo").innerHTML = HKdispo_ary[0] + " - " + HKdispo_ary[1];
+ showDiv('HotKeyActionBox');
+ hideDiv('HotKeyEntriesBox');
+ document.vicidial_form.DispoSelection.value = HKdispo_ary[0];
+ dialedcall_send_hangup('NO', 'YES', HKdispo_ary[0]);
+ if (custom_fields_enabled > 0)
+ {
+ vcFormIFrame.document.form_custom_fields.submit();
+ }
}
}
}
@@ -10170,19 +10179,27 @@ else
}
else
{
- HKdispo_display = 4;
- HKfinish=1;
- document.getElementById("HotKeyDispo").innerHTML = HKdispo_ary[0] + " - " + HKdispo_ary[1];
- showDiv('HotKeyActionBox');
- hideDiv('HotKeyEntriesBox');
- document.vicidial_form.DispoSelection.value = HKdispo_ary[0];
- alt_phone_dialing=starting_alt_phone_dialing;
- alt_dial_active = 0;
- alt_dial_status_display = 0;
- dialedcall_send_hangup('NO', 'YES', HKdispo_ary[0]);
- if (custom_fields_enabled > 0)
+ // transfer call to answering maching message with hotkey
+ if ( (HKdispo_ary[0] == 'LTMG') || (HKdispo_ary[0] == 'XFTAMM') )
{
- vcFormIFrame.document.form_custom_fields.submit();
+ mainxfer_send_redirect('XfeRVMAIL', lastcustchannel, lastcustserverip);
+ }
+ else
+ {
+ HKdispo_display = 4;
+ HKfinish=1;
+ document.getElementById("HotKeyDispo").innerHTML = HKdispo_ary[0] + " - " + HKdispo_ary[1];
+ showDiv('HotKeyActionBox');
+ hideDiv('HotKeyEntriesBox');
+ document.vicidial_form.DispoSelection.value = HKdispo_ary[0];
+ alt_phone_dialing=starting_alt_phone_dialing;
+ alt_dial_active = 0;
+ alt_dial_status_display = 0;
+ dialedcall_send_hangup('NO', 'YES', HKdispo_ary[0]);
+ if (custom_fields_enabled > 0)
+ {
+ vcFormIFrame.document.form_custom_fields.submit();
+ }
}
}
// DispoSelect_submit();
diff --git a/agc_2-X/trunk/www/vicidial/admin.php b/agc_2-X/trunk/www/vicidial/admin.php
index aa9bfecc..73b64058 100644
--- a/agc_2-X/trunk/www/vicidial/admin.php
+++ b/agc_2-X/trunk/www/vicidial/admin.php
@@ -3057,12 +3057,13 @@ else
# 120420-1620 - Forked 2.4 to branches, changing trunk to 2.6
# 120512-0844 - Added In-Group Manual Dial options to campaign screen
# 120514-0936 - Added Dial In-group CID override setting
+# 120518-1456 - Added XFTAMM/LTMG special hotkeys for send to answering machine message
#
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
-$admin_version = '2.6-367a';
-$build = '120514-0936';
+$admin_version = '2.6-368a';
+$build = '120518-1456';
$STARTtime = date("U");
$SQLdate = date("Y-m-d H:i:s");
@@ -6699,7 +6700,7 @@ if ($ADD==99999)
VICIDIAL_CAMPAIGN_HOTKEYS TABLE