Im使用Mixmonitor()应用程序记录调用,它运行良好,但最近我收到了一个请求,要求除了mixedfile之外,还记录调用的每个分支。我知道,我可以用Monitor()记录调用的每一个分支,然后使用外部脚本来混合它,但问题是这是服务器的额外加载。所以我想知道我能用星号吗?例如,将Monitor和Mixmonitor一起使用?
您可以使用MixMonitor的参数指定调用支路:
MixMonitor(mixed.wav,r(in.wav)t(out.wav))
如说明书所述:
asterisk*CLI> core show application MixMonitor
r(file): Use the specified file to record the *receive* 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.
t(file): Use the specified file to record the *transmit* 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.