Sidebar Menu

TextToSay Debugging and Error Reporting

Commands For Debugging and Reporting

DebugEmail

This command will email you a line-by-line view of what happened in a particular call. Important: You must remove this from your Dial Plan in production. Failure to do so may result in suspension of your account.

~\DebugEmail(DevTeam@tempuri.org)~

ErrorEmail

This command will email you if there is an error during a call. (If there is no error, no email is sent.) Status Postback timeouts are considered errors and will trigger an email. Please avoid using this if you send over 60 calls per hour, since this could overwhelm your email server.

~\ErrorEmail(ErrorTeam@tempuri.org)~

Understanding the Output

The log file assigns a time stamp to every item in the log. Time stamps are in UTC.

"EVENT FIRE" items refer to events, such as when silence is detected or the user enters a DTMF command. Events can change the course of the Dial Plan, such as by triggering label jumps.

Note that PlayFromMemoryCache is an internal sound-playing function. When your Dial Plan is first processed, every sound is cached in memory that can be.

Example Output

10/21/2020 11:38:07 PM: Start Send Invite
10/21/2020 11:38:07 PM: Sent Invite
10/21/2020 11:38:07 PM: WaitForAnswerFromInvite
10/21/2020 11:38:10 PM: Ringing
10/21/2020 11:38:13 PM: Adding Sender Channel
10/21/2020 11:38:13 PM: Adding Events
10/21/2020 11:38:13 PM: Adding Default DTMF 1
10/21/2020 11:38:13 PM: Starting DP Loop
10/21/2020 11:38:13 PM: Noop()
10/21/2020 11:38:13 PM: Label(ring)
10/21/2020 11:38:13 PM: InitialAMD()
10/21/2020 11:38:13 PM: WaitForSilence(1|2)
10/21/2020 11:38:14 PM: EVENT FIRE ------- TONE DETECTED: OkToPlay
10/21/2020 11:38:14 PM: EVENT FIRE ------- SILENCE DETECTED: 1020
10/21/2020 11:38:14 PM: Label(start)
10/21/2020 11:38:14 PM: Label(amd)
10/21/2020 11:38:14 PM: ActOnDigitPress(false)
10/21/2020 11:38:14 PM: ClearDtmf()
10/21/2020 11:38:15 PM: SetVar(attempt|1)
10/21/2020 11:38:15 PM: SetVar(phoneverificationtypeid|1)
10/21/2020 11:38:15 PM: SetVar(orderid|2415)
10/21/2020 11:38:15 PM: PlayFromMemoryCache(334b6901-57e3-1ce4-da16-85e06ce7cc74)
10/21/2020 11:38:18 PM: Label(topmenu)
10/21/2020 11:38:18 PM: AssignDtmf(1|purchaseconfirm)
10/21/2020 11:38:18 PM: AssignDtmf(2|purchasedeny)
10/21/2020 11:38:18 PM: AssignDtmf(3|callbacklater)
10/21/2020 11:38:18 PM: AssignDtmf(*|start)
10/21/2020 11:38:18 PM: AssignDtmf(#|hangup)
10/21/2020 11:38:18 PM: ActOnDigitPress(true)
10/21/2020 11:38:18 PM: PlayFromMemoryCache(06060af3-0c5c-e668-6558-14ce2e2d8db6)
10/21/2020 11:38:23 PM: EVENT FIRE ------- DTMF DETECTED: 1
10/21/2020 11:38:23 PM: Label(purchaseconfirm)
10/21/2020 11:38:23 PM: SetVar(customerresponse|1)
10/21/2020 11:38:23 PM: PlayFromMemoryCache(2c365c69-6a6c-0cb9-99f5-0c433b4210d5)
10/21/2020 11:38:28 PM: EVENT FIRE ------- Sound File Finished
10/21/2020 11:38:28 PM: EndCallHere()