Author Topic: Play treatment using Arid  (Read 341 times)

Offline sorav84

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Play treatment using Arid
« on: October 15, 2019, 04:44:06 AM »
Hi,

Please, excuse if this question has already been answered. The problem that I am trying to solve is integration between
ARM and Media Server.

The background is:

I am successful in setting up basic integration between Media Server and GAX ARM, but it doesn't work through Audio resource parameters type.
 How it works is the old way i.e. you use filepath. Upload file through ARM , an Arid , and a filename with file path will be created.

 Something like : Arid-->1000   Filename: announcement\1100011. And, you use actual file path to tell media server which file to play.

In IRD or in Composer in Play announcement or Play Message it is the text field where you specify the path.

This works but the problem I see is, this is not a rightway to do it. There is no use of audio resource parameter type (GAX), and in Parameter Group in a placeholder you specify path to audio file like; announcements\1100010, which tells you nothing about the treatment you are using. You have to go back to ARM to know the treatment details.

When I tried to use Audio Resource Parameter , the parameter points to Arid,  if you pass Arid in any treatment function  "initid" in IRD or Composer. Media Server doesn't understand this and replies with ,"Resource not found". I feel there must a way of specifying integration between GAX and Media Server  through GAX URL and we can pass Arid as parameter but clueless where and how.

Please, note I know in call flow development there is a Prompt function which lets specify GAX details but I don't see anything similar in IRD or Composer(workflow development).

Again, please excuse if this is a trivial question, point to the documentation and I will look for it.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2604
  • Karma: 42
Re: Play treatment using Arid
« Reply #1 on: October 15, 2019, 05:55:09 PM »
Genesys certified professional consultant (GVP, SIP, GIR and Troubleshooting)

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1800
  • Karma: 59
Re: Play treatment using Arid
« Reply #2 on: October 15, 2019, 08:19:13 PM »
Hi,

You cannot use ARID itself as audio file names format is: <Tenant ID><Audio Resource ID><Personality ID>. It means you have to create audio name yourself in routing logic.

R.

PS. You can add Personality as parameter to your Parameter Group

Offline sorav84

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Play treatment using Arid
« Reply #3 on: October 20, 2019, 04:15:19 PM »
Thank you Kubig. I have used IIS to browse audio files.

Offline sorav84

  • Newbie
  • *
  • Posts: 43
  • Karma: 0
Re: Play treatment using Arid
« Reply #4 on: October 20, 2019, 04:19:16 PM »
Thank you Rene. You are right, and now i feel using audio resource parameters is an incomplete functionality. There is no simple way of using them.

Offline ferry

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
Re: Play treatment using Arid
« Reply #5 on: October 23, 2019, 04:23:29 PM »
I have raised an idea in the Genesys Product Ideas Lab which at least would improve the use of GAX ARM a bit ... vote for it if you agree and maybe it will be implemented one day ...