Josh Freeman
2012-Feb-01 17:42 UTC
[asterisk-users] Dynamically toggling ConfBridge recording from conference menu
Hello, I'm using ConfBridge in an application where I need a conference admin to be able to start and stop recording using a conference menu option. Currently, I'm doing this by defining ConfBridge menu options 7=dialplan_exec(conference_functions,rec_start,1) 9=dialplan_exec(conference_functions,rec_stop,1) The rec_start and rec_stop extensions simply start/stop MixMonitor on the channel of the admin who presses 7/9. However, what I'd really like to do is to be able to execute the equivalent of the CLI "confbridge record start xxxx" command, so that the recording would be independent of the participant channel. I suppose I could do this with a System call, something like System(asterisk -rx "confbridge record start xxxx") - but is there a better, less-roundabout way of getting there? Thanks, Josh
Kevin P. Fleming
2012-Feb-01 17:57 UTC
[asterisk-users] Dynamically toggling ConfBridge recording from conference menu
On 02/01/2012 11:42 AM, Josh Freeman wrote:> Hello, > > I'm using ConfBridge in an application where I need a conference admin > to be able to start and stop recording using a conference menu option. > > Currently, I'm doing this by defining ConfBridge menu options > > 7=dialplan_exec(conference_functions,rec_start,1) > 9=dialplan_exec(conference_functions,rec_stop,1) > > The rec_start and rec_stop extensions simply start/stop MixMonitor on > the channel of the admin who presses 7/9. However, what I'd really like > to do is to be able to execute the equivalent of the CLI "confbridge > record start xxxx" command, so that the recording would be independent > of the participant channel. > > I suppose I could do this with a System call, something like > System(asterisk -rx "confbridge record start xxxx") - but is there a > better, less-roundabout way of getting there?Unfortunately at this time there isn't any 'record' control available directly in the ConfBridge menu system, although it would surely not be hard to add. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org