Let's implement a click-to-call button that will allow anyone to click on a web page to join a conference in video-audio chat (more information about conferences is covered in the next chapter).
For security reasons, we need an "anonymous" user that we can allow into our system without risks, that is, a user that can do only what we have preplanned.
Create an anonymous user for click-to-call by adding to the directory and the dialplan as instructed in the SIP Signaling in JavaScript with SIP.js(WebRTC client) section. Then use reloadxml
from fs_cli
, or restart FreeSWITCH.
The end user does not need to log in or identify themselves; insert your name is there just for aesthetic purposes.
A minimal click-to-call Verto client looks like this:
