03-04-2009 08:36 AM - edited 03-14-2019 03:45 AM
I have IPCC Express 3.5.2. I have successfully created a script that enables recording a message when either a wait timeout occurs and then the user selects to leave a message. There is a maximum time limit on the recording. As long as the user stays online long enough during the recording fort he max timer to expire I can save the file and send out an e-,mail with this attached.
My question is how do detect hang-up then save the file and send the e-mail when a caller hangs up before the max time out has expired?
03-04-2009 10:37 AM
You need to use the On Exception GoTo and Clear Exception steps.
An Example:
Start
...logic...
On Exception (contactInactiveException) GoTo RecordingException
Recording
--Successful
----Label: Recording Exception
----Clear Exception: RecordingException
----....email/otherlogic...
End
The On Exception Goto watches for the caller hanging up. If they do, it moves the script to the label instead of going to the end. You must have the Clear Exception step to then clear the exception and move on.
03-04-2009 11:01 AM
Excellent.
Looks like there are a few other exceptions that could be programatically addressed in a similar manner. It looks like there is an option that would be very useful "Save root cause (optional). I have made several variables using several "type" identifiers and yet nothing shows in the pop up. Do you know what "type" this should be declared as?
Other than that this worked really nice and was easy to implement.
Thanks Johnathan
10-11-2010 01:04 PM
did you ever find the 'type' of variable?
03-05-2009 03:17 AM
I would use a prompt something like this in the recording step: "we are currently busy, please leave a message for us stating the nature of yoy problem. End by presssing hashmark"
Then you need to set # as termination on filter settings on recording step. This way customer ends the recording with # and you can continue in script
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide