Kudos on the new API. REST API is a fantastic idea that's becoming more and more common in the era of web services. Great choice.
Let me also compliment you on the choices to include JSON, excellent decision. As well as implementing a design which has high-level, powerful methods as found in the web interface as well as low level methods allowing a developer to dig into the nitty-gritty. Very powerful and excellent decisions.
I have a use-case which I don't believe is addressed very naturally by the API.
Recently, I had a service outage from my ISP on a small handful of outbound phone numbers. I'd like to use the API to write a test script to make phone calls so that I know about service outages before they become crises.
But, without being able to detect automated error messages or fast busy signals, etc. it's a bit difficult.
Best workaround I can think up is to have the test script self-call its own IVR which then executes a separate URL which informs a monitoring process that outbound calls/inbound calls are successful.
This seems rather convoluted and complex (not to mention it ties up 2 phone lines). The other alternative of using packet capture logs seems too low level.
In an ideal world, this script would execute every 5 to 30 minutes. When the phone system goes down, I get alerted and can address the problem before it becomes a disaster.
Is there an elegant way to achieve this goal?
Daniel
