Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: anandgenesys on May 26, 2015, 11:19:36 AM

Title: How to send parameters in GOTO block in GVP composer ?
Post by: anandgenesys on May 26, 2015, 11:19:36 AM
Hi Folks,

    I need to send parameters in the GOTO block.How can I achieve this ? There is parameters button in the properties of GOTO block.But it is like check box . Also how can I receive the parameters and parse the input data in the external IVR applicaiton or another callflow ?
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: cavagnaro on May 26, 2015, 12:12:18 PM
Entry and exit blocks. You define which variables are used as input and output. Read documentation about sub callflows
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: anandgenesys on May 26, 2015, 01:47:29 PM
Thanks for your reply. I know how to send parameters to the callflows using the subdialog block. I want to know how to send parameters with GOTO block . The reason for using GOTO block is , I don't need to return the IVR call back to the exit block. So , How to do this with GOTO block ? ???
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: cavagnaro on May 26, 2015, 02:39:36 PM
Ah ok.
If not remember bad data will be transfered via parameters option, only available if type is URL. Then they are send as simple HTTP query strings and you capture them on your application.
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: anandgenesys on May 26, 2015, 02:51:14 PM
Thanks for your quick reply. Also thanks for remembering the data will be passed in url as querystring, Only if I set the location-type property as url in GOTO block property.

If suppose I can send the data from GOTO block like ,

              http://localhost:8080/MyAPP/src-gen/Main.vxml?name=anandl&sex=male

Howcan I ge the name and sex values in the next IVR application or another callflow ? So can u give an Idea or code logic of how to parse and get the parmeters in the next IVR application or some other callflow  from GOTO block ?  ::) :'(
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: cavagnaro on May 26, 2015, 03:01:48 PM
Again, if it is an URL are we talking about composer block or vxml code made where?
Let's assume it is a foreign vxml generated on PHP code...IVR.php

On IVR php you have

$_Get['sex'] and use it to generate your vxml code.

If we talk about a composer same project then they are passed as session.
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: anandgenesys on May 28, 2015, 06:25:52 AM
Thanks for your reply. I am using JAVA . Is SESSION is possible in JAVA composer project ? ??? How to enable session in composer ? I want to send the parameters via GOTO block in same composer project. Is this possible with session ? If possible how to achieve the session ? If I can learn this mean , Its a boon for me . :o
 
Title: Re: How to send parameters in GOTO block in GVP composer ?
Post by: cavagnaro on May 28, 2015, 12:28:03 PM
Oh boy... Sessions are Http part, not language based.
I think if you read Composer docs you will have a better idea.
Also read about http in general.
If you analyze MCP logs you will see and also with Wiseshark.
If using Java then Java logs are on the Tomcat logs as.well...
You need to read more about the whole gvp solution