Page 1 of 1

Transfer call problems

Posted: Wed Jan 14, 2009 3:42 am
by vikeshpunjabi
Following is code that I used to transfer call to human.
But it doesn't work. And when it read number using <say-as> tag, it read number wrongly. For instance, after saying "3", it speaks "period" and then "2". And call is not transferring.
Why it is happening? I'm using developer account, can't we have facility to transfer call using developer account.


<form id="support">
<transfer dest="3212060590">
<prompt>
Transferring to
<say-as type="acronym">
<value expr="3212060590" />
</say-as>
</prompt>
</transfer>
</form>

IVR code for transfer calls

Posted: Wed Jan 14, 2009 10:36 am
by support
Hi,

You should remove the IVR tag, <value>, from your IVR code since you are not using a variable within it.

Instead, your IVR code should be edited to this:

Code: Select all

<form id="support">
<transfer dest="3212060590">
<prompt>
Transferring to
<say-as type="acronym">
3212060590
</say-as>
</prompt>
</transfer>
</form>
</vxml>
Here is an IVR example of when you would want to use the <value expr = >:



Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <field name="targetnumber" type="digits">
      <prompt>
        What phone number would you like to dial?
      </prompt>
    </field>
    <transfer destexpr="targetnumber">
      <prompt>
        Transferring to
        <say-as type="acronym">
          <value expr="targetnumber"/>
        </say-as>.
      </prompt>
    </transfer>
  </form>
</vxml>
Hope this helps.

Regards,
Plum Support