Search code examples
ivrvxmlavaya

Change session.telephone.dnis value in VXML application?


I'm working on an Avaya IVR with a Nuance recognizer and TTS engine. Our application determines call destination information by receiving the DNIS data from the PBX, via a "custom" Avaya variable that describes the call:

<script>
  dnis = session.telephone.dnis;
</script>

Does anyone know a mechanism by which I can change the dnis value within the session? When I attempt to change it using the VXML assignment statement, I crash:

<assign name="session.telephone.dnis" expr="chosen_dnis"/>

It's not super important, but would make things a bit easier for us.

Thanks!
IVR Avenger


Solution

  • session variables are read-only according to the spec, so you might need to find a different way of doing this.