linux - 在 Asterisk 中同时播放和录制

标签 linux shell voip asterisk elastix

我正在 Asterisk 中开发一个示例 IVR 系统,它在接收和接听来电时播放语音​​文件。我想知道是否可以编写一个拨号计划代码或 shell 脚本,在播放语音文件(同时播放和录音)的同时记录消息。

在此先感谢您的帮助。

最佳答案

是的,是的。事实上,我一直这样做。您的代码看起来像这样:

exten => 100,1,Answer
 same => n,Wait(1)
 same => n,Monitor(wav,myfilename)
 same => n,Playback(this-call-may-be-monitored-or-recorded)
 same => n,Playback(pls-wait-connect-call)

如需进一步阅读,请参阅:

http://www.voip-info.org/wiki/view/Asterisk+cmd+Monitor

http://www.voip-info.org/wiki/view/Asterisk+cmd+Playback

关于linux - 在 Asterisk 中同时播放和录制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18333847/

相关文章:

c - Linux:如何修改 ELF 二进制文件动态部分中的共享库名称

Linux 查找特定年份后创建的 : How to find . PDF 文件?

linux - 在csh中设置环境变量

linux - 历史命令在终端中有效,但在作为 bash 脚本编写时无效

ios - 如何 Hook ios 连接更改

c - 如何在非规范模式下从读取函数返回且 VMIN 和 TIME 不等于零

linux - Debian 7 : connection problems and timeouts

linux - 在文本文件中添加存储在第二个 'column' 中的数千个数字?

ios - 请求 APNs VoIP 通知 (Flutter iOS)

android - 我是否需要 SIP 服务器/注册器来实现 SIP 对讲系统?