Hi All,
I have a customer that would like calls coming into the call center to be fronted with an option for callers to enter their zip code. Based on the zip code/county, they would receive a different treatment.
I was thinking of building global variables for the different counties with the zip codes as values and then checking if the zip code call variable they entered against the global variables. Like this:
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Enter_ZipCode_vs
COLLECT 5 DIGITS INTO ZipCode_cv
END VOICE SESSION
IF (ZipCode_cv = JonesCounty_gv) THEN
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Jones_County_vs
END VOICE SESSION
DISCONNECT
END IF
Am I on track? Is there a better way?
Also, what would be the best way to check against all of the county_gv? There are 100 different counties.
Thanks in advance for your guidance.
I have a customer that would like calls coming into the call center to be fronted with an option for callers to enter their zip code. Based on the zip code/county, they would receive a different treatment.
I was thinking of building global variables for the different counties with the zip codes as values and then checking if the zip code call variable they entered against the global variables. Like this:
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Enter_ZipCode_vs
COLLECT 5 DIGITS INTO ZipCode_cv
END VOICE SESSION
IF (ZipCode_cv = JonesCounty_gv) THEN
OPEN VOICE SESSION
PLAY PROMPT VOICE SEGMENT Jones_County_vs
END VOICE SESSION
DISCONNECT
END IF
Am I on track? Is there a better way?
Also, what would be the best way to check against all of the county_gv? There are 100 different counties.
Thanks in advance for your guidance.