" /> Composer - OPM Data Variable - Genesys CTI User Forum

Author Topic: Composer - OPM Data Variable  (Read 14299 times)

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: Composer - OPM Data Variable
« Reply #15 on: July 22, 2015, 03:16:47 PM »
Advertisement
Did you check MCP and RM logs?

Offline jerry_jeremiah

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: Composer - OPM Data Variable
« Reply #16 on: July 24, 2015, 03:30:05 AM »
How I configured it so it would work is:

1. In GA or GAX: Create the voice platform profile for the vxml application
2. In GAX: Create the operational parameter (the key must NOT have capital letters or spaces)
3. In GAX: Create a parameter group template containing the operational parameter and the associated vxml application
4. In GAX: Deploy the parameter group template to create a parameter group. This step is the one that makes a new voice platform profile that contains the contents of the voice platform profile you created in Step 1 AND the OPM options section that contains the transaction and transaction_dbid KVPs
5. In Composer: add an OPM block to the call flow and in the assign OPM data section specify AppState.APP_OPM.X where X is the key from the parameter that you created in Step 2.
6. Make sure that the voice platform profile that is started is the one created in Step 4 because it is the one that has the OPM option values.  The actual data is transferred to the IVR when RM starts it.

To get a updated value of the OPM parameter during the call you can use a Web Request block to query http://urs-ip:urs-http-port/urs/console?config+transaction+1234= (were 1234 is the transaction dbid that you want to retrieve) and an assign block to munge the returned data into JSON.  in fact you could do that INSTEAD of using the OPM block in the callflow.
« Last Edit: July 27, 2015, 12:08:29 AM by jerry_jeremiah »

Offline GenXToken

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Composer - OPM Data Variable
« Reply #17 on: January 04, 2017, 05:05:50 AM »
[quote author=jerry_jeremiah link=topic=7772.msg40335#msg40335 date=1437708605]
How I configured it so it would work is:

1. In GA or GAX: Create the voice platform profile for the vxml application
2. In GAX: Create the operational parameter (the key must NOT have capital letters or spaces)
3. In GAX: Create a parameter group template containing the operational parameter and the associated vxml application
4. In GAX: Deploy the parameter group template to create a parameter group. This step is the one that makes a new voice platform profile that contains the contents of the voice platform profile you created in Step 1 AND the OPM options section that contains the transaction and transaction_dbid KVPs
5. In Composer: add an OPM block to the call flow and in the assign OPM data section specify AppState.APP_OPM.X where X is the key from the parameter that you created in Step 2.
6. Make sure that the voice platform profile that is started is the one created in Step 4 because it is the one that has the OPM option values.  The actual data is transferred to the IVR when RM starts it.

To get a updated value of the OPM parameter during the call you can use a Web Request block to query http://urs-ip:urs-http-port/urs/console?config+transaction+1234= (were 1234 is the transaction dbid that you want to retrieve) and an assign block to munge the returned data into JSON.  in fact you could do that INSTEAD of using the OPM block in the callflow.
[/quote]

So how do you have URS with HA?