Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Recording step doesn't record without terminating key

The subject pretty much says it all. I have a script that records a caller message and stores it in a SQL server, please no comments about the evils of blobs, it's low volume. The problem is if they don't press # after the message it doesn't actually save the message. Am I doing something wrong or is that how it's supposed to work?

Thanks

6 REPLIES
Anonymous
N/A

Re: Recording step doesn't record without terminating key

Try this out:

Run the script.

(1) Recording your message, press any dtmf key to terminate your recording.

(2) The script will then play "the message is [your messasge], to keep it press 1, to discard it press 2."

(3)Press 1 twice(this is because bug CSCdt93003, the first dtmf key is lost after recording), you should hear "message saved."

Silver

Re: Recording step doesn't record without terminating key

If you don't want to wait for a positive confirmation (eg. #) or for the timeout, then it implies that the caller is hanging up.

You can use the On Exception Goto step to catch the ContactInactiveException when a caller hangs up.

When the contact terminates, if a media step is executed that relies on a contact, it will trigger this exception handler. This step will catch the exception and go to the label you have specified. Here you can email out the recorded wav file .

I would strongly recommend that you immediately use the On Exception Clear step to "cancel" the On Exception Goto inside the destination label. This will avoid potentially looping.

New Member

Re: Recording step doesn't record without terminating key

This sounds like what I need. I'll try this right away. Thanks!

New Member

Re: Recording step doesn't record without terminating key

Do you know where I should add the On Exception Goto to? Should it be in the Unsuccesful branch of the recording step?

Thanks

Bronze

Re: Recording step doesn't record without terminating key

You need to use the OnException Goto before the Recording step. It is alway's very important to

clear the On Exception Goto's to avoid looping.

Example:

OnException(ContactInactiveException) Goto Label

Recording step

Label

Clear Exception (ContactInactiveException)

Hope this helps

New Member

Re: Recording step doesn't record without terminating key

It did help! Thanks to both of you! My script now functions properly without a terminating key.

Cliff

124
Views
20
Helpful
6
Replies
CreatePlease to create content