0

I have a TwiML which is performing a <Dial> to a <Queue> (as described here https://www.twilio.com/docs/api/twiml/queue)

In the url attribute of <Queue> I put the url to the following TwiML:

<Response>
    <Say voice="man" language="en">
        Your call will be recorded.
    </Say>
    <Redirect>
        http://my-twilio-powered-website.com/twilio/queue/dequeued/foo/
    </Redirect>
</Response>

The <Say> verb works beautifully, but the <Redirect> is ignored.

Is that correct? Because according to Docs it's a valid verb in the url of a <Queue>.

I have no error in the AppMonitor.

Max Favilli
  • 6,161
  • 3
  • 42
  • 62
  • When you say the redirect is ignored, do you mean that the URL is not be requested by Twilio? You may want to contact help@twilio.com so they can have a look at this one, because it looks okay. If the URL is being requested, but then ignored, I'd need to see the contents of the file you're redirecting to. – xmjw Dec 06 '13 at 11:19
  • The url is not requested at all. – Max Favilli Dec 06 '13 at 13:15
  • Okay, it sounds like you should contact Twilio support - help@twilio.com so they can check to see what is happening. – xmjw Dec 06 '13 at 13:36
  • Just wrote an email to Twilio. But I have only the basic support, let's see if they answer. Thanks a lot anyway for your answer. – Max Favilli Dec 06 '13 at 13:42
  • To be clear - I work for Twilio, and you'll definitely get an answer! – xmjw Dec 06 '13 at 13:59
  • To be clear, so far my experience with Twilio is very good. – Max Favilli Dec 06 '13 at 17:43
  • @MaxFavilli how did you solve it ? – Sikorski Oct 09 '17 at 12:25

2 Answers2

0

I had a very similar issue with <Redirect> and it was because there was an ampersand & in the URL.

Does your URL have any of those?

PS. I would have commented, rather than created a new answer but i don't have enough reputation!

Community
  • 1
  • 1
al_manchester
  • 220
  • 1
  • 12
0

For the ones who ends up here with the same or similar problem. When I wrote the question I put a generic piece of code with language EN, in reality the issue was for other languages. I opened a ticket with Twilio, (at the time of the issue) and they answered asking me to change the voice for those other languages, and it worked. Seems it was a bug on twilio side, related to specific voices.

Max Favilli
  • 6,161
  • 3
  • 42
  • 62