Joining a conference call from the web browser
Some attendees may not want to use their phones for the conference; maybe they want to participate from their computers. This recipe will let them join the same conference via their web browser.
Getting ready
The complete source code for this recipe can be found in the Chapter4/
folder.
How to do it...
Let's build a browser phone system that will let attendees join a conference call from their web browsers. We will give users the ability to enter a code and join the room of their choice.
First, since this is using the Twilio Client, you need to set up a TwiML app under your account.
Click on the Create TwiML app button and enter a name for your app. Also, you'll need to enter a URL for Voice. In this case, set it to the URL where you have uploaded
dial-conference.php
; that is,http://MYWEBSITE.COM/join-conference.php
.Now go back to the application list and you will see your new app. Look at the line directly beneath the name of your app; that is your...