, , FXS , , . , FXS , . :
VOLUME(TX|RX). Asterisk:
asterisk*CLI> core show function VOLUME -= Info about function 'VOLUME' =- [Synopsis] Set 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. For example: Set(VOLUME(TX)=3) Set(VOLUME(RX)=2) Set(VOLUME(TX,p)=3) Set(VOLUME(RX,p)=3) [Syntax] VOLUME(direction[,options]) [Arguments] direction Must be 'TX' or 'RX'. options p: Enable DTMF volume control [See Also] Not available
2 :
- , . TX , RX .
- p, DTMF
VOLUME. extensions_customs.conf :
[root@asterisk ~]# vim /etc/asterisk/extensions_custom.conf
[volume-set] exten => _X.,1,NoOp(Volume settings) same => n,Set(VOLUME(TX)=5) same => n,Set(VOLUME(RX)=5) same => n,Goto(from-internal,${EXTEN},1)
Extension, Context, - volume-set.

, 5 ,