I need help with this issue. A while back ago I added an WHERE CALLER ID EQUALS line that said if the call came in from the 563 or 309 area code to apply it to this script.
Turns out that there are some exchanges in the 563 area code that don't want to be applied to this script. Do I have to put an entry in for each and every prefix that I want to exclude? See Below
/* Updates: Please list all updates with initials and date of changes */
GIVE RINGBACK
WAIT 2
WHERE CLID EQUALS
VALUE 309@: EXECUTE qc_menu
VALUE 563@: EXECUTE qc_menu
VALUE 40240846@: EXECUTE qc_menu
DEFAULT: ROUTE CALL 5713
END WHERE
SECTION qc_menu
OPEN VOICE SESSION 5880
PLAY PROMPT VOICE SEGMENT mynurse_qc_vs
COLLECT 1 DIGITS INTO mynurse_choice_cv
END VOICE SESSION
WHERE mynurse_choice_cv EQUALS
VALUE 1: ROUTE CALL 5700 /* QC_Health_Sc */
VALUE 2: ROUTE CALL 5703 /* QC_Assistance_Sc */
VALUE 3: ROUTE CALL 5708 /* QC_Register_Sc */
VALUE 4: ROUTE CALL 5703
VALUE 5: ROUTE CALL 5710 /* QC_Other_Sc */
VALUE 6: ROUTE CALL 2907 /* VRU */
DEFAULT: EXECUTE qc_repeat
END WHERE
SECTION qc_repeat
OPEN VOICE SESSION 5880
PLAY PROMPT VOICE SEGMENT mynurse_qc_vs
COLLECT 1 DIGITS INTO mynurse_choice_cv
END VOICE SESSION
WHERE mynurse_choice_cv EQUALS
VALUE 1: ROUTE CALL 5700 /* QC_Health_Sc */
VALUE 2: ROUTE CALL 5703 /* QC_Assistance_Sc */
VALUE 3: ROUTE CALL 5708 /* QC_Register_Sc */
VALUE 4: ROUTE CALL 5703
VALUE 5: ROUTE CALL 5710 /* QC_Other_Sc */
VALUE 6: ROUTE CALL 2907 /* VRU */
DEFAULT: ROUTE CALL 5710 /* QC_Other_Sc */
END WHERE
Turns out that there are some exchanges in the 563 area code that don't want to be applied to this script. Do I have to put an entry in for each and every prefix that I want to exclude? See Below
/* Updates: Please list all updates with initials and date of changes */
GIVE RINGBACK
WAIT 2
WHERE CLID EQUALS
VALUE 309@: EXECUTE qc_menu
VALUE 563@: EXECUTE qc_menu
VALUE 40240846@: EXECUTE qc_menu
DEFAULT: ROUTE CALL 5713
END WHERE
SECTION qc_menu
OPEN VOICE SESSION 5880
PLAY PROMPT VOICE SEGMENT mynurse_qc_vs
COLLECT 1 DIGITS INTO mynurse_choice_cv
END VOICE SESSION
WHERE mynurse_choice_cv EQUALS
VALUE 1: ROUTE CALL 5700 /* QC_Health_Sc */
VALUE 2: ROUTE CALL 5703 /* QC_Assistance_Sc */
VALUE 3: ROUTE CALL 5708 /* QC_Register_Sc */
VALUE 4: ROUTE CALL 5703
VALUE 5: ROUTE CALL 5710 /* QC_Other_Sc */
VALUE 6: ROUTE CALL 2907 /* VRU */
DEFAULT: EXECUTE qc_repeat
END WHERE
SECTION qc_repeat
OPEN VOICE SESSION 5880
PLAY PROMPT VOICE SEGMENT mynurse_qc_vs
COLLECT 1 DIGITS INTO mynurse_choice_cv
END VOICE SESSION
WHERE mynurse_choice_cv EQUALS
VALUE 1: ROUTE CALL 5700 /* QC_Health_Sc */
VALUE 2: ROUTE CALL 5703 /* QC_Assistance_Sc */
VALUE 3: ROUTE CALL 5708 /* QC_Register_Sc */
VALUE 4: ROUTE CALL 5703
VALUE 5: ROUTE CALL 5710 /* QC_Other_Sc */
VALUE 6: ROUTE CALL 2907 /* VRU */
DEFAULT: ROUTE CALL 5710 /* QC_Other_Sc */
END WHERE