VAD is crashing

Discussion in 'Call Flow Designer' started by Voipist, Mar 11, 2018.

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

    Joined:
    Feb 19, 2018
    Messages:
    12
    Likes Received:
    0
    I always get the following error, although I do not open or read any files

    System.IO.DirectoryNotFoundException: Ein Teil des Pfades "D:\apps\_3CXJsonParser" konnte nicht gefunden werden.
    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    bei System.IO.FileSystemEnumerableIterator`1.CommonInit()
    bei System.IO.Directory.GetFiles(String path, String searchPattern)
    bei QMgrPlugIn.CallsQ.get_VadFile()
    bei QMgrPlugIn.CallsQ.UpdateVad()
    bei QMgrPlugIn.CallsQ.UpdateConfig(Queue qcfg)
    bei QMgrPlugIn.VCEHostPlugIn.On_DN_Event(Record_Action act, Int32 iddn)
    bei QMgrPlugIn.QCfgMgr.ProcessDNCfgChanges()
    bei QMgrPlugIn.Scheduler.ProcessTasks(EventWaitHandle cancel)
    18.03.11 02:09:05.223|100020| Inf|30|0015|: Queue 81 is registered at SIP server
    18.03.11 02:09:05.230|100027| Err|10|0006|: Catched exception in 'Scheduler.ProcessTasks':
    System.IO.DirectoryNotFoundException: Ein Teil des Pfades "D:\apps\_3CXJsonParser" konnte nicht gefunden werden.
    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    bei System.IO.FileSystemEnumerableIterator`1.CommonInit()
    bei System.IO.Directory.GetFiles(String path, String searchPattern)
    bei QMgrPlugIn.CallsQ.get_VadFile()
    bei QMgrPlugIn.CallsQ.PrintQueueConfig()
    bei QMgrPlugIn.Scheduler.ProcessTasks(EventWaitHandle cancel)
     
  2. Voipist

    Joined:
    Feb 19, 2018
    Messages:
    12
    Likes Received:
    0
    I have copied the _3CXJsonParser.qmext.dll from the bin directory into the _3CXJsonParser directory. Everything works now.
     
  3. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,073
    Likes Received:
    75
    Hello @Voipist,

    How are you deploying the app to 3CX? I don't understand why the QueueManager is looking for the DLL in that directory... Do you have a standard 3CX installation?

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Voipist

    Joined:
    Feb 19, 2018
    Messages:
    12
    Likes Received:
    0
    Helo @edossantos ,
    I put the VAD file from CFD to d:\apps. I imported the VAD file with the admin webgui of 3cx Queue - voice apps- (Create a VoiceApp package using the 3CX Call Flow Designer and upload it.).
    Queue Manager restarts automaticly. Then I get the errors of the first post until I copy _3CXJsonParser.qmext.dll to the Directory D:\apps\_3CXJsonParser.
    Kind regards
     
  5. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,073
    Likes Received:
    75
    Hello @Voipist,

    Thanks for your feedback. In Windows, CFD apps should be loaded from:
    C:\ProgramData\3CX\Instance1\Data\Voiceapps\PROJECTNAME

    Did you change any 3CX parameter to cause this change in the QueueManager behavior? What's the value of the global parameter "LEGACY_APPDATA_PATH"? It should be "C:\ProgramData\3CX\Instance1". You can find it in the 3CX console > Settings > Parameters.

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Voipist

    Joined:
    Feb 19, 2018
    Messages:
    12
    Likes Received:
    0
    Hello Edossantos,

    ok I understand. I will install the Voice APPs only from the named directory. The global parameter LEGACY_APPDATA_PATH has the required value. One more question: how can I uninstall Voice Apps?

    Thanks for the great Support

    Kind regards
     
  7. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,073
    Likes Received:
    75
    In order to uninstall a voice app, just delete the queue where you deployed it. Then the DLL for that app will not be loaded.

    You will need to manually cleanup the folder "C:\ProgramData\3CX\Instance1\Data\Voiceapps", removing children folders for unused apps.

    Kind regards.
    Ernesto.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Voipist

    Joined:
    Feb 19, 2018
    Messages:
    12
    Likes Received:
    0
    Hello Edossantos,
    thank you for the help!

    Kind Regards
    Voipist
     
Thread Status:
Not open for further replies.