plivo/plivo — pull request #80 by mattwilliamson (2012-03-05 23:00:35+00:00)
Title: Added new Callback element

I've added support for the `Callback` element. This will send an HTTP request to the URL specified when the XML element is executed. This lets the developer know when a specific part of the XML has been reached. For example, this can allow the developer to perform `mod_soundtouch` commands via the REST API after the first `Speak` is executed.

### Sample Usage

Before Callback
http://localhost:8001/speak-executed/
After Callback

The callback URL will receive the following params after the elements before `Callback` are executed:

[To] => 15553470933
[Direction] => inbound
[From] => 1004
[CallerName] => Plivo
[CallUUID] => fcfd25e5-246e-4200-8400-b2b56845c68d
[CallStatus] => in-progress