I'd like to build video conference platform using Twilio api in PHP for the backend.
And I want to know how to create voice conference and video room in twilio using PHP.
There are PHP code for this in twilio doc.
$response = new TwiML;
// Start with a verb
$dial = $response->dial();
dial->conference('My conference', array(
'startConferenceOnEnter' => True,
'endConferenceOnExit' => True
I have some questions
- Do I need to return $reponse to the client side?
- How can I connect this voice conference?
Please help me with this