[asterisk-bugs] [JIRA] (ASTERISK-24351) [patch] Allow passing options and command to MixMonitor when recording in ConfBridge

Gareth Palmer (JIRA) noreply at issues.asterisk.org
Wed Sep 24 00:25:28 CDT 2014


Gareth Palmer created ASTERISK-24351:
----------------------------------------

             Summary: [patch] Allow passing options and command to MixMonitor when recording in ConfBridge
                 Key: ASTERISK-24351
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24351
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Applications/app_confbridge
    Affects Versions: SVN
            Reporter: Gareth Palmer
            Severity: Minor
         Attachments: asterisk-trunk-423782.patch

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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list