• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

call flow disconnects all calls.

Status
Not open for further replies.

Trestill

Platinum Distributor
Advanced Certified
Joined
Jan 22, 2015
Messages
61
Reaction score
6
Hi,

I have a problem with my project. I try to announce greeting message from txt file with TTS. The file path depends on time of the day. The problem is that no message is played. Call is dropped immediately after transfer to VAD call flow. I tried to debug this myself but without success.
So here we go. Activity log:
Code:
 03-Apr-2017 10:01:50.906   [CM503008]: Call(C:1): Call is terminated
03-Apr-2017 10:01:50.899   Leg L:1.2[Ivr:011] is terminated: Cause: BYE from 127.0.0.1:5483
03-Apr-2017 10:01:50.502   [CM503007]: Call(C:1): Ivr:011 has joined, contact <sip:[email protected]:5483>

and IVR server log:
Code:
10:01:50.771|5044|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://10.9.112.38:5000/ivr/(S(igixip4pznghajrenfyaf0hv))/Koszalin_14/Root_Koszalin.vxml
10:01:50.779|5044|(0):Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgmissing ; before statementline1linetxtapplication.711_Godzina=__SBjsiTempVartokentxt.711_Godzina=__SBjsiTempVar
10:01:50.779|5044|(0):Error! Module '3CX.com.OSBjsi'. Error ID 501. errmsgSyntaxError: missing ; before statementline1linetxtapplication.711_Godzina=__SBjsiTempVartokentxt.711_Godzina=__SBjsiTempVar
10:01:50.797|5044|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://10.9.112.38:5000/ivr/(S(igixip4pznghajrenfyaf0hv))/Koszalin_14/711_ErrorHandler.vxml
10:01:50.811|5044|(0):Error! Module '3CX.com.OSBinet'. Error ID 301. urlhttp://10.9.112.38:5000/ivr/(S(igixip4pznghajrenfyaf0hv))/Koszalin_14/Root_Koszalin.vxml
10:01:50.812|5044|(0):Error! Module '3CX.com.vxi'. Error ID 999. messageunexpected jump to a document
10:01:50.813|5044|api\VXIFactory.cpp(330):IvrDll, VXISessionImpl::ProcessDocument(), Error! VXIinterpreter->Run() failed, error code -100
10:01:50.813|5044|VXIMachine.cpp(55):IvrDll, VXISessionThread::Run(), Error! Call 'From_886432410_To_011_Menu_011_#0/0': session finished with error code -57. Error of document interpretation: -57, interp.code: -100

I check this article: https://www.3cx.com/blog/docs/troubleshooting-iis-ivr/ it didn't solve it
 
Hi @Trestill

The error is described here:
errmsgmissing ; before statementline1linetxtapplication.711_Godzina=__SBjsiTempVartokentxt.711_Godzina=__SBjsiTempVar

That's a missing ";" in some javascript code. Did you add javascript code to the project? In that case I would suggest that you check it.

Kind regards.
 
Hi Ernesto,

I noticed it. I'm using simple function callflow$.Godzina = new Date().getHours()
I tried adding ; to the end of this line with little progress - the error messages change slightly.

To my disbelieve when I removed components and added them anew everything worked.

After few hors of testing it was clear that when I RENAME some components (e.g. fileManagementComponents) to any custom name then my flow stop working.

Let's just hope iv v15 there wont be such issues.

Cheers
 
Hi @Trestill,

I would have to see the project sources to understand the cause of the problem, but for sure using the following expression:
callflow$.Godzina = new Date().getHours()

is wrong, because using "callflow$.Godzina" as a varialbe is not valid, it will be renamed to something else by the VAD when it creates the app output, and you will get a javascript error. To use VAD variables, you need to use VAD functions. For example, to do that, you need to use an External Code Execution component to calculate "new Date().getHours()", and then use a Variable Assignment component to set the ReturnValue to the callflow variable "callflow$.Godzina".

Something else, when you rename a component, references to that component name are NOT automatically renamed, so if you were using for example a result from that component later, you need to manually rename the references to it.

Kind regards.
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,625
Messages
748,894
Members
144,739
Latest member
Ghisl1
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.