Can you please provide an example code for the resultURL.
I would also like to know how I can track whether the call is answered.
Please provide some examples for how to :
1) track the call placed and
2) Check how many calls were made and how many hits are remaining on our account.
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Question on call tracking
IVR code example for using result_url
Hi,
Here is an IVR code example of what you can use for result_url:
storeresults.php
This IVR code example allows you to write some post-call information to a file to track whether the IVR call had been answered, the call ID, and the date timestamp.
As for checking "how many hits are remaining for your account", could you please clarify further by what you mean?
Regards,
Plum Support
Here is an IVR code example of what you can use for result_url:
storeresults.php
Code: Select all
<?php
$File = "storeresults.txt";
$Handle = fopen($File, 'a+');
$Date = date("r");
$Result = $_POST[result];
$Callid = $_POST[call_id];
$Data = "$Date $Callid $Result\n";
fwrite($Handle, $Data);
print "Data Written";
fclose($Handle);
?>
As for checking "how many hits are remaining for your account", could you please clarify further by what you mean?
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com