Hello,
I have 2 questions related to outbound IVR.
1) Our IVR system is implemented using aspx pages and c#. I am adding outbound IVR support and everything is working fine except for the result_url call. I am specifying an aspx web page as the result_url and that page is being called successfully after the call is made. However, I am not sure how to access the results from the c# code. I looked at the request content and don't see anything relevant in there. Can you please provide an example of how to access the call results for this configuration?
2) We will be using outbound IVR for making calls for several different companies that we provide service for. When I look under Reporting, I see the report for outbound IVR calls but don't know how I could determine which calls were made on behalf of each company for billing purposes. Is there any way to sort this out on the report level? Maybe if we use a different calling number ID?
Thanks
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Outbound IVR questions
Re: Outbound IVR questions
Hi,
The information returned to the result_url should all be contained within a POST. To see these values, we wrote a result_url script that would save these values to disk.We also included a message_reference parameter with a value of "This is a test call." in the outbound queue. When we viewed the result_url_test.txt file we found this:When you queue a call, you should receive a call_id in response. This call_id is the same value that would be returned in the result_url. It is also possible to enter a value into the message_reference parameter to associate a queued call with a specific client. This message_reference is also returned in the result_url.
Hope this helps.
Regards,
Plum Support
The information returned to the result_url should all be contained within a POST. To see these values, we wrote a result_url script that would save these values to disk.
Code: Select all
<?php
if (isset($_POST))
$output = var_export($_POST, true);
$handle = fopen("/var/tmp/result_url_test.txt", "w");
fwrite($handle, $output);
fclose($handle);
echo 'done';
?>
Code: Select all
array (
'phone_number' => '16177123000',
'call_id' => '8243164',
'message_reference' => 'This is a test call.',
'result' => 'completed',
'callee_type' => 'voice',
'attempts' => '1',
'last_attempt_timestamp' => 'Wed, 01 Feb 2012 17:47:40 -0500',
'duration' => '2',
)
Hope this helps.
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
Re: Outbound IVR questions
Thanks, that was exactly what I was looking for.