Scipt issue with Recording message and attaching to email
We have a script that we are trying to implement that will prompt the caller to leave a message and then attach and email out. I have added the Goto on exception for if the caller hangs up after leaving the message and this works fine. The problem I am having is if the caller hangs up during the prompt and doesn't even leave a message. The script will still send the email out with an attachment of 236 Bytes but there is no content. Is there a method Ithat can be used to verify that a message has actually been recorded? Please see the snippet of the script:
Re: Scipt issue with Recording message and attaching to email
There are two scenarios you could see with this:
1. If the caller does in fact hangup during the prompt playback, the document will remain unchanged. I.e., If the value of the document is initially DOC, it will remain as DOC after the ContactInactiveException is triggered. Therefore, a simple If step could work:
If (recording == DOC)
/* Trash it and don't send an email */
/* Keep it and send an email */
2. However, if the caller hangs up after the prompt has played but before recording any audio, there will be a document created and you will get a tiny wav file. You will need to decide what you threshold is for "too small" and discard those recordings.
Here's how you do that. The document will hold the path to the recording like so:
You have reached the Cisco Logistics Support Center.. To Check Status of
your RMA, visit Product Returns & Replacements (RMA). Need help? Contact
us by Phone or Email. North Americas Phone: 1800 553 2447 Option 4
Email: firstname.lastname@example.org Europe Phone: +3...
The short answer is that you don't.... That isn't entirely true while at
the same time it kind of is, but for the most part you don't configure
the softkeys. You enable or disable them via TCL. Here is the long
answer. Be sure to read the whole thing or e...
Topology: IP Phone > Switches > Microsoft NPS setup to forward 802.1x
proxy to > ISE 2.1 patch 3 Authentication: EAP-TLS using Cisco MIC SANs
Phone Models 802.1X support? 802.1x flavor Addtl Comment EAP-MD5 EAP-TLS
Cisco 3905 Y Y N Cisco 6911 Y Y N Cisco ...