Skip to content

VOLUME()

Synopsis

Set or get the TX or RX volume of a channel.

Description

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

Example: Increase volume
same => n,Set(VOLUME(TX)=3)
Example: Increase volume
same => n,Set(VOLUME(RX)=2)
Example: Increase volume with DTMF control
same => n,Set(VOLUME(TX,p)=3)
Example: Increase RX volume with DTMF control
same => n,Set(VOLUME(RX,p)=3)
Example: Decrease RX volume
same => n,Set(VOLUME(RX)=-4)
Example: Reset to normal
same => n,Set(VOLUME(RX)=0)

Syntax

VOLUME(direction,options)
Arguments
  • direction - Must be 'TX' or 'RX'.

  • options

    • p - Enable DTMF volume control

Generated Version

This documentation was generated from Asterisk branch 21 using version GIT