[Home]

Summary:ASTERISK-24351: [patch] Allow passing options and command to MixMonitor when recording in ConfBridge
Reporter:Gareth Palmer (gareth)Labels:
Date Opened:2014-09-24 00:24:48Date Closed:2014-12-21 20:36:18.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:SVN Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-trunk-423782.patch
Description:This patch adds the ability to pass options and a command to MixMontor when recording a conference using ConfBridge.

New options are -

record_options: Options to MixMontor, eg: m(), W() etc.
record_command: The command to execute when recording is over.

{code}
exten => 123,1,Answer(0.5)
same => next,Set(CONFBRIDGE(bridge,record_conference)=yes)

; Send the recording to voicemail mailbox ${MAILBOX} when finished
same => next,Set(CONFBRIDGE(bridge,record_options)=m(${MAILBOX}))

; Or run a command when recording ends
; same => next,Set(CONFBRIDGE(bridge,record_command)=/path/to/command ^{MIXMONITOR_FILENAME})

same => next,ConfBridge(${EXTEN})
same => next,Hangup(normal_clearing)
{code}
Comments:By: Rusty Newton (rnewton) 2014-09-24 17:55:13.948-0500

[~gareth] thanks for the contribution. That feature looks pretty useful.

Go ahead with the [Code Review|https://wiki.asterisk.org/wiki/display/AST/Code+Review] process and get your patch on Reviewboard for others to begin reviewing and/or testing.

By: Rusty Newton (rnewton) 2014-09-24 17:56:59.402-0500

Once you have a Reviewboard URL you can edit this issue and add it to the Reviewboard URL. Thanks.

By: Gareth Palmer (gareth) 2014-09-25 23:23:45.817-0500

Added Reviewboard URL.

By: Matt Jordan (mjordan) 2014-12-21 20:35:33.817-0600

Committed in 429934, with a small addition to CHANGES for the new feature. Thanks for the contribution!