Author Topic: Upload Audio files using Genesys SDK  (Read 3111 times)

Offline berrysthyaga

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Upload Audio files using Genesys SDK
« on: October 06, 2017, 01:01:06 PM »
Hi,

I'm trying to replicate the functionality of Audio Resources (GAX) using Genesys SDK. How do I achieve uploading audio files? Where will be the files stored? in Media Server? Do we have any Genesys Object to achieve this audio file upload?

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Upload Audio files using Genesys SDK
« Reply #1 on: October 06, 2017, 02:46:56 PM »
As far as I know, the audio files are stored in GAX database as BLOB data

Offline berrysthyaga

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Upload Audio files using Genesys SDK
« Reply #2 on: October 09, 2017, 12:40:49 PM »
what kind of Genesys SDK involves to achieve that?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: Upload Audio files using Genesys SDK
« Reply #3 on: October 09, 2017, 12:47:49 PM »
None, that solution is a Customized one. You would have to replicate a similar solution

Enviado de meu E6633 usando Tapatalk


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Upload Audio files using Genesys SDK
« Reply #4 on: October 09, 2017, 12:56:06 PM »
I do not think so that the audio files are stored in database. The solution is very simple, GAX converts the audio files from wave format to the MP3 (by using sox application). This final audio file is stored on target folder, which could be mapped by the WebDAV server (HTTP) from what the MCP getting audio files. As you can see, it is very common procedure using the open standards and 3rd party components, so from my point of view this part is not so tricky to develop. What should be tricky is the part with Transaction list, ARID, etc.

Offline berrysthyaga

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Upload Audio files using Genesys SDK
« Reply #5 on: October 09, 2017, 01:03:58 PM »
[quote author=Kubig link=topic=10664.msg48434#msg48434 date=1507553766]
I do not think so that the audio files are stored in database. The solution is very simple, GAX converts the audio files from wave format to the MP3 (by using sox application). This final audio file is stored on target folder, which could be mapped by the WebDAV server (HTTP) from what the MCP getting audio files. As you can see, it is very common procedure using the open standards and 3rd party components, so from my point of view this part is not so tricky to develop. What should be tricky is the part with Transaction list, ARID, etc.
[/quote]

Hi Kubig,

As [b]hsujdik [/b]mentioned, Genesys stores the content of audio files (.wav) encoded as a BLOB data in GAX database. My query is to achieve the solution using SDK. Its advisable not to change the data of DB directly. So we are looking for Genesys SDK that can overcome this challenge.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Upload Audio files using Genesys SDK
« Reply #6 on: October 09, 2017, 02:01:37 PM »
I do not think so that the GAX is using the content from binary (it does not make sense). GAX is just storing the original file from what the target media file has been created - the purpose is quite easy, to be able to playback the file within UI (as the wave file should no longer present there). So, in case you will not use GAX on that at all, you do not have to invent this part of solution.

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Upload Audio files using Genesys SDK
« Reply #7 on: October 09, 2017, 02:11:57 PM »
Yeah, I agree on what Kubig said. I was thinking about the original audio storage for what I suggested, but re-reading your original post, seem what you want to achieve is the functionality of propagating the audio files to MCPs. What Kubig pointed out is the best way to do it.

Offline berrysthyaga

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Re: Upload Audio files using Genesys SDK
« Reply #8 on: October 10, 2017, 10:57:58 AM »
[quote author=Kubig link=topic=10664.msg48437#msg48437 date=1507557697]
I do not think so that the GAX is using the content from binary (it does not make sense). GAX is just storing the original file from what the target media file has been created - the purpose is quite easy, to be able to playback the file within UI (as the wave file should no longer present there). So, in case you will not use GAX on that at all, you do not have to invent this part of solution.
[/quote]

Kubig, thanks for the suggestion. But we want to implement audio files upload & playback the same & also link it to the IVR prompt/message. we are unable to figure out the Genesys object that can help us in ARM. Can you help us with the Genesys object to be used for the GAX database entry for uploading the audio files.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: Upload Audio files using Genesys SDK
« Reply #9 on: October 10, 2017, 11:42:42 AM »
As was mentioned, upload of audio files is out of the GAX environment as these files are uploaded to the WebDAV server (or NFS share - not likely).So, there is no Genesys object involved in this. Genesys configuration is involved just on ListObject/Transaction level, where the maping between audio name and ARID is stored.