Genesys CTI User Forum
Genesys CTI User Forum => Genesys-related Development => Topic started 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
-
Without CTI integration, you are not able to update UserData in mid-call.
-
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.
-
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"}
-
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.
-
Kubig,
I dont have issue in parsing the data's in JSP's/Script. But the issue is , the variables are not coming up.
-
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.
-
Can you provide a sample for how to get the variables in composer?