Speed up development with full-stack environments for every branch.

Learn More

How to start and record a conference call [PHP, twilio and recording]

46 Runs 1371 Views 262 Copies


dipesh.parmar 55

published 4 years ago

 <title>Twilio: Start and record a conference call</title>
 <link rel="stylesheet" href="styles.css" />
<div style="margin-left:50px; width:700px;">
    <h1>Example is running. Call <? echo getenv('TWILIO_NUMBER');?></h1>
    <p>Some additional steps may need to be completed first:</p>
      <li>Login to your Twilio account 
          (<a target="_blank" href="https://twilio.com/login">twilio.com/login</a>)</li>
      <li>Click on "Numbers" and select your Twilio number</li>
      <li>Update the Voice Request URL with this example's URL: 
          <? echo getenv('BASE_URL');?>/handle-user-input.php</li> 
      <li>You should be ready to call the number and test out this example.</li>
    <h3>How it works</h3>

		When a caller calls the number we entered,
		Twilio calls start.php,
		which then prompts them to enter a room number;
		then we check to see if the phone number they are calling from has been set as a moderator's number or not.
		If they are a moderator,
		we call moderator.php and start the conference;
		otherwise, we call speaker.php and listener.php for a moderator to join.
      More information can be found
      <a target="_blank" href="https://www.twilio.com/docs/howto/moderated-conference"> here</a>
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).