From 0ed954628e63f8b72093112c4d6ecd379a93d374 Mon Sep 17 00:00:00 2001 From: mattf Date: Sun, 2 Mar 2008 08:07:04 +0000 Subject: [PATCH] Added ability to send dropped calls into an inbound group at drop time changed callbacks to allow for 5 minutes increments git-svn-id: svn://192.168.202.10@786 3d104415-ff17-0410-8863-d5cf3c621b8a --- UPGRADE | 14 +- agi/agi-VDAD_ALL_inbound.agi | 43 +++--- agi/agi-VDAD_ALL_outbound.agi | 54 +++---- docs/REQUIRED_APPS_INSTALL.txt | 8 +- extras/MySQL_AST_CREATE_tables.sql | 15 +- extras/upgrade_2.0.5.sql | 9 ++ .../TO_BE_TRANSLATED_2.0.5.txt | 6 + www/agc/vicidial.php | 10 ++ www/vicidial/admin.php | 140 +++++++++++++----- 9 files changed, 201 insertions(+), 98 deletions(-) diff --git a/UPGRADE b/UPGRADE index b8c3f9e4..26513d53 100644 --- a/UPGRADE +++ b/UPGRADE @@ -29,11 +29,19 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom calling or not. There is also a new log with the details of what groups an agent has selected each time in the user stats page. -5. The start of a new QC (Quality Control) feature [non functional right now] - -6. Queue Priority has been added allowing for the prioritization of one in-group +5. Queue Priority has been added allowing for the prioritization of one in-group over another in-group or outbound campaign(when in blended mode) +6. Drop call action has been added to both inbound and outbound calling. You + can now send a call that would drop into an inbound group. The call will + still be recorded as a DROP in it's original in-group or campaign, but + the lead information will move on to the drop in-group. + +7. The 8 outbound agi-VDADtransfer scripts are in process of being consolidated + into a single AGI script: agi-VDAD_ALL_outbound.agi + +8. The start of a new QC (Quality Control) feature [non functional right now] + diff --git a/agi/agi-VDAD_ALL_inbound.agi b/agi/agi-VDAD_ALL_inbound.agi index 3c7ceed3..48eedd64 100644 --- a/agi/agi-VDAD_ALL_inbound.agi +++ b/agi/agi-VDAD_ALL_inbound.agi @@ -56,6 +56,7 @@ # 71128-1758 - added CIDLOOKUPRC method to search all lists within a campaign # 80109-2348 - added option to trigger a system process when the call is sent to an agent # 80227-0335 - added queue priority functionality +# 80302-0232 - added drop_action and transfer to in-group # $script = 'agi-VDAD_ALL_inbound.agi'; @@ -232,7 +233,7 @@ if ( (!$callerid) or ($callerid =~ /unknown/) ) if ($call_handle_method =~ /^CLOSER/) { - ### allow for internal PRI/IAX/SIP transfer data string "90009*CL_uk3survy_*8301*10000123*universal***" + ### allow for internal PRI/IAX/SIP transfer data string "90009*CL_uk3survy_*8301*10000123*universal*7275551212*1234*" if ($extension =~ /^900\d\d\*|^9900\d\d\*/) { @EXT_vars = split(/\*/, $extension); @@ -242,8 +243,8 @@ if ($call_handle_method =~ /^CLOSER/) $inbound_number = $EXT_vars[2]; # extension to send call to after parsing $parked_by = $EXT_vars[3]; # leadID $park_extension = $EXT_vars[4]; # filename of the on-hold music file - $comment_d = $EXT_vars[5]; # N/A - $comment_e = $EXT_vars[6]; # N/A + $phone_number = $EXT_vars[5]; # phone number of customer + $fronter = $EXT_vars[6]; # user of the fronter that transferred the call $CIDlead_id = $parked_by; @@ -251,7 +252,7 @@ if ($call_handle_method =~ /^CLOSER/) # JmmddhhmmssLLLLLLLLL $JqueryCID = "J$CIDdate$PADlead_id"; $callerid = $JqueryCID; - ### set the callerid to the filename of the audio for on-hold + ### set the new call callerid to track the call print "SET CALLERID $JqueryCID\n"; checkresult($result); if ($AGILOG) {$agi_string = "callerID changed: $JqueryCID"; &agi_output;} @@ -342,7 +343,7 @@ $sthA->finish(); ### Grab inbound groups values from the database $cbc=0; -$stmtA = "SELECT call_time_id,after_hours_action,after_hours_message_filename,after_hours_exten,after_hours_voicemail,welcome_message_filename,moh_context,onhold_prompt_filename,prompt_interval,agent_alert_exten,agent_alert_delay,drop_call_seconds,drop_message,drop_exten,next_agent_call,voicemail_ext,queue_priority FROM vicidial_inbound_groups where group_id = '$channel_group';"; +$stmtA = "SELECT call_time_id,after_hours_action,after_hours_message_filename,after_hours_exten,after_hours_voicemail,welcome_message_filename,moh_context,onhold_prompt_filename,prompt_interval,agent_alert_exten,agent_alert_delay,drop_call_seconds,drop_action,drop_exten,next_agent_call,voicemail_ext,queue_priority,drop_inbound_group FROM vicidial_inbound_groups where group_id = '$channel_group';"; $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; $sthArows=$sthA->rows; @@ -363,12 +364,13 @@ while ($sthArows > $cbc) $agent_alert_delay = "$aryA[10]"; $drop_call_seconds = "$aryA[11]"; $DROP_TIME = $drop_call_seconds; - $drop_message = "$aryA[12]"; + $drop_action = "$aryA[12]"; $drop_exten = "$aryA[13]"; $CAMP_callorder = "$aryA[14]"; $VDADvoicemail_ext = "$aryA[15]"; $VDADvoicemail_ext =~ s/\D//gi; $queue_priority = "$aryA[16]"; + $drop_inbound_group = "$aryA[17]"; $cbc++; } $sthA->finish(); @@ -1357,18 +1359,25 @@ $DROPexten = ''; if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; - - if ($drop_message =~ /Y/) - { - $DROPexten = "$drop_exten"; - } - else - { - if (length($VDADvoicemail_ext)>0) - {$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";} - } } +if ($drop_action =~ /MESSAGE/) + { + if (length($drop_exten)>0) + {$DROPexten = "$drop_exten";} + } +if ($drop_action =~ /VOICEMAIL/) + { + if (length($VDADvoicemail_ext)>0) + {$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";} + } +if ($drop_action =~ /IN_GROUP/) + { # 90009*CL_uk3survy_*8301*10000123*universal*7275551212*1234*" + $S='*'; + $DROPexten = "90009*$drop_inbound_group$S$S$insert_lead_id$S$S$phone_number$S$fronter$S"; + } + +if ($AGILOG) {$agi_string = "-- VDCL DROP: |$drop_action|$DROPexten|"; &agi_output;} ### use STDOUT to send call to proper DROP location $VHqueryCID = "VH$CIDdate$VDADconf_exten"; @@ -1393,7 +1402,7 @@ if ($drop_seconds < 1) ### insert a NEW record to the vicidial_manager table to be processed $stmtA = "INSERT INTO vicidial_manager values('','','$SQLdate','NEW','N','$VARserver_ip','','Hangup','$VHqueryCID','Channel: $channel','','','','','','','','','')"; $affected_rows = $dbhA->do($stmtA); - if ($AGILOG) {$agi_string = "-- VDCL call_hungup timout: |$VHqueryCID|$VDADconf_exten|$channel|insert to vicidial_manager"; &agi_output;} + if ($AGILOG) {$agi_string = "-- VDCL call_hungup timeout: |$VHqueryCID|$VDADconf_exten|$channel|insert to vicidial_manager"; &agi_output;} } $stmtA = "DELETE FROM vicidial_auto_calls where callerid='$callerid' and server_ip='$VARserver_ip' order by call_time desc limit 1;"; diff --git a/agi/agi-VDAD_ALL_outbound.agi b/agi/agi-VDAD_ALL_outbound.agi index 8b672ff7..93db6157 100644 --- a/agi/agi-VDAD_ALL_outbound.agi +++ b/agi/agi-VDAD_ALL_outbound.agi @@ -32,6 +32,7 @@ # # changes: # 80218-2027 - First Build +# 80302-0232 - added drop_action and transfer to in-group # $script = 'agi-VDAD_ALL_outbound.agi'; @@ -319,7 +320,7 @@ if ($affected_rows > 0) $sthA->finish(); ### Grab campaign values from the database - $stmtA = "SELECT drop_call_seconds,safe_harbor_message,safe_harbor_exten,concurrent_transfers,next_agent_call FROM vicidial_campaigns where campaign_id = '$VDADcampaign';"; + $stmtA = "SELECT drop_call_seconds,drop_action,safe_harbor_exten,concurrent_transfers,next_agent_call,voicemail_ext,drop_inbound_group FROM vicidial_campaigns where campaign_id = '$VDADcampaign';"; $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; $sthArows=$sthA->rows; @@ -328,13 +329,15 @@ if ($affected_rows > 0) { @aryA = $sthA->fetchrow_array; $DBdrop_call_seconds = "$aryA[0]"; - $DBsafe_harbor_message = "$aryA[1]"; + $DBdrop_action = "$aryA[1]"; $DBsafe_harbor_exten = "$aryA[2]"; $DBconcurrent_transfers = "$aryA[3]"; if ($DBdrop_call_seconds) {$DROP_TIME = $DBdrop_call_seconds;} - if ($DBsafe_harbor_message) {$safe_harbor_message = $DBsafe_harbor_message;} + if ($DBdrop_action) {$drop_action = $DBdrop_action;} if ($DBsafe_harbor_exten) {$safe_harbor_exten = $DBsafe_harbor_exten;} $CAMP_callorder = "$aryA[4]"; + $VDADvoicemail_ext = "$aryA[5]"; + $drop_inbound_group = "$aryA[6]"; $rec_count++; } $sthA->finish(); @@ -462,7 +465,7 @@ if ($channel_status < 1) if ($agent_search_method =~ /^SO|^LO/) { $rec_countWAIT=0; - $stmtA = "SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='$VARserver_ip' and campaign_id = '$VDADcampaign' and call_time < \"$VDADcall_time\" and lead_id != '$VDADlead_id';"; + $stmtA = "SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and server_ip='$VARserver_ip' and campaign_id = '$VDADcampaign' and call_time < \"$VDADcall_time\" and lead_id != '$CIDlead_id';"; if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;} $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; @@ -614,7 +617,7 @@ if ($agent_search_method =~ /^LO|^LB/) ##### Attempt to send call to an agent on any server ##### $cbc=0; $rec_countWAITrem=0; -$stmtA = "SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = '$VDADcampaign' and call_time < \"$VDADcall_time\" and lead_id != '$VDADlead_id';"; +$stmtA = "SELECT count(*) FROM vicidial_auto_calls where status = 'LIVE' and campaign_id = '$VDADcampaign' and call_time < \"$VDADcall_time\" and lead_id != '$CIDlead_id';"; if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;} $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; @@ -793,7 +796,7 @@ $stmtA = "UPDATE vicidial_auto_calls set stage='LIVE-$drop_timer' where callerid $affected_rows = $dbhA->do($stmtA); if ($affected_rows < 1) { - $stmtA = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage) values('$VARserver_ip','$channel_group','CLOSER','$insert_lead_id','$uniqueid','$callerid','$channel','$phone_code','$phone_number','$SQLdate','IN','CLOSER-$drop_timer')"; + $stmtA = "INSERT INTO vicidial_auto_calls (server_ip,campaign_id,status,lead_id,uniqueid,callerid,channel,phone_code,phone_number,call_time,call_type,stage) values('$VARserver_ip','$channel_group','CLOSER','$CIDlead_id','$uniqueid','$callerid','$channel','$phone_code','$phone_number','$SQLdate','IN','CLOSER-$drop_timer')"; $affected_rows = $dbhA->do($stmtA); if ($AGILOG) {$agi_string = "$affected_rows|VDAC-reinsert|$stmtA|"; &agi_output;} } @@ -829,7 +832,6 @@ $now_date = "$year-$mon-$mday $hour:$min:$sec"; $CIDdate = "$mon$mday$hour$min$sec"; $tsSQLdate = "$year$mon$mday$hour$min$sec"; $SQLdate = "$year-$mon-$mday $hour:$min:$sec"; - $VDADvoicemail_ext = ''; if ($enable_queuemetrics_logging > 0) { @@ -847,30 +849,22 @@ if ($enable_queuemetrics_logging > 0) if ($drop_seconds < 1) { $drop_seconds = $DROP_TIME; + } - if ($safe_harbor_message =~ /Y/) - { - $DROPexten = "$safe_harbor_exten"; - } - else - { - $stmtA = "SELECT voicemail_ext FROM vicidial_campaigns where campaign_id = '$VDADcampaign' limit 1;"; - if ($AGILOG) {$agi_string = "|$stmtA|"; &agi_output;} - $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr; - $sthA->execute or die "executing: $stmtA ", $dbhA->errstr; - $sthArows=$sthA->rows; - $rec_count=0; - while ($sthArows > $rec_count) - { - @aryA = $sthA->fetchrow_array; - $VDADvoicemail_ext = "$aryA[0]"; - $VDADvoicemail_ext =~ s/\D//gi; - if (length($VDADvoicemail_ext)>0) - {$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";} - $rec_count++; - } - $sthA->finish(); - } +if ($drop_action =~ /MESSAGE/) + { + if (length($safe_harbor_exten)>0) + {$DROPexten = "$safe_harbor_exten";} + } +if ($drop_action =~ /VOICEMAIL/) + { + if (length($VDADvoicemail_ext)>0) + {$DROPexten = "$voicemail_dump_exten$VDADvoicemail_ext";} + } +if ($drop_action =~ /IN_GROUP/) + { # 90009*CL_uk3survy_*8301*10000123*universal*7275551212*1234*" + $S='*'; + $DROPexten = "90009*$drop_inbound_group$S$S$CIDlead_id$S$S$VDADphone$S$fronter$S"; } diff --git a/docs/REQUIRED_APPS_INSTALL.txt b/docs/REQUIRED_APPS_INSTALL.txt index f6d1716a..4f86e878 100644 --- a/docs/REQUIRED_APPS_INSTALL.txt +++ b/docs/REQUIRED_APPS_INSTALL.txt @@ -62,10 +62,10 @@ quit cd /usr/local -wget http://asterisk.gnuinter.net/files/asterisk-perl-0.08.tar.gz -gunzip asterisk-perl-0.08.tar.gz -tar xvf asterisk-perl-0.08.tar -cd asterisk-perl-0.08 +wget http://asterisk.gnuinter.net/files/asterisk-perl-0.10.tar.gz +gunzip asterisk-perl-0.10.tar.gz +tar xvf asterisk-perl-0.10.tar +cd asterisk-perl-0.10 perl Makefile.PL make all make install diff --git a/extras/MySQL_AST_CREATE_tables.sql b/extras/MySQL_AST_CREATE_tables.sql index 57a9f2eb..7999dd18 100644 --- a/extras/MySQL_AST_CREATE_tables.sql +++ b/extras/MySQL_AST_CREATE_tables.sql @@ -335,6 +335,7 @@ call_type ENUM('IN','OUT','OUTBALANCE') default 'OUT', stage VARCHAR(20) default 'START', last_update_time TIMESTAMP, alt_dial ENUM('NONE','MAIN','ALT','ADDR3') default 'NONE', +queue_priority TINYINT(2) default '0', index (uniqueid), index (callerid), index (call_time), @@ -510,7 +511,7 @@ alt_number_dialing ENUM('Y','N') default 'N', scheduled_callbacks ENUM('Y','N') default 'N', lead_filter_id VARCHAR(10) default 'NONE', drop_call_seconds TINYINT(3) unsigned default '5', -safe_harbor_message ENUM('Y','N') default 'N', +drop_action ENUM('HANGUP','MESSAGE','VOICEMAIL','IN_GROUP') default 'MESSAGE', safe_harbor_exten VARCHAR(20) default '8307', display_dialable_count ENUM('Y','N') default 'Y', wrapup_seconds SMALLINT(3) UNSIGNED default '0', @@ -541,7 +542,9 @@ list_order_mix VARCHAR(20) default 'DISABLED', campaign_allow_inbound ENUM('Y','N') default 'N', manual_dial_list_id BIGINT(14) UNSIGNED, default_xfer_group VARCHAR(20) default '---NONE---', -xfer_groups TEXT default '' +xfer_groups TEXT default '', +queue_priority TINYINT(2) default '50', +drop_inbound_group VARCHAR(20) default '---NONE---' ); CREATE TABLE vicidial_lists ( @@ -614,7 +617,7 @@ xferconf_a_number VARCHAR(50), xferconf_b_dtmf VARCHAR(50), xferconf_b_number VARCHAR(50), drop_call_seconds SMALLINT(4) unsigned default '360', -drop_message ENUM('Y','N') default 'N', +drop_action ENUM('HANGUP','MESSAGE','VOICEMAIL','IN_GROUP') default 'MESSAGE', drop_exten VARCHAR(20) default '8307', call_time_id VARCHAR(20) default '24hours', after_hours_action ENUM('HANGUP','MESSAGE','EXTENSION','VOICEMAIL') default 'MESSAGE', @@ -627,7 +630,9 @@ onhold_prompt_filename VARCHAR(50) default 'generic_hold', prompt_interval SMALLINT(5) UNSIGNED default '60', agent_alert_exten VARCHAR(20) default '8304', agent_alert_delay INT(6) default '1000', -default_xfer_group VARCHAR(20) default '---NONE---' +default_xfer_group VARCHAR(20) default '---NONE---', +queue_priority TINYINT(2) default '0', +drop_inbound_group VARCHAR(20) default '---NONE---' ); CREATE TABLE vicidial_stations ( @@ -1072,4 +1077,4 @@ INSERT INTO vicidial_state_call_times SET state_call_time_id='utah',state_call_t INSERT INTO vicidial_state_call_times SET state_call_time_id='washington',state_call_time_state='WA',state_call_time_name='Washington 8am',sct_default_start='800',sct_default_stop='2100'; INSERT INTO vicidial_state_call_times SET state_call_time_id='wyoming',state_call_time_state='WY',state_call_time_name='Wyoming 8am-8pm',sct_default_start='800',sct_default_stop='2000'; -UPDATE system_settings SET db_schema_version='1075'; +UPDATE system_settings SET db_schema_version='1077'; diff --git a/extras/upgrade_2.0.5.sql b/extras/upgrade_2.0.5.sql index 459aa50d..b8213624 100644 --- a/extras/upgrade_2.0.5.sql +++ b/extras/upgrade_2.0.5.sql @@ -68,3 +68,12 @@ ALTER TABLE vicidial_inbound_groups ADD queue_priority TINYINT(2) default '0'; UPDATE system_settings SET db_schema_version='1076'; +ALTER TABLE vicidial_inbound_groups CHANGE drop_message drop_action ENUM('HANGUP','MESSAGE','VOICEMAIL','IN_GROUP') default 'MESSAGE'; +ALTER TABLE vicidial_inbound_groups ADD drop_inbound_group VARCHAR(20) default '---NONE---'; +UPDATE vicidial_inbound_groups SET drop_action='MESSAGE'; + +ALTER TABLE vicidial_campaigns CHANGE safe_harbor_message drop_action ENUM('HANGUP','MESSAGE','VOICEMAIL','IN_GROUP') default 'MESSAGE'; +ALTER TABLE vicidial_campaigns ADD drop_inbound_group VARCHAR(20) default '---NONE---'; +UPDATE vicidial_campaigns SET drop_action='MESSAGE'; + +UPDATE system_settings SET db_schema_version='1077'; diff --git a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt index 1a6c1c32..39e6f9fc 100644 --- a/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt +++ b/translations/raw_translation_files/TO_BE_TRANSLATED_2.0.5.txt @@ -26,6 +26,12 @@ QC Allowed Campaigns: || QC Allowed Inbound Groups: || Queue Priority -<\/B> This setting is used to define the order in which the calls from this outbound campaign should be answered in relation to the inbound calls if this campaign is in blended mode|| Queue Priority: || +Drop Action: || +Drop Transfer Group: || +Drop Action -<\/B> This menu allows you to choose what happens to a call when it has been waiting for longer than what is set in the Drop Call Seconds field. HANGUP will simply hang up the call, MESSAGE will send the call the Drop Exten that you have defined below, VOICEMAIL will send the call to the voicemail box that you have defined below and IN_GROUP will send the call to the Inbound Group that is defined below|| +Drop Exten -<\/B> If Drop Action is set to MESSAGE, this is the dial plan extension that the call will be sent to if it reaches Drop Call Seconds|| +Drop Call Seconds -<\/B> The number of seconds a call will stay in queue before being considered a DROP|| +Drop Transfer Group -<\/B> If Drop Action is set to IN_GROUP, the call will be sent to this inbound group if it reaches Drop Call Seconds|| ############################################################ CLIENT diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 69b46604..93892ead 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -6672,7 +6672,17 @@ Your Status:
Calls Dialing: + + + + + + + + + +   $NWB#vicidial_campaigns-drop_call_seconds$NWE\n"; - echo "Voicemail: $NWB#vicidial_campaigns-voicemail_ext$NWE\n"; - - echo "Use Safe Harbor Message: $NWB#vicidial_campaigns-safe_harbor_message$NWE\n"; + echo "Drop Action: $NWB#vicidial_campaigns-drop_action$NWE\n"; echo "Safe Harbor Exten: $NWB#vicidial_campaigns-safe_harbor_exten$NWE\n"; + echo "Voicemail: $NWB#vicidial_campaigns-voicemail_ext$NWE\n"; + + echo "Drop Transfer Group: $NWB#vicidial_campaigns-drop_inbound_group$NWE\n"; + echo "Wrap Up Seconds: $NWB#vicidial_campaigns-wrapup_seconds$NWE\n"; echo "Wrap Up Message: $NWB#vicidial_campaigns-wrapup_message$NWE\n"; @@ -11089,7 +11133,7 @@ if ($ADD==3111) $xferconf_b_dtmf = $row[12]; $xferconf_b_number = $row[13]; $drop_call_seconds = $row[14]; - $drop_message = $row[15]; + $drop_action = $row[15]; $drop_exten = $row[16]; $call_time_id = $row[17]; $after_hours_action = $row[18]; @@ -11104,6 +11148,7 @@ if ($ADD==3111) $agent_alert_delay = $row[27]; $default_xfer_group = $row[28]; $queue_priority = $row[29]; + $drop_inbound_group = $row[30]; ##### get in-groups listings for dynamic pulldown $stmt="SELECT group_id,group_name from vicidial_inbound_groups order by group_id"; @@ -11111,23 +11156,36 @@ if ($ADD==3111) $Xgroups_to_print = mysql_num_rows($rslt); $Xgroups_menu=''; $Xgroups_selected=0; + $Dgroups_menu=''; + $Dgroups_selected=0; $o=0; while ($Xgroups_to_print > $o) { $rowx=mysql_fetch_row($rslt); $Xgroups_menu .= "\n"; + $Dgroups_menu .= "value=\"$rowx[0]\">$rowx[0] - $rowx[1]\n"; $o++; } if ($Xgroups_selected < 1) {$Xgroups_menu .= "\n";} else {$Xgroups_menu .= "\n";} + if ($Dgroups_selected < 1) + {$Dgroups_menu .= "\n";} + else + {$Dgroups_menu .= "\n";} echo "
MODIFY A GROUPS RECORD: $row[0]
\n"; @@ -11174,12 +11232,16 @@ if ($ADD==3111) echo "Drop Call Seconds: $NWB#vicidial_inbound_groups-drop_call_seconds$NWE\n"; - echo "Voicemail: $NWB#vicidial_inbound_groups-voicemail_ext$NWE\n"; - - echo "Use Drop Message: $NWB#vicidial_inbound_groups-drop_message$NWE\n"; + echo "Drop Action: $NWB#vicidial_inbound_groups-drop_action$NWE\n"; echo "Drop Exten: $NWB#vicidial_inbound_groups-drop_exten$NWE\n"; + echo "Voicemail: $NWB#vicidial_inbound_groups-voicemail_ext$NWE\n"; + + echo "Drop Transfer Group: $NWB#vicidial_inbound_groups-drop_inbound_group$NWE\n"; + echo "Call Time: