At the beginning of your script, you have set the exception handler for contact inactive exception. But then, after the caller records a message, you terminate the contact. I believe this will trigger the exception handler.
My suggestion is to clear the exceptionhandler just before you terminate the contact using the On Exception Clear command.
I don't have a lot of other ideas or suggestions, but I have a couple of questions.
When you are debugging this script, what branch does the script take after you execute the Place Call step?
Also, have you looked at the calling search space for your CTI ports / route points? I assume they are able to dial the 8000 extension, but it would be good to verify.
What type of number is 8000? Is it another CTI Route Point for another application? If so, you would also need to make sure that the calling search space for the CTI ports also includes the partition for the CTI ports. (Because in this case, a CTI port would be calling another CTI Port.) Hopefully that makes sense.
Other than those questions, I would have to suggest you dig into the logs to see if you can find out why the call is not going through.
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.