Recording component with multiple callers

Discussion in 'CRM / Helpdesk / App Integration' started by joko, Dec 5, 2012.

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

    Joined:
    Dec 5, 2012
    Messages:
    2
    Likes Received:
    0
    Hi,

    Has someone a solution regarding the recording component with e-mail sending with multiple callers leaving a message at the same time?
    I have a simple application where a caller leaves a message if the queue time has been reached, but are there more than one at the same time only the one of the recordings get sent to e-mail.

    In log we find: 'The process cannot access the file \'C:\ProgramData\3CX\Data\Http\Interface\ivr\DS_Debug_41\record.wav\' because it is being used by another process.''

    Is it possible to set this up in a different way?

    Regards,
     
  2. VAD_Support

    VAD_Support Active Member

    Joined:
    Aug 6, 2009
    Messages:
    690
    Likes Received:
    0
    This is because you're using the same file name all the times. When you have 2 or more calls at a time, you will only be able to save the audio for one call, and the others will fail.

    To solve this, you need to use an expression to create the file name. You could use some random part, like the caller id or the date and time that the call started. You can also use an external code execution component to create a unique ID per call, which you can use for the WAV file name.

    Regards,
     
Thread Status:
Not open for further replies.