I want to transfer call from A to extension B. B extension is running vxml as well.
How can I transfer parameters from A to B.
I saw that there is option to append ani parameter to destination. How can i invoke it on B extension vxml?
Thanks
If you are using VXML
Did you try using aai attribute of transfer tag?
`<transfer
aai = "string"
aaiexpr = "ECMAScript_Expression"
bridgeexpr = "ECMAScript_Expression"
cond = "string"
connecttimeout = "integer"
connecttimeoutexpr = "ECMAScript_Expression"
dest = "string"
destexpr = "ECMAScript_Expression"
expr = "ECMAScript_Expression"
maxtime = "integer"
maxtimeexpr = "ECMAScript_Expression"
name = "string"
transferaudio = "URI"
transferaudioexpr = "ECMAScript_Expression"
type = "string"
/>`
string that is sent here can be retrieved as a session parameter in the VoiceXML context Like this session.connection.aai
Hope this helps
I am not aware of any way to pass parameters directly during a transfer in VoiceXML. But you could develop a type of CTI middleware where you store the parameters in a database and key off of a unique number. You would then use that number as the ANI when you transfer the call, assuming the platform you are using allows you to spoof ANI. Then when vxml application B answers the call it will first retrieve the ANI and then do a look-up in the database on the ANI to retrieve the parameters.