懒码农。。。。。。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
 
 
Command Type: 
 Dialplan Application
Version: 
 Trunk
Syntax: 

MixMonitor(file(filename.extension)[,options[,command]])

Records the audio on the current channel to the specified file.

MIXMONITOR_FILENAME

Will contain the filename used to record.

Parameters: 
file:

If filename is an absolute path, uses that path, otherwise creates the file in the configured monitoring directory from asterisk.conf.

options:
a

Append to the file instead of overwriting it.

b

Only save audio to the file while the channel is bridged.

Does not include conferences or sounds played to each bridged party

If you utilize this option inside a Local channel, you must make sure the Local channel is not optimized away. To do this, be sure to call your Local channel with the /n option. For example: Dial(Local/start@mycontext/n)

v(x)

Adjust the heard volume by a factor of x (range -4 to 4)

V(x)

Adjust the spoken volume by a factor of x (range -4 to 4)

W(x)

Adjust both, heard and spoken volumes by a factor of x (range -4 to 4)

command:

Will be executed when the recording is over.

posted on 2009-12-15 15:34  阿彬  阅读(805)  评论(0编辑  收藏  举报