Author Topic: How to pass data between two application on transfer  (Read 2802 times)

Offline aravind_mano

  • Newbie
  • *
  • Posts: 39
  • Karma: 0
How to pass data between two application on transfer
« on: April 18, 2016, 04:33:02 PM »
Hi,

I am trying to pass data from IVR1 to IVR2 while transfer.  I tried the below options but i am getting undefined while retrieving the data. Please help.

IVR1 - Passing param in gvp:namelist attribute:
[code]
<var name="callVars" expr="'TESTDATA'" />
<transfer name="Transfer1Call" type="blind" destexpr="AppState.dest" aaiexpr="callVars"
    gvp:analysis="false" gvp:connectwhen="immediate" [b]gvp:namelist="callVars"[/b]>
</transfer>
[/code]
IVR2 - Reading callvars from Header: All are returning undefined.

[code]
<log gvp:level="1">
<value expr="'CallVars1 : ' + session.com.genesyslab.userdata['callVars']"/>
</log>
<log gvp:level="1">
<value expr="'CallVars2 : ' + getSIPHeaderValue('callVars')"/>
</log>
<log gvp:level="1">
<value expr="'CallVars3 : ' + session.com.genesyslab.userdata['X-Genesys-callVars']"/>
</log>
<log gvp:level="1">
<value expr="'CallVars4 : ' + getSIPHeaderValue('X-Genesys-callVars')"/>
</log>

[/code]

Offline nonny

  • Full Member
  • ***
  • Posts: 218
  • Karma: 2
Re: How to pass data between two application on transfer
« Reply #1 on: April 18, 2016, 06:51:23 PM »
Can't you just attach the data to the call?

Sent from my SM-N9005 using Tapatalk


Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: How to pass data between two application on transfer
« Reply #2 on: April 18, 2016, 07:19:35 PM »
And use ISCC

Enviado de meu E6633 usando Tapatalk


Offline aravind_mano

  • Newbie
  • *
  • Posts: 39
  • Karma: 0
Re: How to pass data between two application on transfer
« Reply #3 on: April 22, 2016, 11:23:41 AM »
Hi,

For IVR to IVR transfer, I used route request block with type "bridge" and assign params gvp:userdata attribute  to transfer the call from IVR1 to IVR2. It works and I could retrieve the userdata in IVR2.  However, i could not retrieve data in blind transfer. Why? Please shed some light on this.

Basically, what i need is the easiest way to perform transfer from IVR1 to IVR2 (with attached data).

Thanks,
Aravind

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7640
  • Karma: 56330
Re: How to pass data between two application on transfer
« Reply #4 on: April 22, 2016, 12:23:40 PM »
Well check your logs...how can we have a clue on your architecture and components used?

Enviado de meu E6633 usando Tapatalk