Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

New BUG's report

Discussion in 'CRM / Helpdesk / App Integration' started by hpioteput, Dec 20, 2009.

Thread Status:
Not open for further replies.
  1. hpioteput

    Joined:
    Nov 1, 2009
    Messages:
    37
    Likes Received:
    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)
     
  2. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hpioteput

    Joined:
    Nov 1, 2009
    Messages:
    37
    Likes Received:
    0
    Hi SWSDEV,

    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.
     
  4. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    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.
     
  5. SWSDEV

    SWSDEV Member

    Joined:
    Feb 23, 2008
    Messages:
    256
    Likes Received:
    0
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. hpioteput

    Joined:
    Nov 1, 2009
    Messages:
    37
    Likes Received:
    0
    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.
     
  7. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    I will check this and let you know. Thanks.
     
Thread Status:
Not open for further replies.