handling script errors while using the placed call step

Answered Question

I have a script that is activated by a jtapi trigger. At some point places the caller on hold, makes a call using the Place Call step, plays a prompt and then terminates the call.

If the trigger contact (first caller) hangs up while the phone for the second contact is ringing, when the second contact answers the phone it plays the default script or "Sorry we are currently experiencing system problems."

Here's what I have done (unsuccessfully) to try getting around it: changed the default script for the application (not sure why that doesn't work. This logic is called in a subflow, perhaps that is the problem?), placed a Terminate step for the second contact under the Unsuccessfuly step of Place Call, put in a bunch of On Error Goto steps which go to a Terminate step for the second contact.

I have this problem too.
0 votes
Correct Answer by adignan about 9 years 7 months ago

Brandon, when the original caller hangs up, an "exception" will be thrown.

In order to catch this, put in the "On Exception GoTo" step > choose the ContactInactiveException > Choose the label you want the call to go to in the script > clear the exception (on exception clear step) and then play your .wav file (sorry, the party hung up..blah, blah) > then terminate.

that should git'r done.

pleae rate helpful posts.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
adignan Sat, 02/17/2007 - 10:30

Brandon, when the original caller hangs up, an "exception" will be thrown.

In order to catch this, put in the "On Exception GoTo" step > choose the ContactInactiveException > Choose the label you want the call to go to in the script > clear the exception (on exception clear step) and then play your .wav file (sorry, the party hung up..blah, blah) > then terminate.

that should git'r done.

pleae rate helpful posts.

oaklecm95 Tue, 03/06/2007 - 08:17

I had a similar situation and this tip works perfectly. You'll need to choose ContactInactiveException in your On Exception Clear step, also.

Actions

This Discussion