PureConnect

 View Only
Discussion Thread View
Expand all | Collapse all

convert.sasf recording to.wav or.opus

  • 1.  convert.sasf recording to.wav or.opus

    Posted 04-26-2020 09:57
      |   view attached
    I want to convert.sasf recording to.wav or.opus. Is there any tool that can help me?
    You can also help me convert.

    Thx
    #Unsure/Other

    ------------------------------
    Yason Wu
    Continuous Technologies International Limited
    ------------------------------


  • 2.  RE: convert.sasf recording to.wav or.opus
    Best Answer

    Posted 04-27-2020 08:03
    Edited by Matt Lawson 08-19-2021 09:58

    The only useful programmatic way is to pull the unencrypted/unencumbered recording via ICWS. 


    You'll need to get the recording ID(s) you want, and then you'll get the export-uri for the recording id with ICWS. 
    -
    https://help.genesys.com/developer/cic/docs/icws/webhelp/icws/(sessionId)/recordings/(recordingId)/export-uri/index.htm#get
    -
    At that point you can pull the recording from the URI and do what want with it.

    Two very important notes:
    1) The recording will be playable by anyone so if there are privacy concerns you need to take digital/physical file security very seriously.
    2) The WAV will be in DSP TrueSpeech which isn't an open codec and a lot of systems won't play it. You can convert it from there with a tool like ffmpeg. 

    We have a working solution to pull all recordings in a given time interval for a specific workgroup that I wrote in Python and it works really well. Let me know if you hit any hiccups along the way.



    ------------------------------
    jason r. totten
    ------------------------------



  • 3.  RE: convert.sasf recording to.wav or.opus

    Posted 04-27-2020 08:06
    Oh yeah:
    3) The ICWS user will need to have the correct rights to pull recordings, I can't remember off the top of my head.

    ------------------------------
    jason r. totten
    ------------------------------



  • 4.  RE: convert.sasf recording to.wav or.opus

    Posted 04-27-2020 21:14
    • Thank you Jason ,

    • I think I know what to do.I tried using ICWS to transform!



    ------------------------------
    Yason Wu
    Continuous Technologies International Limited
    ------------------------------



  • 5.  RE: convert.sasf recording to.wav or.opus

    Posted 08-12-2021 12:45
    Jason,
    We are working to solution the extract of call recording files and meta data in a given time interval by specific workgroups.  Sounds like you've created this wheel in Python. I'd like to learn more about it.
    thanks
    Jennifer

    ------------------------------
    Jennifer Gaskins
    First-Citizens Bank & Trust Company
    ------------------------------



  • 6.  RE: convert.sasf recording to.wav or.opus

    Posted 08-12-2021 13:10
    I've also done it in C# using the ICELib API.

    ------------------------------
    Wayne Rhodeback
    Emplifi Inc.
    ------------------------------



  • 7.  RE: convert.sasf recording to.wav or.opus

    Posted 08-16-2021 07:56
    With your C# code, can a mass export be done?

    ------------------------------
    Jennifer Gaskins
    First-Citizens Bank & Trust Company
    ------------------------------



  • 8.  RE: convert.sasf recording to.wav or.opus

    Posted 08-16-2021 08:15
    I'm working on it now to do that.
    We are losing a customer, and they want their recordings converted. I wrote a recursive handler that loops through the directory structure, calling the Genesys EncryptWave program to convert the recordings when found. Unfortunately, it fails pretty regularly for no apparent reason. I see a dump being created when this happens. It's not a memory leak, as I can test with just one file it doesn't like and it fails. Running it manually works fine.

    So, long story short, I'm going to be doing this with ICELib. The conversion process is written and tested, now I need to wire it together to either use recursion itself, or to be called by the handler in place of the EncryptWave program.

    ------------------------------
    Wayne Rhodeback
    Astute, Inc.
    ------------------------------



  • 9.  RE: convert.sasf recording to.wav or.opus

    Posted 08-17-2021 02:19
    I would recomment a standalone program instead of a handler: It could also easier read metadata and/or filter data from database (e.g. InteractionSummary) to decide which recordings should be exported/converted.

    ------------------------------
    ---------------------------------------------
    Hans-Gerd Sandhagen
    Software Developer
    Fiebig GmbH
    ---------------------------------------------
    ------------------------------



  • 10.  RE: convert.sasf recording to.wav or.opus

    Posted 08-17-2021 06:44
    Agreed. But in my case, I just start at a root and iterate until all recordings below are processed. My timeframe is based on the directory names.

    ------------------------------
    Wayne Rhodeback
    Astute, Inc.
    ------------------------------



  • 11.  RE: convert.sasf recording to.wav or.opus

    Posted 08-17-2021 17:45
    IC Business Manager's Interaction Recorder handles mass exports and creates a meta data file.

    ------------------------------
    John Sweet
    TSYS - Interactive Services
    ------------------------------



  • 12.  RE: convert.sasf recording to.wav or.opus

    Posted 04-27-2020 09:28
    As @Jason Totten says, this can be done with ICWS. It can also be done using a .Net application written using ICELib, if you would prefer to go that route.

    All other warnings concerning security apply.

    HTH



  • 13.  RE: convert.sasf recording to.wav or.opus

    Posted 04-28-2020 05:58
    You can use encryptwave-w32r-1-1.exe. This can be downloaded from Genesys.
    I call it from a handler using the "Execute Shell Command" toolstep to convert .sasf files to .wav files

    ------------------------------
    Wayne Rhodeback
    Astute, Inc.
    ------------------------------



  • 14.  RE: convert.sasf recording to.wav or.opus

    Posted 04-28-2020 09:58
    @Wayne Rhodeback can you please elaborate with more details? Sounds intriguing!

    ------------------------------
    Eliezer Stekel
    ------------------------------



  • 15.  RE: convert.sasf recording to.wav or.opus

    Posted 04-28-2020 11:09
    A note on this app - it's for unlocking .i3r files to wav. Not for encrypted SASF files, as it would need a key to do that (assuming you're using one when you encrypt your recordings) and could potentially be one heck of a security eliminating vulnerability if it did work that way, correct? Or does it establish a session and take security into account?

    ------------------------------
    jason r. totten
    ------------------------------



  • 16.  RE: convert.sasf recording to.wav or.opus

    Posted 04-28-2020 11:20
    It works for SASF files that aren't encrypted.

    ------------------------------
    Wayne Rhodeback
    Astute, Inc.
    ------------------------------



  • 17.  RE: convert.sasf recording to.wav or.opus

    Posted 04-28-2020 11:31
    Thanks!

    ------------------------------
    jason r. totten
    ------------------------------



  • 18.  RE: convert.sasf recording to.wav or.opus

    Posted 08-18-2021 03:02
    Hi Wayne

    We also have a similar issue and I want to actually convert the encrypted SASF files ​to WAV files.
    I tried the steps with a key and below is the error I get.
    Let me know if you can take a look.



    ------------------------------
    Vishnu Prasad
    AEA International Holdings Pte. Ltd.
    ------------------------------



  • 19.  RE: convert.sasf recording to.wav or.opus

    Posted 12-08-2022 18:39
    Edited by Minh Tran 12-08-2022 18:40
    Hi Wayne, or anyone

    Do you know if encryptwave is free to use?

    Regards,

    ------------------------------
    Minh Tran
    ------------------------------



  • 20.  RE: convert.sasf recording to.wav or.opus

    Posted 12-09-2022 06:40
    Yes, it is. We downloaded it from I3 years ago and call it from a C# program in addition to calling it from handlers.

    ------------------------------
    Wayne Rhodeback
    Emplifi, Inc.
    ------------------------------



  • 21.  RE: convert.sasf recording to.wav or.opus

    Posted 05-04-2020 17:16
    Good afternoon Yason:

    In PureConnect you can use Interaction Center Business Manager to export a single or multiple recording files as .wav or .opus extension files. Please, check the following references:
    1. https://help.genesys.com/cic/mergedProjects/wh_irc/desktop/export_a_recording.htm 
    2. https://help.genesys.com/cic/mergedProjects/wh_irc/desktop/exportdialog.htm 

    It exports not only the recordings but also an Excel file in the directory, that you specify in the options, that contains the information related to that recording in the platform: the interaction ID related and other detailed data.
    Before you use those options, please check with Genesys and your Administrator the Plan that you have to execute, in order to get the prerrequisites and the requirements checked.

    I expect that helps you.

    ------------------------------
    William Martín Chávez González
    Systems Engineer
    Global Networks Solutions S.A.S.
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources