Barra de espaço
Barra de espaço

This tutorial describes a detailed procedure showing how to perform the configuration of conference bridge on an Asterisk server.

YOUTUBE

In our channel you can view the video of this tutorial.



INSTALLATION 

Delete the current contents of the file "sip.conf"
# echo > /etc/asterisk/sip.conf

Edit the file "sip.conf"
# vi /etc/asterisk/sip.conf

Here is a functional configuration file.

[general]
allowguest=no
srvlookup=no
udpbindaddr=0.0.0.0
tcpenable=no
canreinvite = no
dtmfmode=auto

[ramal-voip](!)
type=friend
context=INTERNO
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=g729

[100](ramal-voip)
secret=senha100
callerid="Vegeta" <100>

[200](ramal-voip)
secret=senha200
callerid="Kakaroto" <200>


We created 2 extensions 100 & 200.

Delete the current contents of the file "extensions.conf".

# echo > /etc/asterisk/extensions.conf




Edit the file "extensions.conf".

# vi /etc/asterisk/extensions.conf

Here is a functional configuration file.

[general]

[INTERNO]
;
; RAMAL 100 (FOR TEST ONLY)
;
exten => 100,1,Dial(SIP/100)
;
; RAMAL 200 (FOR TEST ONLY)
;
exten => 200,1,Dial(SIP/200)

;
;CONFERENCE - GUEST
;
exten => 666,1,Progress()
exten => 666,2,Wait(1)
exten => 666,3,ConfBridge(1,default_bridge,default_user)

;
;CONFERENCE - ADMIN
;
exten => 777,1,Progress()
exten => 777,2,Wait(1)
exten => 777,3,ConfBridge(1,default_bridge,admin_user)


In addition to 2 configured SIP extensions, we added a third extension 666 that should be dialed by conference guests and a forth extension 777 that should be dialed by conference administrator.

Delete the current contents of the file "confbridge.conf".
# echo > /etc/asterisk/confbridge.conf


Edit the file "confbridge.conf".
# vi /etc/asterisk/confbridge.conf

Here is a functional configuration file.

[general]

[admin_user]
type=user
pin=5555
marked=yes
admin=yes
music_on_hold_when_empty=yes
announce_user_count=yes

[default_user]
type=user
pin=1234
wait_marked=yes
end_marked=yes
music_on_hold_when_empty=yes
announce_user_count=yes

[default_bridge]
type=bridge
max_members=10

 

We created 2 users, the first being the administrator of the room and a second, default_user, the guest type user who hear music until the moderator enters the room.

Restart Asterisk service through the following command.
# /etc/init.d/asterisk restart


TEST YOUR BRIDGE

After setting two softphones with their extensions 100 and 200, attempt to call extensions 666 and 777.

Note that the administrator must enter the PIN # 5555 while the guest should dial the PIN # 1234.

CONCLUSion

This tutorial presented a conference bridge extension configuration.

***UPDATED VERSION OF THIS TUTORIAL