FreePBX Conference Room Setup: PINs, DID Routing, Fixes
FreePBX conference room setup takes four steps: create the room in Applications > Conferences with a user PIN, point an Inbound Route DID at it, apply config, then test internally and from an outside line with confbridge list.
- Create the room in Applications > Conferences, use a conference number that does not collide with any extension, and set digit-only PINs.
- Never leave the User PIN blank on a conference reachable from a public DID; set a PIN and a Max Participants cap.
- Route a DID with Connectivity > Inbound Routes and destination Conferences > your room; the bridge itself plays the PIN prompt, so no IVR is required.
- Silence when alone in the room and MOH only while waiting for the leader are normal ConfBridge behaviour, not faults.
- PIN failures are almost always DTMF mode mismatches on the trunk; confirm with pjsip set logger on and rtp set debug on.
How do I create a conference room in FreePBX?
Open Applications > Conferences and click Add Conference. FreePBX builds a ConfBridge room from the form, so each field maps to a ConfBridge user or bridge profile option.
The three identity fields matter most. Conference Number is the extension people dial (for example 8000), Conference Name is a label shown in the GUI and in Caller ID, and the two PIN fields control who gets in and with what powers.
| Field | Example | What it does |
|---|---|---|
| Conference Number | 8000 | Internal dial string and the value the inbound route points to. Must not match an extension, ring group or feature code. |
| Conference Name | Weekly Sales | Display label only. |
| User PIN | 482913 | Digits entered by ordinary participants. Blank means no PIN prompt. |
| Admin PIN | 770254 | Entering it joins the caller as an administrator (marked user). |
| Max Participants | 10 | Hard cap; extra callers are refused. |
User PIN vs Admin PIN: what can each role do?
A caller who types the User PIN joins as a normal participant. A caller who types the Admin PIN joins as an admin, which in ConfBridge terms is a marked user with the admin flag.
Admins can use the in-call menu to mute or kick all participants and lock the room. Marked users also drive Leader Wait and Leader Leave: if Leader Wait is on, ordinary callers sit on hold music until a marked user enters, and if Leader Leave is on, everyone is dropped when the last marked user hangs up.
If both PINs are blank, the first caller starts the room and nobody has admin rights. Use PINs of digits only, because the caller enters them on a phone keypad and letters or symbols can never be matched. Keep the two PINs different, otherwise the bridge cannot tell which role to assign.
Which conference options should I set?
The defaults work, but several options change behaviour in ways that look like faults to callers. Set them deliberately before you publish the number.
| Option | Effect | Recommendation |
|---|---|---|
| Join Muted | Participants enter muted | On for webinar-style calls; off for meetings, otherwise people think there is no audio. |
| Leader Wait | Callers wait on MOH until an admin joins | On for scheduled calls with a host. |
| Leader Leave | Ends the call when the last leader leaves | On to stop orphaned rooms. |
| Talker Optimization | Only mixes channels that are speaking | Leave on for larger rooms to save CPU. |
| Talker Detection | Sends talking events to the manager interface | Needed for GUI speaker indicators. |
| Quiet Mode | Suppresses enter and leave announcements | On for rooms with frequent joiners. |
| User Count | Announces number of participants on join | Optional. |
| Music on Hold Class | MOH class used while waiting | Pick a class that exists; see the MOH section. |
| Allow Menu | Enables the DTMF menu (*) | On for admins; leave users with it only if needed. |
| Record Conference | Records the room to a file | Only with disclosure; see hardening. |
| Max Participants | Caps members | Always set it on public DIDs. |
How do I route an outside phone number to the conference?
Go to Connectivity > Inbound Routes and add a route. Put the DID exactly as your provider delivers it in the DID Number field, then set Destination to Conferences and choose the room.
The bridge plays the PIN prompt itself, so no IVR is needed. If you want business-hours restriction or a greeting, put a Time Condition or IVR in front and send the matching branch to the conference.
Click Submit, then Apply Config. Skipping Apply Config is the most common reason a new room does not exist in Asterisk.
- Applications > Conferences: create room 8000 with a User PIN and Admin PIN, then Submit.
- Connectivity > Inbound Routes > Add: set DID Number (match the provider format, such as 15551234567 or 5551234567).
- Set Destination to Conferences > 8000 - Weekly Sales and Submit.
- Click Apply Config and wait for the reload to finish.
- Dial 8000 from an internal extension and enter the PIN.
- Call the DID from a mobile phone and repeat the test.
How do I verify the room from the Asterisk CLI?
Open the console with asterisk -rvvv and confirm the module and room exist. A successful test shows the caller listed under the room with their channel and flags.
asterisk -rvvv
module show like confbridge
confbridge list
confbridge list 8000
confbridge show profile bridge default_bridge
confbridge show profile user default_user
confbridge show menus
moh show classes
core show channelsWhy is there no audio, no hold music, or my PIN rejected?
Separate normal behaviour from faults first. Being alone in a room is silent by design, and MOH plays only while a caller waits for a leader or is the sole participant with music on empty enabled. Hold music will not play for a second joiner in a running room.
For one-way or no audio, the cause is almost always NAT or RTP. Confirm rtp.conf has rtpstart=10000 and rtpend=20000, open UDP 10000-20000 on the firewall, and set External Address and Local Networks in Settings > Asterisk SIP Settings. On the PJSIP endpoint or transport, check external_media_address, external_signaling_address and local_net. Disable direct_media, as it cannot apply to a bridge anyway.
For PINs, the bridge reads DTMF from the channel. If the trunk sends inband tones while Asterisk expects RFC4733, digits are lost and the caller times out. The default limit is 3 attempts, after which the call is dropped.
Capture the signalling and media together and look at the digits.
| Symptom | Likely cause | CLI check | Fix |
|---|---|---|---|
| Caller hears silence after DID dial | Wrong destination or DID format mismatch (+1 vs 10 digits) | Console shows hit on default catch-all or 'no matching route' | Match DID to the provider format; use pattern _X. or add both formats |
| Busy or invalid on dial | Config not applied or module not loaded | module show like confbridge | Apply Config; module load app_confbridge.so |
| No audio both ways | RTP blocked or NAT address wrong | rtp set debug on; sngrep | Open UDP 10000-20000; set external address and local_net |
| One-way audio | Wrong external_media_address or NAT | rtp set debug on shows packets only one way | Correct address and enable symmetric RTP and rewrite contact |
| Caller silent when alone | Normal behaviour | confbridge list 8000 shows one member | None; join with a second caller |
| Callers silent until host arrives | Leader Wait is on | confbridge list shows no marked user | Join with Admin PIN or disable Leader Wait |
| No hold music | MOH class missing or unsupported files | moh show classes; moh show files | Choose an existing class; reconvert files to WAV or 8 kHz formats |
| PIN rejected repeatedly | DTMF mode mismatch | pjsip set logger on; rtp set debug on | Set dtmf_mode to rfc4733 on the trunk; match the provider |
| Transcoding noise or choppy sound | Codec mismatch | core show channels verbose; core show translation | Allow ulaw or alaw on both legs |
pjsip set logger on
rtp set debug on
# look for RTP Event / telephone-event in the SDP and RTP packets
# a healthy call shows: a=rtpmap:101 telephone-event/8000
# and 'Got RTP DTMF' lines when the caller presses keysHow do I secure a public conference bridge?
A public DID plus a blank PIN lets anyone join, or toll abuse can follow through the PBX if the room is combined with outbound features. Set a User PIN of at least six random digits, a different Admin PIN, and a Max Participants limit that matches the real audience.
Limit access with a Time Condition in front of the inbound route so the room is reachable only during scheduled hours. Add fail2ban for the dialplan or security log, and watch the full log for repeated invalid PIN lines from the same caller ID.
If you enable Record Conference, announce it at the start of the call. Recording laws vary by region and some require all-party consent, so confirm your obligations before you turn it on.
Common questions
Why is my FreePBX conference dial-in number not working?
Check that the inbound route DID matches the format your provider sends, and that Apply Config completed. Then run asterisk -rvvv and place a test call to see which route matched; a hit on the catch-all means the DID format is wrong.
Can the same PIN be used for admin and user?
No. The bridge picks the role by the PIN entered, so identical values cannot be told apart and the role is ambiguous. Use two different digit-only PINs.
Why does the conference say I am the only person in the room?
That is normal when you are the first participant. Leader Wait may also hold ordinary callers on hold music until an admin joins, so test with a second phone.
Does a FreePBX conference need an IVR?
No. The bridge plays the PIN prompt itself. Use an IVR or Time Condition only to add a greeting or restrict hours.
How many PIN attempts are allowed?
The default is 3 attempts. After that the caller is disconnected, so repeated failures show up as short calls in the log.