-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4023/
-----------------------------------------------------------

(Updated Dec. 21, 2014, 8:35 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 429934


Bugs: ASTERISK-24351
    https://issues.asterisk.org/jira/browse/ASTERISK-24351


Repository: Asterisk


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.

eg: Set(CONFBRIDGE(bridge,record_command)=/path/to/command 
^{MIXMONITOR_FILENAME}))

Note:

The current behavior of set_rec_filename is to always append a timestamp to 
rec_file. This is desirable for dynamically generated rec_file, but doesn't 
make sense for a user-supplied rec_file and the documenation does not mention 
that it does this either.

So the patch changes set_rec_filename to use the user-supplied rec_file as-is. 


Diffs
-----

  /trunk/configs/samples/confbridge.conf.sample 428862 
  /trunk/apps/confbridge/include/confbridge.h 428862 
  /trunk/apps/confbridge/conf_config_parser.c 428862 
  /trunk/apps/app_confbridge.c 428862 

Diff: https://reviewboard.asterisk.org/r/4023/diff/


Testing
-------

Set record_options to m(${MAILBOX}) and verified that a recording was delivered 
to ${MAILBOX}.

Set record_command to /bin/rm ^{MIXMONITOR_FILENAME} and checked that recording 
was deleted on ending the conference.


Thanks,

gareth

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to