When create call using the rest api and call went on ringing but there is no sound on the headset of call ringing.Is there any extra setup for this?
Iam using this to create call-
function create_call($to_no,$from_no,$user_id,$title,$voice_url,$msg_id){
try{
$admin_id = get_current_user_id();
// Initiate a new outbound call
$call = $this->client->calls->create(
// to call.
+155555555,
// that you've purchased or verified with Twilio.
+1457888885,
array("url" => "url",
'IfMachine'=>'Continue')
);
return $call->sid;
} catch(Exception $e){
echo "Error: " . $e->getMessage();
}
}
I not able to hear the call-ringing sound when the call connect with users phone.