SendDTMF
来源:互联网 发布:怎么打开mac的airplay 编辑:程序博客网 时间:2024/06/08 02:05
SendDTMF:
用途:发送任意DTMF数字到通道上。
语法:
SendDTMF(digits[|timeout_ms])
发送任意DTMF到通道上,可以是SIP,ZAP/DAHDI,IAX等通道。如果digits中包含一个“w”字符,会暂停0.5秒。
如果未指定timeout_ms参数,那么默认超时是 250 ms (在 Asterisk 1.4.21.2版本上查对过)。
其它发送DTMF办法
可以通过playback函数播放DTMF声音的方式来发送DTMF。
可以在Dial命令里面加参数"D"选项也能发送DTMF到一个通道。
对于SIP通道,可以在SIP INFO包里发送DTMF信息。
Asterisk cmd SendDTMF
Synopsis:
Sends arbitrary DTMF digits Description:
SendDTMF(digits[|timeout_ms])
Sends DTMF digits on a channel.
A 'w' as digit will cause a pause of 0.5 seconds.
The timeout option only works in CVS after 12-30-04. If not specified, the default value of the timeout is 250 ms (checked on Asterisk 1.4.21.2)
Note: The Dial command comes with the 'D' option that is also able to send DTMF to a channel.
http://www.voip-info.org/wiki/view/Asterisk+cmd+SendDTMF
- SendDTMF
- Linux 内核编译 —— make localmodconfig 简化内核配置流程
- 作业论文1 --- 对目前拍拍网的一些建议
- pipelined 函数
- Error creating bean with name 'userService' defined in class path resource [beans.xml]: Unsatisfied dependency expressed through
- 2010最危险的编程错误
- SendDTMF
- 通用线程:POSIX 线程详解------------作者——Daniel Robbins
- 序列化Serializable(asp.net C#)
- 软件架构师应该知道的97件事
- try catch throw用法
- 命令行还是用户界面?
- 时间管理-有趣的数据
- 基于用户体验的拍拍网与淘宝网流程对比分析
- 文件服务器Vsftp使用指南