Scheduling a conference call
The conference call scheduler is going to let you enter details to schedule a conference call. This will let you set up participants, the moderator, and when the call will take place.
Getting ready
The complete source code for this recipe can be found in the Chapter4/
folder.
How to do it...
Ok, ready? For our first recipe, we're going to build the scheduling and conference management sections.
Download the Twilio Helper Library from (https://github.com/twilio/twilio-php/zipball/master) and unzip it.
Upload the
Services/
folder to your website.Add
sql.sql
to your database.Upload
config.php
to your website and make sure the following variables are set:<?php $accountsid = ''; // YOUR TWILIO ACCOUNT SID $authtoken = ''; // YOUR TWILIO AUTH TOKEN $fromNumber = ''; // PHONE NUMBER CALLS WILL COME FROM $conferenceNumber = ''; // Number to call into. $dbhost = ''; // YOUR DATABASE HOST $dbname = ''; // YOUR DATABASE NAME $dbuser = ''; // YOUR DATABASE USER...