VoIP Cookbook: Configuring Dialplan for Conference
To configure this dialplan, we have to edit file/etc/asterisk/extensions.conf and include the conference room we wish to have in it. This can be done by using a different context for each room, for example:
[marketing_team_conference_room] exten => 300,1,MeetMe,2500(1234)
[publisher_team_conference_room] exten => 301,1,MeetMe,2501(5678)
So the callers need only to call the phone number 300 or 301, enter the PIN when asked, and they will go into conference. MeetMe will ring a bell to inform those already in conference that there is someone entering into the conference.
We can certainly gather all the "room" conferences within a context. Or add a "room" to an existing context, with the following command.
[local-users] exten => 250,1,Dial(SIP/alrac,10,r) exten => 250,2,VoiceMail(u250@local-vm-users) exten => 250,dial+101,VoiceMail(b250@local-vm-users) exten => 300,1,MeetMe,2500(1234)
Or add a comprehensive context
include => marketing_team_conference_room
If the established conference gives the callers the opportunity to listen to speeches from the Boss without interrupting the speech, then we have to do the following:
[marketing_team_conference_room] exten => 300,1,MeetMe,2500|m|1234
New callers who have joined the conference can find out how many people in the conference use MeetMeCount applications, by executing the following command:
[marketing_team_conference_room] exten => 300,1,Playback(there_are) exten => 300,2,MeetMeCount,2500 exten => 300,3,Playback(callers) exten => 300,4,MeetMe,2500
Of course you need to save two sound files that somewhat reads "There are" and "Callers present in the conference". After editing extensions.conf, do not forget to reload the new configuration. In order to prevent anomalies encountered during operation, we can run asterisk console and execute the following command:
# asterisk -r asterisk1*CLI> extensions reload