I’m trying to send some data between 2 vxml applications. For this I put my string in the aai option of the transfer block and in the other application I trying to read it using session.connection.aai but all I get is blank.
Is there anything else I have to configure? This is a purely SIP environment with latest version of MCP 8.1.7
Do you mean two vxml scripts/application or DID with vxml application? For data-exchange between vxml you have to use standard mechanism and methods from VXML specification (IETF), for data-exchange between two DID, via KVP, use namelist in exit or transfer block. All is described in doc for GVP of course. So, try the doc first.
I am using standard mechanism but it’s not working..
in the transfer block I’m setting aai=“mystring” but in the other vxml when trying to access the data using session.connection.aai I get a blank value so I’m guessing that maybe there is something else to set in MCP options.. for example I don’t see session.connection.aai in the session_vars option from vxmli section. Should it be there to work?
Also in the 8.1.6 RN for MCP there is this line: AAI Masking During Transfers. No other detail.. what does this mean? Is it interfering with aai data transfer?
I still do not know why you are using AAI for this. Try to look at and use GVP namespace with method/attribute gvp:namelist or gvp:userdata for passing user-data via SIP headers
I have tried gvp:namelist and still nothing on the other side…
What I’m doing is trying a play a marketing message to the B-Party before completing the call, you know “this service is offered to you by…”
so in the CC.vxml transfer block I use gvp:consultexpr=“'cparty.vxml”. This way the cparty.vxml is played to the B-Party but I need to know the language in which to play the message.
Here is my transfer:
As you can see I used aai, gvp:namelist.. I even tried aaiexpr but nothing gets trough.. when I try to read the data in cparty.vxml it’s always blank.
And how you read the data within second app? I still think that you do not understand clearly how GVP works in general and mix different thing together. I recommend read the documentation first.