Added several VID options including VIDPROMPT options to the ALL_inbound AGI script for in-group call handling to allow callers to enter an ID number that would populate in the Vendor ID(vendor_lead_code) field and optionally search by it.
git-svn-id: svn://192.168.202.10@1287 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -340,6 +340,10 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom
|
|||||||
|
|
||||||
81. Added six duplication check methods to the non-agent API add_lead function
|
81. Added six duplication check methods to the non-agent API add_lead function
|
||||||
|
|
||||||
|
82. Added VIDPROMPT options for in-group call handling to prompt caller for an
|
||||||
|
ID number that will be populated in the vendor ID(vendor_lead_code)
|
||||||
|
field.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
#
|
#
|
||||||
# agi-VDAD_ALL_inbound.agi version 2.2.0 *DBI-version*
|
# agi-VDAD_ALL_inbound.agi version 2.2.0
|
||||||
#
|
#
|
||||||
# runs when a call comes in from an inbound call. This script will
|
# runs when a call comes in from an inbound call. This script will
|
||||||
# send the calls out to the closers that are logged in.
|
# send the calls out to the closers that are logged in.
|
||||||
@@ -15,13 +15,21 @@
|
|||||||
# ; - CIDLOOKUPRL - Restrict lookup to one list
|
# ; - CIDLOOKUPRL - Restrict lookup to one list
|
||||||
# ; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
|
# ; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
# ; - CLOSER - Closer calls from VICIDIAL fronters
|
# ; - CLOSER - Closer calls from VICIDIAL fronters
|
||||||
# ; - ANI - ANI received, add record with phone number
|
# ; - ANI - ANI received, add record with phone number (based on RBS T1s)
|
||||||
# ; - ANILOOKUP - Lookup ANI to find record in whole system
|
# ; - ANILOOKUP - Lookup ANI to find record in whole system
|
||||||
# ; - ANILOOKUPRL - Restrict lookup to one list
|
# ; - ANILOOKUPRL - Restrict lookup to one list
|
||||||
|
# ; - ANILOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
|
# ; - VID - Add record with Vendor Lead Code received as argument 12
|
||||||
|
# ; - VIDLOOKUP - Lookup Vendor Lead Code received as argument 12 to find record in whole system
|
||||||
|
# ; - VIDLOOKUPRL - Restrict lookup to one list (argument 12)
|
||||||
|
# ; - VIDLOOKUPRC - Restrict lookup to one campaign's lists (argument 12)
|
||||||
|
# ; - VIDPROMPT - Prompt Vendor Lead Code to User with IVR to add record with Vendor Lead Code
|
||||||
|
# ; - VIDPROMPTLOOKUP - Prompt Vendor Lead Code to User with IVR to find record in whole system
|
||||||
|
# ; - VIDPROMPTLOOKUPRL - Restrict lookup to one list
|
||||||
|
# ; - VIDPROMPTLOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
# ; - 3DIGITID - Enter 3 digit code to go to agent
|
# ; - 3DIGITID - Enter 3 digit code to go to agent
|
||||||
# ; - 4DIGITID - Enter 4 digit code to go to agent
|
# ; - 4DIGITID - Enter 4 digit code to go to agent
|
||||||
# ; - 5DIGITID - Enter 5 digit code to go to agent
|
# ; - XDIGITID - Enter X digit code to go to agent(variable, i.e. 9DIGITID, 12DIGITID, etc...)
|
||||||
# ; - 10DIGITID - Enter 10 digit code to go to agent
|
|
||||||
# ; 2. the method of searching for an available agent:
|
# ; 2. the method of searching for an available agent:
|
||||||
# ; - LO - Load Balance Overflow only (priority to home server)
|
# ; - LO - Load Balance Overflow only (priority to home server)
|
||||||
# ; - LB - <default> Load Balance total system
|
# ; - LB - <default> Load Balance total system
|
||||||
@@ -35,6 +43,7 @@
|
|||||||
# ; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
|
# ; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
|
||||||
# ; 10. the campaign_id to search within lists if CIDLOOKUPRC
|
# ; 10. the campaign_id to search within lists if CIDLOOKUPRC
|
||||||
# ; 11. the user to queue the call to for AGENTDIRECT in-group calls
|
# ; 11. the user to queue the call to for AGENTDIRECT in-group calls
|
||||||
|
# ; 12. vendor_lead_code if external mechanism like custom IVR is used to prompt user for ID
|
||||||
#
|
#
|
||||||
# ;inbound VICIDIAL calls:
|
# ;inbound VICIDIAL calls:
|
||||||
#exten => 1234,1,Answer ; Answer the line
|
#exten => 1234,1,Answer ; Answer the line
|
||||||
@@ -107,6 +116,7 @@
|
|||||||
# 91125-0921 - Fixed no-agent-no-queue AGENTDIRECT bug
|
# 91125-0921 - Fixed no-agent-no-queue AGENTDIRECT bug
|
||||||
# 91213-0942 - Added queue_position to queue_log COMPLETE... records
|
# 91213-0942 - Added queue_position to queue_log COMPLETE... records
|
||||||
# 91214-2034 - Fixes for rare in-group rank route bug
|
# 91214-2034 - Fixes for rare in-group rank route bug
|
||||||
|
# 91223-0959 - Added VID(vendor_lead_code) options
|
||||||
#
|
#
|
||||||
|
|
||||||
$script = 'agi-VDAD_ALL_inbound.agi';
|
$script = 'agi-VDAD_ALL_inbound.agi';
|
||||||
@@ -253,6 +263,7 @@ if (length($ARGV[0])>1)
|
|||||||
$phone_code = $ARGV_vars[8];
|
$phone_code = $ARGV_vars[8];
|
||||||
$Scampaign_id = $ARGV_vars[9];
|
$Scampaign_id = $ARGV_vars[9];
|
||||||
$agent_only = $ARGV_vars[10];
|
$agent_only = $ARGV_vars[10];
|
||||||
|
$vendor_id = $ARGV_vars[11];
|
||||||
}
|
}
|
||||||
|
|
||||||
$|=1;
|
$|=1;
|
||||||
@@ -363,7 +374,7 @@ if ($call_handle_method =~ /^CLOSER/)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($call_handle_method =~ /^CID/)
|
if ( ($call_handle_method =~ /^CID/) || ($call_handle_method =~ /^VID/) )
|
||||||
{
|
{
|
||||||
if (length($callerid)>0) {$phone_number = $callerid;}
|
if (length($callerid)>0) {$phone_number = $callerid;}
|
||||||
else {$phone_number = '';}
|
else {$phone_number = '';}
|
||||||
@@ -389,6 +400,10 @@ if ($call_handle_method =~ /^ANI/)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# When VID or VIDPROMPT, methods are not used, no Vendor Lead Code can be supplied. Fill it with inbound_number
|
||||||
|
if ($call_handle_method !~ /^VID/)
|
||||||
|
{$vendor_id = $inbound_number;}
|
||||||
|
|
||||||
foreach $i (sort keys %AGI)
|
foreach $i (sort keys %AGI)
|
||||||
{
|
{
|
||||||
if ($AGILOG) {$agi_string = " -- $i = $AGI{$i}"; &agi_output;}
|
if ($AGILOG) {$agi_string = " -- $i = $AGI{$i}"; &agi_output;}
|
||||||
@@ -560,14 +575,21 @@ $AGI->stream_file('sip-silence');
|
|||||||
if ($call_handle_method =~ /DIGITID$/)
|
if ($call_handle_method =~ /DIGITID$/)
|
||||||
{
|
{
|
||||||
&enter_pin_number;
|
&enter_pin_number;
|
||||||
|
if (length($pin) > 0)
|
||||||
|
{$fronter = $pin;}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($call_handle_method =~ /^VIDPROMPT/)
|
||||||
|
{
|
||||||
|
&enter_id_number;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($call_handle_method =~ /LOOKUP/)
|
if ($call_handle_method =~ /LOOKUP/)
|
||||||
{
|
{
|
||||||
if (length($phone_number) < 3)
|
if ( ( ($call_handle_method =~ /^VID/) && (length($vendor_id)) < 3) || (length($phone_number) < 3) )
|
||||||
{
|
{
|
||||||
### insert a record into the vicidial_list table
|
### insert a record into the vicidial_list table
|
||||||
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$inbound_number','VDCL','$list_id','Y','$phone_code','$phone_number','$channel_group','1','$local_gmt','$VLcomments');";
|
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$vendor_id','VDCL','$list_id','Y','$phone_code','$phone_number','$channel_group','1','$local_gmt','$VLcomments');";
|
||||||
$affected_rows = $dbhA->do($stmtA);
|
$affected_rows = $dbhA->do($stmtA);
|
||||||
$dbhP=$dbhA; $mysql_count='02007'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
$dbhP=$dbhA; $mysql_count='02007'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
||||||
$cbc=0;
|
$cbc=0;
|
||||||
@@ -618,7 +640,14 @@ if ($call_handle_method =~ /LOOKUP/)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$cbc=0;
|
$cbc=0;
|
||||||
$stmtA= "SELECT lead_id from vicidial_list where phone_number='$phone_number' $listSQL order by last_local_call_time desc limit 1;";
|
if ($call_handle_method =~ /^VID/)
|
||||||
|
{
|
||||||
|
$stmtA= "SELECT lead_id from vicidial_list where vendor_lead_code='$vendor_id' $listSQL order by last_local_call_time desc limit 1;";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$stmtA= "SELECT lead_id from vicidial_list where phone_number='$phone_number' $listSQL order by last_local_call_time desc limit 1;";
|
||||||
|
}
|
||||||
if ($AGILOG) {$agi_string = "VDAD vicidial_list search |$phone_number|$stmtA|"; &agi_output;}
|
if ($AGILOG) {$agi_string = "VDAD vicidial_list search |$phone_number|$stmtA|"; &agi_output;}
|
||||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||||
@@ -639,9 +668,9 @@ if ($call_handle_method =~ /LOOKUP/)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
### insert a record into the vicidial_list table
|
### insert a record into the vicidial_list table
|
||||||
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$inbound_number','VDCL','$list_id','Y','$phone_code','$phone_number','$channel_group','1','$local_gmt','$VLcomments');";
|
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$vendor_id','VDCL','$list_id','Y','$phone_code','$phone_number','$channel_group','1','$local_gmt','$VLcomments');";
|
||||||
$affected_rows = $dbhA->do($stmtA);
|
$affected_rows = $dbhA->do($stmtA);
|
||||||
$dbhP=$dbhA; $mysql_count='02011'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
$dbhP=$dbhA; $mysql_count='02011'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
||||||
$cbc=0;
|
$cbc=0;
|
||||||
$stmtB = "select LAST_INSERT_ID() LIMIT 1;";
|
$stmtB = "select LAST_INSERT_ID() LIMIT 1;";
|
||||||
@@ -690,9 +719,9 @@ else
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
### insert a record into the vicidial_list table if no record was found above
|
### insert a record into the vicidial_list table if no record was found above
|
||||||
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$inbound_number','VDCL','$list_id','Y','$phone_code','$phone_number','$channel_group','1','-5.00','$VLcomments');";
|
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$vendor_id','VDCL','$list_id','Y','$phone_code','$phone_number','$channel_group','1','-5.00','$VLcomments');";
|
||||||
$affected_rows = $dbhA->do($stmtA);
|
$affected_rows = $dbhA->do($stmtA);
|
||||||
$dbhP=$dbhA; $mysql_count='02014'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
$dbhP=$dbhA; $mysql_count='02014'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
||||||
$cbc=0;
|
$cbc=0;
|
||||||
$stmtA = "select LAST_INSERT_ID() LIMIT 1;";
|
$stmtA = "select LAST_INSERT_ID() LIMIT 1;";
|
||||||
@@ -2597,9 +2626,9 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) )
|
|||||||
# if callerid is not valid do not execute
|
# if callerid is not valid do not execute
|
||||||
if ( ( length($phone_number) > 6 ) && ( $phone_number > 0) )
|
if ( ( length($phone_number) > 6 ) && ( $phone_number > 0) )
|
||||||
{
|
{
|
||||||
### insert a record into the vicidial_list table
|
### insert a record into the vicidial_list table
|
||||||
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$inbound_number','VDCL','$hold_time_option_callback_list_id','N','$phone_code','$phone_number','$channel_group','1','$local_gmt','$VLcomments');";
|
$stmtA = "INSERT INTO vicidial_list (entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,called_since_last_reset,phone_code,phone_number,security_phrase,called_count,gmt_offset_now,comments) values('$SQLdate','$tsSQLdate','INBND','$fronter','$vendor_id','VDCL','$hold_time_option_callback_list_id','N','$phone_code','$phone_number','$channel_group','1','$local_gmt','$VLcomments');";
|
||||||
$affected_rows = $dbhA->do($stmtA);
|
$affected_rows = $dbhA->do($stmtA);
|
||||||
$dbhP=$dbhA; $mysql_count='02089'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
$dbhP=$dbhA; $mysql_count='02089'; $MEL_aff_rows=$affected_rows; &mysql_error_logging;
|
||||||
$cbc=0;
|
$cbc=0;
|
||||||
$stmtB = "select LAST_INSERT_ID() LIMIT 1;";
|
$stmtB = "select LAST_INSERT_ID() LIMIT 1;";
|
||||||
@@ -3020,6 +3049,35 @@ sub enter_pin_number
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# PROMPTS USED:
|
||||||
|
# please_enter_id_number - "Please enter your ID Number followed by the # key
|
||||||
|
# id_number - "Your ID number is"
|
||||||
|
# confirm_id_number - "Press 1 if it is correct. Press 2 to repeat entry"
|
||||||
|
sub enter_id_number
|
||||||
|
{
|
||||||
|
for ( $i = 0; $i < 2; $i++ )
|
||||||
|
{
|
||||||
|
$vendor_id = 0;
|
||||||
|
$id_number = $AGI->get_data('please_enter_id_number',5000,16);
|
||||||
|
|
||||||
|
if ( length $id_number == 0 ) { return; }
|
||||||
|
if ($AGILOG) {$agi_string = "prompt id_number: $id_number"; &agi_output;}
|
||||||
|
|
||||||
|
$AGI->stream_file('id_number');
|
||||||
|
$AGI->say_digits($id_number);
|
||||||
|
|
||||||
|
$id_verify = $AGI->get_data('confirm_id_number',5000,1);
|
||||||
|
if( length $id_verify == 0 ) { return; }
|
||||||
|
if ($AGILOG) {$agi_string = "prompt verify id: $id_verify"; &agi_output;}
|
||||||
|
|
||||||
|
if($id_verify == 1)
|
||||||
|
{
|
||||||
|
$vendor_id = $id_number;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
sub press_one_to_leave_voicemail
|
sub press_one_to_leave_voicemail
|
||||||
{
|
{
|
||||||
|
|||||||
+9
-15
@@ -1,6 +1,6 @@
|
|||||||
VICIDIAL and Vtiger
|
VICIDIAL and Vtiger
|
||||||
|
|
||||||
Current VICIDIAL integration with Vtiger is for the 5.0.4 release version of Vtiger only (we also have beta support for Vtiger 5.1.0)
|
Current VICIDIAL integration with Vtiger is for the 5.1.0 release version of Vtiger only (we also have support for older Vtiger 5.0.4)
|
||||||
|
|
||||||
Current integration features:
|
Current integration features:
|
||||||
- vicidial.php WEBFORM search for lead/account/vendor
|
- vicidial.php WEBFORM search for lead/account/vendor
|
||||||
@@ -81,15 +81,14 @@ NOTE: vtiger requires PHP5, APACHE2.2 and MySQL5,
|
|||||||
|
|
||||||
|
|
||||||
mysql
|
mysql
|
||||||
GRANT ALL on vtigercrm504.* TO vtiger@'%' IDENTIFIED BY 'vtuser';
|
GRANT ALL on vtigercrm510.* TO vtiger@'%' IDENTIFIED BY 'vtuser';
|
||||||
GRANT ALL on vtigercrm504.* TO vtiger@localhost IDENTIFIED BY 'vtuser';
|
GRANT ALL on vtigercrm510.* TO vtiger@localhost IDENTIFIED BY 'vtuser';
|
||||||
create database vtigercrm504;
|
create database vtigercrm510;
|
||||||
quit
|
quit
|
||||||
|
|
||||||
cd /usr/local/apache2/htdocs/
|
cd /usr/local/apache2/htdocs/
|
||||||
wget http://voxel.dl.sourceforge.net/sourceforge/vtigercrm/vtigercrm-5.0.4.tar.gz
|
wget http://sourceforge.net/projects/vtigercrm/files/vtiger%20CRM%205.1.0/vtigercrm-5.1.0.tar.gz
|
||||||
gunzip vtigercrm-5.0.4.tar.gz
|
tar xvfz vtigercrm-5.1.0.tar.gz
|
||||||
tar xvf vtigercrm-5.0.4.tar
|
|
||||||
chmod -R 0777 vtigercrm
|
chmod -R 0777 vtigercrm
|
||||||
cd vtigercrm
|
cd vtigercrm
|
||||||
ls -l
|
ls -l
|
||||||
@@ -97,17 +96,12 @@ ls -l
|
|||||||
* enter contact info and click the START button at the bottom of the screen
|
* enter contact info and click the START button at the bottom of the screen
|
||||||
* in system configuration set the database host to: <ip-address>
|
* in system configuration set the database host to: <ip-address>
|
||||||
* database user/pass: vtiger/vtuser
|
* database user/pass: vtiger/vtuser
|
||||||
* database name: vtigercrm504
|
* database name: vtigercrm510
|
||||||
* change default admin(vtadmin) and standarduser(vtuser) passwords
|
* change default admin(vtadmin) and standarduser(vtuser) passwords
|
||||||
* click to install vtiger, then follow the on-screen instructions
|
* click to install vtiger, then follow the on-screen instructions
|
||||||
# patch vtiger to fix issue with user synchronization and add click-to-dial:
|
# patch vtiger to fix issue with user synchronization and add click-to-dial:
|
||||||
cp /usr/src/astguiclient/trunk/extras/Vtiger504_vicidial_005.patch ./
|
cp /usr/src/astguiclient/trunk/extras/Vtiger510_vicidial_001_noclose.patch ./
|
||||||
patch -p1 < ./Vtiger504_vicidial_005.patch
|
patch -p1 < ./Vtiger510_vicidial_001_noclose.patch
|
||||||
|
|
||||||
NOTE: There is also now a patch for the 5.1.0 RC version of Vtiger that is
|
|
||||||
included with ViciDial: Vtiger510_vicidial_001_noclose.patch
|
|
||||||
cp /usr/src/astguiclient/trunk/extras/Vtiger510_vicidial_001_noclose.patch ./
|
|
||||||
patch -p1 < ./Vtiger510_vicidial_001_noclose.patch
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -237,20 +237,29 @@ exten => 8889990011112,1,Goto(loopback-no-log,9990011112,1)
|
|||||||
;exten => _*NXXNXXXXXX*3429,6,Voicemail,u2000
|
;exten => _*NXXNXXXXXX*3429,6,Voicemail,u2000
|
||||||
|
|
||||||
|
|
||||||
; parameters for agi-VDAD_ALL_inbound.agi (9 fields separated by five dashes "-----"):
|
; parameters for agi-VDAD_ALL_inbound.agi (upto 12 fields separated by five dashes "-----"):
|
||||||
; 1. the method of call handling for the script:
|
; Below are the parameters needed for the script to be run properly
|
||||||
|
; 1. the method of call handling for the script:
|
||||||
; - CID - CID received, add record with phone number
|
; - CID - CID received, add record with phone number
|
||||||
; - CIDLOOKUP - Lookup CID to find record in whole system
|
; - CIDLOOKUP - Lookup CID to find record in whole system
|
||||||
; - CIDLOOKUPRL - Restrict lookup to one list
|
; - CIDLOOKUPRL - Restrict lookup to one list
|
||||||
; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
|
; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
; - CLOSER - Closer calls from VICIDIAL fronters
|
; - CLOSER - Closer calls from VICIDIAL fronters
|
||||||
; - ANI - ANI received, add record with phone number
|
; - ANI - ANI received, add record with phone number (based on RBS T1s)
|
||||||
; - ANILOOKUP - Lookup ANI to find record in whole system
|
; - ANILOOKUP - Lookup ANI to find record in whole system
|
||||||
; - ANILOOKUPRL - Restrict lookup to one list
|
; - ANILOOKUPRL - Restrict lookup to one list
|
||||||
|
; - ANILOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
|
; - VID - Add record with Vendor Lead Code received as argument 12
|
||||||
|
; - VIDLOOKUP - Lookup Vendor Lead Code received as argument 12 to find record in whole system
|
||||||
|
; - VIDLOOKUPRL - Restrict lookup to one list (argument 12)
|
||||||
|
; - VIDLOOKUPRC - Restrict lookup to one campaign's lists (argument 12)
|
||||||
|
; - VIDPROMPT - Prompt Vendor Lead Code to User with IVR to add record with Vendor Lead Code
|
||||||
|
; - VIDPROMPTLOOKUP - Prompt Vendor Lead Code to User with IVR to find record in whole system
|
||||||
|
; - VIDPROMPTLOOKUPRL - Restrict lookup to one list
|
||||||
|
; - VIDPROMPTLOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
; - 3DIGITID - Enter 3 digit code to go to agent
|
; - 3DIGITID - Enter 3 digit code to go to agent
|
||||||
; - 4DIGITID - Enter 4 digit code to go to agent
|
; - 4DIGITID - Enter 4 digit code to go to agent
|
||||||
; - 5DIGITID - Enter 5 digit code to go to agent
|
; - XDIGITID - Enter X digit code to go to agent(variable, i.e. 9DIGITID, 12DIGITID, etc...)
|
||||||
; - 10DIGITID - Enter 10 digit code to go to agent
|
|
||||||
; 2. the method of searching for an available agent:
|
; 2. the method of searching for an available agent:
|
||||||
; - LO - Load Balance Overflow only (priority to home server)
|
; - LO - Load Balance Overflow only (priority to home server)
|
||||||
; - LB - <default> Load Balance total system
|
; - LB - <default> Load Balance total system
|
||||||
@@ -264,6 +273,8 @@ exten => 8889990011112,1,Goto(loopback-no-log,9990011112,1)
|
|||||||
; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
|
; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
|
||||||
; 10. the campaign_id to search within lists if CIDLOOKUPRC
|
; 10. the campaign_id to search within lists if CIDLOOKUPRC
|
||||||
; 11. the user to queue the call to for AGENTDIRECT in-group calls
|
; 11. the user to queue the call to for AGENTDIRECT in-group calls
|
||||||
|
; 12. vendor_lead_code if external mechanism like custom IVR is used to prompt user for ID
|
||||||
|
;
|
||||||
; inbound VICIDIAL call with CID delivery through T1 PRI
|
; inbound VICIDIAL call with CID delivery through T1 PRI
|
||||||
;exten => 1234,1,Answer ; Answer the line
|
;exten => 1234,1,Answer ; Answer the line
|
||||||
;exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----CL_GALLERIA-----7274515134-----Closer-----park----------999-----1)
|
;exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----CL_GALLERIA-----7274515134-----Closer-----park----------999-----1)
|
||||||
|
|||||||
@@ -246,20 +246,29 @@ exten => 8889990011112,1,Goto(loopback-no-log,9990011112,1)
|
|||||||
;exten => _*NXXNXXXXXX*3429,6,Voicemail,u2000
|
;exten => _*NXXNXXXXXX*3429,6,Voicemail,u2000
|
||||||
|
|
||||||
|
|
||||||
; parameters for agi-VDAD_ALL_inbound.agi (9 fields separated by five dashes "-----"):
|
; parameters for agi-VDAD_ALL_inbound.agi (upto 12 fields separated by five dashes "-----"):
|
||||||
; 1. the method of call handling for the script:
|
; Below are the parameters needed for the script to be run properly
|
||||||
|
; 1. the method of call handling for the script:
|
||||||
; - CID - CID received, add record with phone number
|
; - CID - CID received, add record with phone number
|
||||||
; - CIDLOOKUP - Lookup CID to find record in whole system
|
; - CIDLOOKUP - Lookup CID to find record in whole system
|
||||||
; - CIDLOOKUPRL - Restrict lookup to one list
|
; - CIDLOOKUPRL - Restrict lookup to one list
|
||||||
; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
|
; - CIDLOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
; - CLOSER - Closer calls from VICIDIAL fronters
|
; - CLOSER - Closer calls from VICIDIAL fronters
|
||||||
; - ANI - ANI received, add record with phone number
|
; - ANI - ANI received, add record with phone number (based on RBS T1s)
|
||||||
; - ANILOOKUP - Lookup ANI to find record in whole system
|
; - ANILOOKUP - Lookup ANI to find record in whole system
|
||||||
; - ANILOOKUPRL - Restrict lookup to one list
|
; - ANILOOKUPRL - Restrict lookup to one list
|
||||||
|
; - ANILOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
|
; - VID - Add record with Vendor Lead Code received as argument 12
|
||||||
|
; - VIDLOOKUP - Lookup Vendor Lead Code received as argument 12 to find record in whole system
|
||||||
|
; - VIDLOOKUPRL - Restrict lookup to one list (argument 12)
|
||||||
|
; - VIDLOOKUPRC - Restrict lookup to one campaign's lists (argument 12)
|
||||||
|
; - VIDPROMPT - Prompt Vendor Lead Code to User with IVR to add record with Vendor Lead Code
|
||||||
|
; - VIDPROMPTLOOKUP - Prompt Vendor Lead Code to User with IVR to find record in whole system
|
||||||
|
; - VIDPROMPTLOOKUPRL - Restrict lookup to one list
|
||||||
|
; - VIDPROMPTLOOKUPRC - Restrict lookup to one campaign's lists
|
||||||
; - 3DIGITID - Enter 3 digit code to go to agent
|
; - 3DIGITID - Enter 3 digit code to go to agent
|
||||||
; - 4DIGITID - Enter 4 digit code to go to agent
|
; - 4DIGITID - Enter 4 digit code to go to agent
|
||||||
; - 5DIGITID - Enter 5 digit code to go to agent
|
; - XDIGITID - Enter X digit code to go to agent(variable, i.e. 9DIGITID, 12DIGITID, etc...)
|
||||||
; - 10DIGITID - Enter 10 digit code to go to agent
|
|
||||||
; 2. the method of searching for an available agent:
|
; 2. the method of searching for an available agent:
|
||||||
; - LO - Load Balance Overflow only (priority to home server)
|
; - LO - Load Balance Overflow only (priority to home server)
|
||||||
; - LB - <default> Load Balance total system
|
; - LB - <default> Load Balance total system
|
||||||
@@ -273,6 +282,8 @@ exten => 8889990011112,1,Goto(loopback-no-log,9990011112,1)
|
|||||||
; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
|
; 9. the phone dialing code to insert with the new lead if new (and CID/ANI available)
|
||||||
; 10. the campaign_id to search within lists if CIDLOOKUPRC
|
; 10. the campaign_id to search within lists if CIDLOOKUPRC
|
||||||
; 11. the user to queue the call to for AGENTDIRECT in-group calls
|
; 11. the user to queue the call to for AGENTDIRECT in-group calls
|
||||||
|
; 12. vendor_lead_code if external mechanism like custom IVR is used to prompt user for ID
|
||||||
|
;
|
||||||
; inbound VICIDIAL call with CID delivery through T1 PRI
|
; inbound VICIDIAL call with CID delivery through T1 PRI
|
||||||
;exten => 1234,1,Answer ; Answer the line
|
;exten => 1234,1,Answer ; Answer the line
|
||||||
;exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----CL_GALLERIA-----7274515134-----Closer-----park----------999-----1)
|
;exten => 1234,2,AGI(agi-VDAD_ALL_inbound.agi,CID-----LB-----CL_GALLERIA-----7274515134-----Closer-----park----------999-----1)
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -356,6 +356,7 @@ CRM Popup Login||
|
|||||||
If set to Y, the CRM Popup Address is used to open a new window on agent login to this campaign. Default is N||
|
If set to Y, the CRM Popup Address is used to open a new window on agent login to this campaign. Default is N||
|
||||||
CRM Popup Address||
|
CRM Popup Address||
|
||||||
The web address of a CRM login page, it can have variables populated just like the web form address, with the VAR in the front and using --A--user_custom_one--B-- to define variables||
|
The web address of a CRM login page, it can have variables populated just like the web form address, with the VAR in the front and using --A--user_custom_one--B-- to define variables||
|
||||||
|
VIDPROMPT will prompt the caller for their ID number and will create a new lead record with the CallerID as the phone number and the ID as the Vendor ID, VIDPROMPTLOOKUP will attempt to lookup the ID in the entire system, VIDPROMPTLOOKUPRL will attampt to lookup the vendor ID by the ID in only one specified list, VIDPROMPTLOOKUPRC will attampt to lookup the vendor ID by the ID in all of the lists that belong to the specified campaign||
|
||||||
|
|
||||||
|
|
||||||
add-file: user_territories.php
|
add-file: user_territories.php
|
||||||
|
|||||||
@@ -2016,11 +2016,12 @@ else
|
|||||||
# 91210-2038 - Added better logging of Campaign emergency logout
|
# 91210-2038 - Added better logging of Campaign emergency logout
|
||||||
# 91211-1359 - Added custom user fields and campaign CRM login fields
|
# 91211-1359 - Added custom user fields and campaign CRM login fields
|
||||||
# 91219-0719 - Changed some field backgrounds in the Campaign Modification screens
|
# 91219-0719 - Changed some field backgrounds in the Campaign Modification screens
|
||||||
|
# 91223-1031 - Added VIDPROMPT options for in-group routing in DIDs
|
||||||
#
|
#
|
||||||
# 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
|
# 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.2.0-229';
|
$admin_version = '2.2.0-230';
|
||||||
$build = '91219-0719';
|
$build = '91223-1031';
|
||||||
|
|
||||||
$STARTtime = date("U");
|
$STARTtime = date("U");
|
||||||
$SQLdate = date("Y-m-d H:i:s");
|
$SQLdate = date("Y-m-d H:i:s");
|
||||||
@@ -4434,7 +4435,7 @@ if ($ADD==99999)
|
|||||||
<BR>
|
<BR>
|
||||||
<A NAME="vicidial_inbound_dids-call_handle_method">
|
<A NAME="vicidial_inbound_dids-call_handle_method">
|
||||||
<BR>
|
<BR>
|
||||||
<B>In-Group Call Handle Method -</B> If IN_GROUP is selected as the DID Route, then this is the call handling method used for these calls. CID will add a new lead record with every call using the CallerID as the phone number, CIDLOOKUP will attempt to lookup the phone number by the CallerID in the entire system, CIDLOOKUPRL will attampt to lookup the phone number by the CallerID in only one specified list, CIDLOOKUPRC will attampt to lookup the phone number by the CallerID in all of the lists that belong to the specified campaign, CLOSER is specified for VICIDIAL Closer calls, ANI will add a new lead record with every call using the ANI as the phone number, ANILOOKUP will attempt to lookup the phone number by the ANI in the entire system, ANILOOKUPRL will attampt to lookup the phone number by the ANI in only one specified list, XDIGITID will prompt the caller for an X digit code before the call will be put into the queue. Default is CID.
|
<B>In-Group Call Handle Method -</B> If IN_GROUP is selected as the DID Route, then this is the call handling method used for these calls. CID will add a new lead record with every call using the CallerID as the phone number, CIDLOOKUP will attempt to lookup the phone number by the CallerID in the entire system, CIDLOOKUPRL will attampt to lookup the phone number by the CallerID in only one specified list, CIDLOOKUPRC will attampt to lookup the phone number by the CallerID in all of the lists that belong to the specified campaign, CLOSER is specified for VICIDIAL Closer calls, ANI will add a new lead record with every call using the ANI as the phone number, ANILOOKUP will attempt to lookup the phone number by the ANI in the entire system, ANILOOKUPRL will attampt to lookup the phone number by the ANI in only one specified list, XDIGITID will prompt the caller for an X digit code before the call will be put into the queue. Default is CID. VIDPROMPT will prompt the caller for their ID number and will create a new lead record with the CallerID as the phone number and the ID as the Vendor ID, VIDPROMPTLOOKUP will attempt to lookup the ID in the entire system, VIDPROMPTLOOKUPRL will attampt to lookup the vendor ID by the ID in only one specified list, VIDPROMPTLOOKUPRC will attampt to lookup the vendor ID by the ID in all of the lists that belong to the specified campaign.
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
<A NAME="vicidial_inbound_dids-agent_search_method">
|
<A NAME="vicidial_inbound_dids-agent_search_method">
|
||||||
@@ -19792,7 +19793,7 @@ if ($ADD==3311)
|
|||||||
echo "<tr bgcolor=#B6D3FC><td align=right><a href=\"$PHP_SELF?ADD=3111&group_id=$group_id\">In-Group ID</a>: </td><td align=left><select size=1 name=group_id>";
|
echo "<tr bgcolor=#B6D3FC><td align=right><a href=\"$PHP_SELF?ADD=3111&group_id=$group_id\">In-Group ID</a>: </td><td align=left><select size=1 name=group_id>";
|
||||||
echo "$Dgroups_menu";
|
echo "$Dgroups_menu";
|
||||||
echo "</select>$NWB#vicidial_inbound_dids-group_id$NWE</td></tr>\n";
|
echo "</select>$NWB#vicidial_inbound_dids-group_id$NWE</td></tr>\n";
|
||||||
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group Call Handle Method: </td><td align=left><select size=1 name=call_handle_method><option>CID</option><option>CIDLOOKUP</option><option>CIDLOOKUPRL</option><option>CIDLOOKUPRC</option><option>ANI</option><option>ANILOOKUP</option><option>ANILOOKUPRL</option><option>CLOSER</option><option>3DIGITID</option><option>4DIGITID</option><option>5DIGITID</option><option>10DIGITID</option><option SELECTED>$call_handle_method</option></select>$NWB#vicidial_inbound_dids-call_handle_method$NWE</td></tr>\n";
|
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group Call Handle Method: </td><td align=left><select size=1 name=call_handle_method><option>CID</option><option>CIDLOOKUP</option><option>CIDLOOKUPRL</option><option>CIDLOOKUPRC</option><option>ANI</option><option>ANILOOKUP</option><option>ANILOOKUPRL</option><option>VIDPROMPT</option><option>VIDPROMPTLOOKUP</option><option>VIDPROMPTLOOKUPRL</option><option>VIDPROMPTLOOKUPRC</option><option>CLOSER</option><option>3DIGITID</option><option>4DIGITID</option><option>5DIGITID</option><option>10DIGITID</option><option SELECTED>$call_handle_method</option></select>$NWB#vicidial_inbound_dids-call_handle_method$NWE</td></tr>\n";
|
||||||
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group Agent Search Method: </td><td align=left><select size=1 name=agent_search_method><option value=\"LB\">LB - Load Balanced</option><option value=\"LO\">LO - Load Balanced Overflow</option><option value=\"SO\">SO - Server Only</option><option SELECTED>$agent_search_method</option></select>$NWB#vicidial_inbound_dids-agent_search_method$NWE</td></tr>\n";
|
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group Agent Search Method: </td><td align=left><select size=1 name=agent_search_method><option value=\"LB\">LB - Load Balanced</option><option value=\"LO\">LO - Load Balanced Overflow</option><option value=\"SO\">SO - Server Only</option><option SELECTED>$agent_search_method</option></select>$NWB#vicidial_inbound_dids-agent_search_method$NWE</td></tr>\n";
|
||||||
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group List ID: </td><td align=left><input type=text name=list_id size=14 maxlength=14 value=\"$list_id\">$NWB#vicidial_inbound_dids-list_id$NWE</td></tr>\n";
|
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group List ID: </td><td align=left><input type=text name=list_id size=14 maxlength=14 value=\"$list_id\">$NWB#vicidial_inbound_dids-list_id$NWE</td></tr>\n";
|
||||||
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group Campaign ID: </td><td align=left><select size=1 name=campaign_id>\n";
|
echo "<tr bgcolor=#B6D3FC><td align=right>In-Group Campaign ID: </td><td align=left><select size=1 name=campaign_id>\n";
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
# 90830-2213 - Added Music On Hold options
|
# 90830-2213 - Added Music On Hold options
|
||||||
# 90904-1534 - Added launch_moh_chooser
|
# 90904-1534 - Added launch_moh_chooser
|
||||||
# 90916-2334 - Added Voicemail options
|
# 90916-2334 - Added Voicemail options
|
||||||
|
# 91223-1030 - Added VIDPROMPT options for in-group routing in Call Menus
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@@ -569,7 +570,7 @@ if ( ($ADD==3511) or ($ADD==2511) or ($ADD==2611) or ($ADD==4511) or ($ADD==5511
|
|||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$IGhandle_method_list = '<option>CID</option><option>CIDLOOKUP</option><option>CIDLOOKUPRL</option><option>CIDLOOKUPRC</option><option>ANI</option><option>ANILOOKUP</option><option>ANILOOKUPRL</option><option>CLOSER</option><option>3DIGITID</option><option>4DIGITID</option><option>5DIGITID</option><option>10DIGITID</option>';
|
$IGhandle_method_list = '<option>CID</option><option>CIDLOOKUP</option><option>CIDLOOKUPRL</option><option>CIDLOOKUPRC</option><option>ANI</option><option>ANILOOKUP</option><option>ANILOOKUPRL</option><option>VIDPROMPT</option><option>VIDPROMPTLOOKUP</option><option>VIDPROMPTLOOKUPRL</option><option>VIDPROMPTLOOKUPRC</option><option>CLOSER</option><option>3DIGITID</option><option>4DIGITID</option><option>5DIGITID</option><option>10DIGITID</option>';
|
||||||
|
|
||||||
$IGsearch_method_list = '<option value="LB">LB - Load Balanced</option><option value="LO">LO - Load Balanced Overflow</option><option value="SO">SO - Server Only</option>';
|
$IGsearch_method_list = '<option value="LB">LB - Load Balanced</option><option value="LO">LO - Load Balanced Overflow</option><option value="SO">SO - Server Only</option>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user