whenever I am trying to make a conference call it says application error and I get an error in error log as :
PHP Warning: strlen() expects parameter 1 to be string, array given in /home/aan/public_html/twilio/twilio-php-4.11.0/Services/Twilio/Rest/Calls.php on line 16
Here is the code
<?php
require("twilio-php-4.11.0/Services/Twilio/Twiml.php");
if($_REQUEST['Digits'] != '1') {
header("Location: twiml.php");
die;
}
$MODERATOR = $_GET['phone'];
$response = new Services_Twilio_Twiml();
$dial = $response->dial($MODERATOR);
$dial->conference('My conference', array(
'startConferenceOnEnter' => True
));
I have already made the call and gathered the digit , but when I dial second number and try to make these as conference I get this error
create
function was getting called somewhere: github.com/twilio/twilio-php/blob/4.11.0/Services/Twilio/Rest/… – Devin Rader