Twilio Client PHP Quickstart

Making Incoming and Outgoing Calls in Your Browser

It's time to put it all together -- let’s call from a browser client to another browser client.

For this to work, we need to have two different web browser windows open. Of
course, each web browser needs to be registered under a separate name. For this
example, we'll have one browser window be registered as 'jenny' and another one
as 'tommy'.

We'll change the hello-client-monkey source code one more time to look for
the client name in the URL. Take a look below:

Launch two browser windows, one pointing at
hello-client-monkey.php?client=jenny and the other at
hello-client-monkey.php?client=tommy. Now, use the text box in one of
them to call the other browser by client name. Once the connection has been
established, the two browser clients will be talking to each other.