VoIP Cookbook: Activating Conference while Operating

From OnnoWiki
Jump to navigation Jump to search

One of needs that may arise is the setting of a conference room at anytime during operating VoIP. For this purpose, it is not necessary for us to change the content of extensions.conf file. However we need to set up a conference that its general context in the extensions.conf file and meetme.conf:

;meetme.conf
[rooms]
;general-purpose conference room
conf => 3500,1234

;extensions.conf
;generic conference room

[gen_conference]

If we need establish a new conference, we can immediately make it through CLI, with the following command:

localhost*CLI> add extension 400,1,Dial,3500 into gen_conference
Extension '400,1,Dial,3500' added into 'gen_conference' context

Here extension 400 will be added with priority 1 to gen_conference. Of course, this extension will disappear if we restart the asterisk, or we can delete it through the following command:

localhost*CLI> remove extension 400@gen_conference
Whole extension 400@gen_conference removed

In multi-line extensions, we can omit a single line or command by giving a priority, for example

localhost*CLI>remove extension 400@gen_conference 2
Extension 400@gen_conference with priority 2 removed


See Also