Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: livinginnj on November 23, 2015, 04:02:43 AM

Title: VXML | Genesys Composer
Post by: livinginnj 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
Title: Re: VXML | Genesys Composer
Post by: Kubig on November 23, 2015, 10:18:00 AM
Without CTI integration, you are not able to update UserData in mid-call.
Title: Re: VXML | Genesys Composer
Post by: Kubig 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.
Title: Re: VXML | Genesys Composer
Post by: livinginnj 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"}
Title: Re: VXML | Genesys Composer
Post by: Kubig 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.
Title: Re: VXML | Genesys Composer
Post by: livinginnj 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.
Title: Re: VXML | Genesys Composer
Post by: Kubig 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.
Title: Re: VXML | Genesys Composer
Post by: livinginnj on December 08, 2015, 03:14:19 PM
Can you provide a sample for how to get the variables in composer?