I don't have these results when using the http://outbound.plumgroup.com/webservice/queuecall.php URL. The results I have areThe first time result_url gets called is during a GET request where the URLs for start_url and result_url are validated when calls are queued. This GET request includes no variables, which explains why you see no data.
The second time result_url gets called is when the call completes and the outbound system sends a POST request with all the variables and results that you see.
I never receive any POSTs, they are always GETs. I do not receive notification when the call has completed unless I add a catch for the disconnect. To receive notification on the call disconnect I added a catch on the connection.disconnect event and set the method to POST. When the call is disconnected I receive a Get to the URL specified in the submit for the catch event. Shouldn't I receive a POST if I specified a POST? My catch setting is this
- 1. When the call is queued.
2. When the call is answered
- a. Get to the URL in start_url
b. Get to the URL in result_url
- a. Get to the URL in start_url
Code: Select all
<catch event="connection.disconnect">
<submit next="http://MyDomain/ Disconnect.aspx?Disconnect=1&AlarmID=12345" namelist="disconnectmsg" method="post" enctype="multipart/form-data"/>
</catch>
- 1. Your code performs an HTTP POST to queuecall.php which includes
a phone number, start_url and result_url.
2. The Plum outbound system places the call into a queue of possible
calls to dial.
3. When an outbound channel on the VoiceXML systems becomes
available and your call is at the top of the queue, the call is placed.
4. The call is connected successfully and the callee type detection
begins (if enabled).
5. **I do not get this** The result of the callee type detection as well
as all the parameters defined in the Outbound API (i.e.
phone_number, message_reference, call_parameters) are posted to
your start_url.
6. A standard VoiceXML session continues from here.
7. The call completes, all VXML execution is completed.
8. The VoiceXML system notifies the outbound system that the call is
complete.
9. **I do not get this** The outbound system posts a request to
result_url including all the parameters defined in the Outbound API.
I looked at my call log online and I had an error in the disconnect catch but I corrected it. The log says POSTs are executed but I do not see them. Please let me know what I am doing wrong.
Thank you for your help.