New BUG's report

Status
Not open for further replies.

hpioteput

Joined
Nov 1, 2009
Messages
37
Reaction score
0
Hi again,

1. Record component: during prompt playing hang up the phone -> instead of disconnect handler flow got error handler with ecmascript error.
2. Using external code execution, COM:
configured to send to COM 2 parameters, for example:
aCallerId : session.ani
aIvrId : session.dnis
result: COM receive inverted order of parameters:
aCallerId : session.dnis
aIvrId : session.ani

It is appalling to think if count of parameters would be more than 3-10...

Please advise.
3cx Free Testers Team 8)
 
hpioteput said:
Hi again,

1. Record component: during prompt playing hang up the phone -> instead of disconnect handler flow got error handler with ecmascript error.

Do you have an ecmascript error in your disconnect handler?

Perhaps it correctly went to your disconnect handler, but then you had the ecmascript error in the disconnect handler so it then correctly jumped to the error hander.

What components do you have in your disconnect handler?
 
Hi SWSDEV,

SWSDEV said:
Do you have an ecmascript error in your disconnect handler?

Error without description.

My simple test IVR:
externalCodeExecutionComponent1 - JS (generate file name)
variable assignment - variable "project$.WavFileName" = CONCATENATE(externalCodeExecutionComponent1.ReturnValue,'_from_',session.ani,'_to_',session.dnis,'.wav')
result in "project$.WavFileName" I get "2009_11_6_9_2_55_from_100_to_851.wav"
Audio recorded eMailSenderComponent1 that configured to send attach "project$.WavFileName"

All work fine, email received with voicemail etc. BUT if hang up the phone when recording component prompt played receive error.semantic.ecmascript without error description.
 
Hi,

Can you post your project zipped, removing any sensitive data like passwords, etc. if you have?

As SWSDEV said, maybe there is a problem in the e-mail sender component in the disconnect handler. You can see a detailed description about the ecmascript error in the log file located in %ALLUSERSPROFILE%\Application Data\3CX\Data\Logs\3CXIvrServer.log. Can you post here the error you see in that file?

In regards to the second problem reported, it is very strange because the VAD has been tested with COM components and multiple parameters and works here. How are you creating your COM component? Is it a Visual Basic 6 ActiveX, a C++ COM?

Thanks.
 
hpioteput said:
All work fine, email received with voicemail etc. BUT if hang up the phone when recording component prompt played receive error.semantic.ecmascript without error description.

Some value in your disconnect handler must not be quoted when it should be, or some value is not returning what you expect during runtime that may seem ok at design time.
 
SWSDEV said:
Some value in your disconnect handler must not be quoted when it should be, or some value is not returning what you expect during runtime that may seem ok at design time.

I disable all components in disconnect handler. Tested this in callflow and receive same result. You can test this situation "1. Record component".

Create record component and setup prompt for this component. Build, deploy, during prompt playing hang up the phone.
 
I will check this and let you know. Thanks.
 
Status
Not open for further replies.

Forum statistics

Threads
112,320
Messages
591,865
Members
165,463
Latest member
ICTSupport@bedfordgirlssc