I heard back from Twilio support. That link is to code that would need to go into MM. They won't control message line infinite loops on their end. Why should they. They make money for every minute. Here is my back & forth with their tech support, in revers chronological order:
James Smith (Twilio)
May 25 11:49 AM
Hello Tony,
You actually need to change your application that you currently have your twilio number pointed to:
http://www.radishworks.com/SearchManager/MsgLine.php?SID=xxxxxxxxxxxxxxxxxxYou need to get with whom ever hosts or wrote this for you and change it there.
Does this make sense?
Regards,
James
Twilio Support
Tony Sawyer
May 25 11:46 AM
That still leaves the question of where exactly I would do that. I tried using your second example in Twilio on the application option for my phone number, but it would only let me enter a URL. No additional lines or commands were allowed. Once again, is this something I can do directly in Twilio, or do I have to modify code on the web site that is hosting my message?
Tony V. Sawyer
James Smith (Twilio)
May 25 11:34 AM
Hello Tony,
Please see link I provided below:
instead of
<?xml version="1.0" encoding="UTF-8"?>
<Response><Gather numDigits="1"><Play>
http://api.twilio.com/2010-04-01/Accounts/xxxxxxxxxxxxxxxxxx/Recordings/xxxxxxxxxxxxxxxxxx</Play></Gather><Redirect/></Response>
You would do something like
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Play loop="10">
https://api.twilio.com/cowbell.mp3</Play>
</Response>
Regards,
James
Twilio Support
Tony Sawyer
May 25 11:12 AM
OK. Is this loop application something I put somewhere in my Twilio settings, or is it something that has to occur outside Twilio on the web site I direct Twilio to? I tried adding then editing an App in Twilio, but all I got were error messages. Now my balance is below zero. Needless to say, I am not anxious to put more money in, just to have it sucked back out.
Thanks.
Tony V. Sawyer,
Tony Sawyer
May 25 09:45 AM
Thanks. I will give it a try.
Tony V. Sawyer
James Smith (Twilio)
May 25 09:40 AM
Hello Tony,
Thank you for reaching out. You appear to be using a <redirect> which will play the message over and over until the caller disconnects.
This call for example:
https://www.twilio.com/user/account/log/calls/CIt looks like it just redirected over and over.
I would recommend using a loop instead:
https://www.twilio.com/docs/api/twiml/play#attributes-loopRegards,
James
Twilio Support
Tony Sawyer
May 25 09:32 AM
Account Sid:
Target Phone Number:
555-555-1212
Abusive phone number:
numerous
Services being affected:
SMS Voice
Type of abuse being experienced:
I use this number for a volunteer disaster response team message line. It is for my team to call and hear info on the current disaster. These messages are usually less than one minute in duration. No message can be left by a caller. In the past three months, I have received a bunch of calls from various numbers lasting from 15 to 240 minutes! How do I truncate incoming calls after a fixed period of time, say 2 minutes?
<Edited by Support to remove API key and phone number>