I am using plivo and have calls answered by welcome.php
as my welcome url
.
When a call is answered, I pass it to conf_handler.php
and enter it into a conference:
$conf_attr = array(
'callbackUrl' => $host.'conf_handler.php',
'callbackMethod' => "POST",
);
$r->addConference($conf_name,$conf_attr);
echo($r->toXML());
How can I store both the callUUID
and call_duration
(once hang up) as a variables within conf_handler.php
? Are they posted to the page with the callbackMethod? Or do I need to somehow use GET to look them up (how would I do this?) http://plivo.com/docs/api/call/#call_detail