Basic multi-party conference example using the conference verb over WebSocket transport.
All callers join the same named conference room with a beep on join. Demonstrates:
- The
conferenceverb with a named room beep: truefor join/leave notificationstartConferenceOnEnter: trueso the first caller starts the conference- Status events (
join,leave) viastatusHook - The
actionHookcallback when a participant leaves
npm installConfigured in the jambonz portal and passed via session.data.env_vars:
| Variable | Required | Default | Description |
|---|---|---|---|
CONFERENCE_NAME |
No | my-conference |
Name of the conference room |
| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Port the WebSocket server listens on |
LOG_LEVEL |
info |
Pino log level (debug, info, warn, error) |
npm startConfigure your jambonz application to use the WebSocket URL ws://your-server:3000/.