123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>Asterisk Project : Asterisk 13 Application_MixMonitor</title>
- <link rel="stylesheet" href="styles/site.css" type="text/css" />
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- </head>
- <body class="theme-default aui-theme-default">
- <div id="page">
- <div id="main" class="aui-page-panel">
- <div id="main-header">
- <div id="breadcrumb-section">
- <ol id="breadcrumbs">
- <li class="first">
- <span><a href="index.html">Asterisk Project</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Command-Reference_29394274.html">Asterisk 13 Command Reference</a></span>
- </li>
- <li>
- <span><a href="Asterisk-13-Dialplan-Applications_29394285.html">Asterisk 13 Dialplan Applications</a></span>
- </li>
- </ol>
- </div>
- <h1 id="title-heading" class="pagetitle">
- <span id="title-text">
- Asterisk Project : Asterisk 13 Application_MixMonitor
- </span>
- </h1>
- </div>
- <div id="content" class="view">
- <div class="page-metadata">
-
-
-
-
-
-
-
- Created by <span class='author'> wikibot</span> on Aug 08, 2014
- </div>
- <div id="main-content" class="wiki-content group">
- <h1 id="Asterisk13Application_MixMonitor-MixMonitor()">MixMonitor()</h1>
- <h3 id="Asterisk13Application_MixMonitor-Synopsis">Synopsis</h3>
- <p>Record a call and mix the audio during the recording. Use of StopMixMonitor is required to guarantee the audio file is available for processing during dialplan execution.</p>
- <h3 id="Asterisk13Application_MixMonitor-Description">Description</h3>
- <p>Records the audio on the current channel to the specified file.</p>
- <p>This application does not automatically answer and should be preceeded by an application such as Answer or Progress().</p>
- <div class="aui-message hint shadowed information-macro">
- <p class="title">Note</p>
- <span class="aui-icon icon-hint">Icon</span>
- <div class="message-content">
-
- <p>MixMonitor runs as an audiohook.</p>
- </div>
- </div>
- <ul>
- <li><code>MIXMONITOR_FILENAME</code> - Will contain the filename used to record.</li>
- </ul>
- <h3 id="Asterisk13Application_MixMonitor-Syntax">Syntax</h3>
- <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>MixMonitor(filename.extension,[options,[command]])</pre>
- </div></div>
- <h5 id="Asterisk13Application_MixMonitor-Arguments">Arguments</h5>
- <ul>
- <li><code>file</code>
- <ul>
- <li><code>filename</code> - If <em>filename</em> is an absolute path, uses that path, otherwise creates the file in the configured monitoring directory from <code>asterisk.conf.</code></li>
- <li><code>extension</code></li>
- </ul>
- </li>
- <li><code>options</code>
- <ul>
- <li><code>a</code> - Append to the file instead of overwriting it.</li>
- <li><code>b</code> - Only save audio to the file while the channel is bridged.</li>
- <li><code>B</code> - Play a periodic beep while this call is being recorded.
- <ul>
- <li><code>interval</code> - Interval, in seconds. Default is 15.</li>
- </ul>
- </li>
- <li><code>v</code> - Adjust the <strong>heard</strong> volume by a factor of <em>x</em> (range <code>-4</code> to <code>4</code>)
- <ul>
- <li><code>x</code></li>
- </ul>
- </li>
- <li><code>V</code> - Adjust the <strong>spoken</strong> volume by a factor of <em>x</em> (range <code>-4</code> to <code>4</code>)
- <ul>
- <li><code>x</code></li>
- </ul>
- </li>
- <li><code>W</code> - Adjust both, <strong>heard and spoken</strong> volumes by a factor of <em>x</em> (range <code>-4</code> to <code>4</code>)
- <ul>
- <li><code>x</code></li>
- </ul>
- </li>
- <li><code>r</code> - Use the specified file to record the <strong>receive</strong> audio feed. Like with the basic filename argument, if an absolute path isn't given, it will create the file in the configured monitoring directory.
- <ul>
- <li><code>file</code></li>
- </ul>
- </li>
- <li><code>t</code> - Use the specified file to record the <strong>transmit</strong> audio feed. Like with the basic filename argument, if an absolute path isn't given, it will create the file in the configured monitoring directory.
- <ul>
- <li><code>file</code></li>
- </ul>
- </li>
- <li><code>i</code> - Stores the MixMonitor's ID on this channel variable.
- <ul>
- <li><code>chanvar</code></li>
- </ul>
- </li>
- <li><code>p</code> - Play a beep on the channel that starts the recording.</li>
- <li><code>P</code> - Play a beep on the channel that stops the recording.</li>
- <li><at:declarations><at:string at:name="default,2222" /></at:declarations><code>m</code> - Create a copy of the recording as a voicemail in the indicated <strong>mailbox</strong>(es) separated by commas eg. m(1111<at:var at:name="default,2222" />default,...). Folders can be optionally specified using the syntax: mailbox@context/folder
- <ul>
- <li><code>mailbox</code></li>
- </ul>
- </li>
- </ul>
- </li>
- <li><code>command</code> - Will be executed when the recording is over.<br />
- Any strings matching <code>^{X</code>} will be unescaped to <code>X</code>.<br />
- All variables will be evaluated at the time MixMonitor is called.</li>
- </ul>
- <h3 id="Asterisk13Application_MixMonitor-SeeAlso">See Also</h3>
- <ul>
- <li><a href="Asterisk-13-Application_Monitor_29394908.html">Asterisk 13 Application_Monitor</a></li>
- <li><a href="Asterisk-13-Application_StopMixMonitor_29394450.html">Asterisk 13 Application_StopMixMonitor</a></li>
- <li><a href="Asterisk-13-Application_PauseMonitor_29394911.html">Asterisk 13 Application_PauseMonitor</a></li>
- <li><a href="Asterisk-13-Application_UnpauseMonitor_29394912.html">Asterisk 13 Application_UnpauseMonitor</a></li>
- <li><a href="Asterisk-13-Function_AUDIOHOOK_INHERIT_29394681.html">Asterisk 13 Function_AUDIOHOOK_INHERIT</a></li>
- </ul>
- <h3 id="Asterisk13Application_MixMonitor-ImportVersion">Import Version</h3>
- <p>This documentation was imported from Asterisk Version SVN-branch-13-r420538</p>
- </div>
-
-
- </div> </div>
- <div id="footer">
- <section class="footer-body">
- <p>Document generated by Confluence on Aug 11, 2014 13:45</p>
- </section>
- </div>
- </div> </body>
- </html>
|