We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Getting Server Error Bad Fetch when trying to use transfer

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
Brian_t
Posts: 2
Joined: Fri Feb 21, 2020 1:23 am

Getting Server Error Bad Fetch when trying to use transfer

Post by Brian_t »

Hello,

The following code in the 'Account Details: Your Account Number Is' and works as expected:

Code: Select all

 {%- if account_data.TransferToRep == 'Y' %}
        <prompt>
            <speak xml:lang="{{ tts_lang }}">
                <voice name="{{ tts_voice }}">
                   You will now be transferred to an agent.
                </voice>
            </speak>
        </prompt>

    {%- else -%}
---snip--
However when I try to add the following code after </prompt> I get a server error bad fetch

Code: Select all

<form id="csr">
         <transfer dest=“15551212” bridge=“true”>
</transfer>
I also tried

Code: Select all

         <transfer dest=“15551212” bridge=“true”>
</transfer>
and

Code: Select all

   <transfer dest="tel:+15551212"/>
Error is
DocumentParser::FetchDocument - Parse error in file "/ivr/account-details", line 141, column 25 - Expected an attribute value
errno: 205 uri /ivr/account-details
received event: error.badfetch
Can you advise on what I may be missing?

Brian_t
Posts: 2
Joined: Fri Feb 21, 2020 1:23 am

Re: Getting Server Error Bad Fetch when trying to use transf

Post by Brian_t »

Figure it out, I was missing </block> in first if and <block> at start of new one.

Post Reply