分享

asterisk 音量控制

 我的工作记录 2013-05-13

Asterisk func volume

Syntax:

VOLUME(TX|RX)
In 1.8:
VOLUME(TX|RX[,options])

Synopsis:

Set the TX or RX volume of a channel (New in 1.6)

Arguments:

  • direction — Must be 'TX' or 'RX'.
  • options — p: Enable DTMF volume control

Description:

The VOLUME function can be used to increase or decrease the tx or rx gain of any channel.

Example:

Set(VOLUME(TX)=3)
Set(VOLUME(RX)=2)
Set(VOLUME(TX,p)=3)

Notes:

  • In addition to setting the volume, once this function has been called, it will monitor the channel for '*' and '#'. If one of those keys is pressed, the volume will be increased or reduced, respectively. In 1.8, however, there is an optional parameter for volume adjustment to be enabled, see "core show function VOLUME" for more.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多