From 5600f5869747044a6f0faeca829b2e2a2278943c Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 21 Dec 2006 17:23:40 +0000 Subject: [PATCH] widened the vicidial.php interface to fit better in 800x600 screens, widened the SCRIPT tab altered the samples and preview in admin.php to match git-svn-id: svn://192.168.202.10@442 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/agc/vicidial.php | 53 +++++++++++++++++++++--------------------- www/vicidial/admin.php | 6 ++--- 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/www/agc/vicidial.php b/www/agc/vicidial.php index 46e1cc90..bcb5a6fa 100644 --- a/www/agc/vicidial.php +++ b/www/agc/vicidial.php @@ -131,6 +131,7 @@ # 61122-1523 - Added more SCRIPT variables # 61128-2229 - Added vicidial_live_agents and vicidial_auto_calls manual dial entries # 61130-1617 - Added lead_id to MonitorConf for recording_log +# 61221-1212 - Changed width to 760 to better fit 800x600 screens, widened SCRIPT # require("dbconnect.php"); @@ -176,8 +177,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];} $forever_stop=0; -$version = '2.0.104'; -$build = '61130-1617'; +$version = '2.0.105'; +$build = '61221-1212'; if ($force_logout) { @@ -5351,7 +5352,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";} div.scroll_callback {height: 300px; width: 620px; overflow: scroll;} div.scroll_park {height: 400px; width: 620px; overflow: scroll;} div.scroll_list {height: 400px; width: 140px; overflow: scroll;} - div.scroll_script {height: 331px; width: 480px; background: #FFF5EC; overflow: scroll; font-size: 12px; font-family: sans-serif;} + div.scroll_script {height: 331px; width: 600px; background: #FFF5EC; overflow: scroll; font-size: 12px; font-family: sans-serif;} .body_text {font-size: 13px; font-family: sans-serif;} .preview_text {font-size: 13px; font-family: sans-serif; background: #CCFFCC} .preview_text_red {font-size: 13px; font-family: sans-serif; background: #FFCCCC} @@ -5378,7 +5379,7 @@ echo "\n";
- +
@@ -5388,11 +5389,11 @@ echo "\n"; - +
- +
VICIDIAL SCRIPT   LIVE     session ID:   LIVE     session ID: Live Call
@@ -5400,7 +5401,7 @@ echo "\n"; -

VICIDIAL
+

VICIDIAL
@@ -5412,7 +5413,7 @@ echo "\n"; -
CALLBACKS FOR AGENT :
Click on a callback below to call the customer back now. If you click on a record below to call it, it will be removed from the list. +
CALLBACKS FOR AGENT :
Click on a callback below to call the customer back now. If you click on a record below to call it, it will be removed from the list.

  @@ -5423,7 +5424,7 @@ echo "\n"; -
NEW MANUAL DIAL LEAD FOR :

Enter information below for the new lead you wish to call. +
NEW MANUAL DIAL LEAD FOR :

Enter information below for the new lead you wish to call.
\n"; -
+
- + Your Status:
Calls Dialing:
- +
Transfer - Conference
@@ -5500,7 +5501,7 @@ Your Status:
Calls Dialing: - +
@@ -5508,7 +5509,7 @@ Your Status:
Calls Dialing: -
Lead Dispositioned As:

-
+
Disposition Hot Keys: When active, simply press the keyboard key for the desired disposition for this call. The call will then be hungup and dispositioned automatically:
@@ -5524,7 +5525,7 @@ Your Status:
Calls Dialing: - +
@@ -5541,7 +5542,7 @@ Your Status:
Calls Dialing: -
Previous Callback Information: close
Noone is in your session:
+
Noone is in your session:
Go Back

Call Agent Again @@ -5549,7 +5550,7 @@ Your Status:
Calls Dialing: -
Customer has hung up:
+
Customer has hung up:
Go Back

Finish and Disposition Call @@ -5558,7 +5559,7 @@ Your Status:
Calls Dialing: -
Call Wrapup: seconds remaining in wrapup

+
Call Wrapup: seconds remaining in wrapup



Finish Wrapup and Move On @@ -5567,7 +5568,7 @@ Your Status:
Calls Dialing: -

LOGOUT
+

