Author Topic: VXML | Genesys Composer  (Read 4949 times)

Offline livinginnj

  • Newbie
  • *
  • Posts: 26
  • Karma: 1
VXML | Genesys Composer
« on: November 23, 2015, 04:02:43 AM »
Hello All,

I am having a vxml page , which calls an another vxml sending the namelist as follows

<submit next="http:X:8080/example/src-gen/sample.vxml" namelist="var1 var2 var3" />

How to access the namelist variables in genesys composer? If it is not possible , can i append a query string like (<submit next="http:X:8080/example/src-gen/sample.vxml?customername=JOHN" namelist="var1 var2 var3" /> and access it using genesys composer?

I tried updating userdata session variable. It is updating in userdata alone , not coming in sip headers. How can i achieve it??

Thanks

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: VXML | Genesys Composer
« Reply #1 on: November 23, 2015, 10:18:00 AM »
Without CTI integration, you are not able to update UserData in mid-call.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: VXML | Genesys Composer
« Reply #2 on: November 25, 2015, 09:20:32 AM »
In case you are using the NGI interpreter (and I think and hope you are.:-)) - use the "session.connection.protocol.sip.requesturi". If you are not sure about that, you can follow the samples provided by the Composer and get the solution from these examples.

Offline livinginnj

  • Newbie
  • *
  • Posts: 26
  • Karma: 1
Re: VXML | Genesys Composer
« Reply #3 on: November 25, 2015, 06:21:30 PM »
Its me only lol.. ;D

I tried , its not coming. Pls see the below o/p

{"gvp":{"appmodule":"VXML-NG"},"gvp-tenant-id":"[Resources].JavaComposerProject","voicexml":"file:///D:\\staticvxml\\Init\\test.vxml","trunkport":"5683553314"}

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: VXML | Genesys Composer
« Reply #4 on: November 26, 2015, 12:17:52 PM »
Yep, sorry I have bad understood your needs. This variables should be parsed by some script (ASP, JSP, etc) and not by VXML itself. From my point of view, it is better to call the another form directly with using the "#" sign, etc. You can of course learn or use the existing JSP/ECMA from samples project within Composer, where this script should be stored. In general, the script is not hard to developer and in other hand, on internet you can find many samples of this.

Offline livinginnj

  • Newbie
  • *
  • Posts: 26
  • Karma: 1
Re: VXML | Genesys Composer
« Reply #5 on: December 01, 2015, 10:21:50 PM »
Kubig,

I dont have issue in parsing the data's in JSP's/Script. But the issue is , the variables are not coming up.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2752
  • Karma: 44
Re: VXML | Genesys Composer
« Reply #6 on: December 02, 2015, 07:37:58 AM »
I have tested it and the variables is part of querystring, as I had mentioned before. You can see the requested URI for example in application logs of MCP, on sniff level, or something like that.

Offline livinginnj

  • Newbie
  • *
  • Posts: 26
  • Karma: 1
Re: VXML | Genesys Composer
« Reply #7 on: December 08, 2015, 03:14:19 PM »
Can you provide a sample for how to get the variables in composer?