Imstillhere
IS-IT--Management
Can anyone paste this and see what you make of it, when trying to save/validate.. My cc 7.0 tells me
"An end of file is encountered in the script in the middle of a statement.
location: Line 119"
My script ends at line 118 ?
EVENT HANDLER
EVENT CALL ON HOLD: GIVE MUSIC DS_music_gv
END HANDLER
IF NOT OUT OF SERVICE DS_Wildcard THEN
ROUTE CALL DS_Wildcard_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
IF NOT OUT OF SERVICE DS_emergency OR
DS_emergency_gv=TRUE OR
Call_center_emergency_gv=TRUE THEN
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
IF DAY OF WEEK=DS_weekend_gv THEN
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
IF TIME OF DAY = DS_afterhours_PreCert_gv THEN
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
/* Initial queueing of call to correct CDN */
IF CDN = DS_PreCert_CDNs_gv THEN
IF NOT OUT OF SERVICE DS_PreCert_sk_gv THEN
QUEUE TO SKILLSET DS_PreCert_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Rich_Facilities THEN
IF NOT OUT OF SERVICE DS_PreReg_Rich_sk_gv THEN
QUEUE TO SKILLSET DS_PreReg_Rich_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Spots_cdn_gv THEN
IF NOT OUT OF SERVICE DS_Spots_PreReg_sk_gv THEN
QUEUE TO SKILLSET DS_Spots_PreReg_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
EXECUTE Wait_loop
/* --------------------- */
SECTION Music_section
/* --------------------- */
GIVE MUSIC DS_music_gv
WAIT 2
/* --------------------- */
SECTION Wait_loop
/* --------------------- */
GIVE RAN DS_hold_in_queue_msg1_gv
WAIT DS_wait_timer1_gv
IF NOT QUEUED THEN
IF CDN=DS_PreCert_cdn_gv THEN
IF NOT OUT OF SERVICE DS_PreCert_sk_gv THEN
QUEUE TO SKILLSET DS_PreCert_sk_gv WITH PRIORITY DS_priority_high_gv
WAIT 2
EXECUTE Wait_loop
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Rich_Facilities THEN
IF NOT OUT OF SERVICE DS_PreReg_Rich_sk_gv THEN
QUEUE TO SKILLSET DS_PreReg_Rich_sk_gv WITH PRIORITY DS_priority_high_gv
WAIT 2
EXECUTE Wait_loop
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Spots_cdn_gv THEN
IF NOT OUT OF SERVICE DS_Spots_PreReg_sk_gv THEN
QUEUE TO SKILLSET DS_Spots_PreReg_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
EXECUTE WAIT LOOP
"An end of file is encountered in the script in the middle of a statement.
location: Line 119"
My script ends at line 118 ?
EVENT HANDLER
EVENT CALL ON HOLD: GIVE MUSIC DS_music_gv
END HANDLER
IF NOT OUT OF SERVICE DS_Wildcard THEN
ROUTE CALL DS_Wildcard_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
IF NOT OUT OF SERVICE DS_emergency OR
DS_emergency_gv=TRUE OR
Call_center_emergency_gv=TRUE THEN
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
IF DAY OF WEEK=DS_weekend_gv THEN
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
IF TIME OF DAY = DS_afterhours_PreCert_gv THEN
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
/* Initial queueing of call to correct CDN */
IF CDN = DS_PreCert_CDNs_gv THEN
IF NOT OUT OF SERVICE DS_PreCert_sk_gv THEN
QUEUE TO SKILLSET DS_PreCert_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Rich_Facilities THEN
IF NOT OUT OF SERVICE DS_PreReg_Rich_sk_gv THEN
QUEUE TO SKILLSET DS_PreReg_Rich_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Spots_cdn_gv THEN
IF NOT OUT OF SERVICE DS_Spots_PreReg_sk_gv THEN
QUEUE TO SKILLSET DS_Spots_PreReg_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
EXECUTE Wait_loop
/* --------------------- */
SECTION Music_section
/* --------------------- */
GIVE MUSIC DS_music_gv
WAIT 2
/* --------------------- */
SECTION Wait_loop
/* --------------------- */
GIVE RAN DS_hold_in_queue_msg1_gv
WAIT DS_wait_timer1_gv
IF NOT QUEUED THEN
IF CDN=DS_PreCert_cdn_gv THEN
IF NOT OUT OF SERVICE DS_PreCert_sk_gv THEN
QUEUE TO SKILLSET DS_PreCert_sk_gv WITH PRIORITY DS_priority_high_gv
WAIT 2
EXECUTE Wait_loop
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Rich_Facilities THEN
IF NOT OUT OF SERVICE DS_PreReg_Rich_sk_gv THEN
QUEUE TO SKILLSET DS_PreReg_Rich_sk_gv WITH PRIORITY DS_priority_high_gv
WAIT 2
EXECUTE Wait_loop
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
IF CDN = DS_PreReg_Spots_cdn_gv THEN
IF NOT OUT OF SERVICE DS_Spots_PreReg_sk_gv THEN
QUEUE TO SKILLSET DS_Spots_PreReg_sk_gv WITH PRIORITY DS_priority_low_gv
WAIT 2
EXECUTE Music_section
ELSE
ROUTE CALL DS_emergency_msg_gv CONTROLLED
WAIT 2
DISCONNECT
END IF
END IF
EXECUTE WAIT LOOP