LOGOUT
@@ -5579,11 +5580,11 @@ Your Status:
Calls Dialing: -
Any changes made to the customer information below at this time will not be comitted, You must change customer information before you Hangup the call.
+
Any changes made to the customer information below at this time will not be comitted, You must change customer information before you Hangup the call.
-
DISPOSITION CALL :       Hangup Again       minimize
+
DISPOSITION CALL :       Hangup Again       minimize
End-of-call Disposition Selection
PAUSE AGENT DIALING
@@ -5597,7 +5598,7 @@ Your Status:
Calls Dialing: -
Select a CallBack Date :
+
Select a CallBack Date :
Select a Date Below   @@ -5640,7 +5641,7 @@ Your Status:
Calls Dialing: -
CLOSER INBOUND GROUP SELECTION
+
CLOSER INBOUND GROUP SELECTION
Closer Inbound Group Selection
BLENDED CALLING(outbound activated)
@@ -5663,7 +5664,7 @@ Your Status:
Calls Dialing: - +
LIVE CALL TRANSFER
Channel to be transferred: Channel
LIVE CALL TRANSFER
Channel to be transferred: Channel
Extensions:
Extensions Menu

@@ -5679,7 +5680,7 @@ Your Status:
Calls Dialing: -
VICIDIAL SCRIPT
+
VICIDIAL SCRIPT
@@ -5689,7 +5690,7 @@ Your Status:
Calls Dialing: - +
STATUS:
diff --git a/www/vicidial/admin.php b/www/vicidial/admin.php index 4d257dcc..78ad66c3 100644 --- a/www/vicidial/admin.php +++ b/www/vicidial/admin.php @@ -1907,7 +1907,7 @@ echo "
Script Text - This is where you place the content of a Vicidial Script. Minimum of 2 characters. You can have customer information be auto-populated in this script using "--A--field--B--" where field is one of the following fieldnames: vendor_lead_code, source_id, list_id, gmt_offset_now, called_since_last_reset, phone_code, phone_number, title, first_name, middle_initial, last_name, address1, address2, address3, city, state, province, postal_code, country_code, gender, date_of_birth, alt_phone, email, security_phrase, comments, lead_id, campaign, phone_login, group, channel_group, SQLdate, epoch, uniqueid, customer_zap_channel, server_ip, SIPexten, session_id. For example, this sentence would print the persons name in it----

Hello, can I speak with --A--first_name--B-- --A--last_name--B-- please? Well hello --A--title--B-- --A--last_name--B-- how are you today?

This would read----

Hello, can I speak with John Doe please? Well hello Mr. Doe how are you today?

You can also use an iframe to load a separate window within the SCRIPT tab, here is an example with prepopulated variables:
-<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:460;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290"> +<iframe src="http://astguiclient.sf.net/test_VICIDIAL_output.php?lead_id=--A--lead_id--B--&vendor_id=--A--vendor_lead_code--B--&list_id=--A--list_id--B--&gmt_offset_now=--A--gmt_offset_now--B--&phone_code=--A--phone_code--B--&phone_number=--A--phone_number--B--&title=--A--title--B--&first_name=--A--first_name--B--&middle_initial=--A--middle_initial--B--&last_name=--A--last_name--B--&address1=--A--address1--B--&address2=--A--address2--B--&address3=--A--address3--B--&city=--A--city--B--&state=--A--state--B--&province=--A--province--B--&postal_code=--A--postal_code--B--&country_code=--A--country_code--B--&gender=--A--gender--B--&date_of_birth=--A--date_of_birth--B--&alt_phone=--A--alt_phone--B--&email=--A--email--B--&security_phrase=--A--security_phrase--B--&comments=--A--comments--B--&user=--A--user--B--&campaign=--A--campaign--B--&phone_login=--A--phone_login--B--&fronter=--A--fronter--B--&closer=--A--user--B--&group=--A--group--B--&channel_group=--A--group--B--&SQLdate=--A--SQLdate--B--&epoch=--A--epoch--B--&uniqueid=--A--uniqueid--B--&customer_zap_channel=--A--customer_zap_channel--B--&server_ip=--A--server_ip--B--&SIPexten=--A--SIPexten--B--&session_id=--A--session_id--B--&phone=--A--phone--B--" style="width:580;height:290;background-color:transparent;" scrolling="auto" frameborder="0" allowtransparency="true" id="popupFrame" name="popupFrame" width="460" height="290"> </iframe>
@@ -2669,7 +2669,7 @@ $script_text = eregi_replace("\n","
",$script_text); echo ""; echo "Preview Script: $script_id
\n"; -echo "
\n"; +echo "
\n"; echo "
$script_name
\n"; echo "$script_text\n"; echo "
\n"; @@ -2708,7 +2708,7 @@ if ($hh=='server') {$server_hh='bgcolor ="#FF99FF"'; $server_fc='BLACK';} # pink