# Volume tx rx function

**URL:** <https://community.asterisk.org/t/volume-tx-rx-function/24701>\
**Category:** Asterisk Support\
**Created:** [December 22, 2008, 5:32pm UTC](https://community.asterisk.org/t/volume-tx-rx-function/24701 "2008-12-22T17:32:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brassox](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@brassox](https://community.asterisk.org/u/brassox)\
**Post date:** [December 22, 2008, 5:32pm UTC](https://community.asterisk.org/t/volume-tx-rx-function/24701/1 "2008-12-22T17:32:01Z")

</div>

Hello.  
i tried to use function VOLUME to set RX and TX gain on a channel. I tried it on asterisk 1.6 (native) and 1.4 but seems that it never work fine. I have set TX=0 but called and caller can hear perfectly.Have anyone experience using that function?

Below my simple test context in extensions.conf:

exten =\> 11,1,Set(TX=0)  
exten =\> 11,2,NoOp(“TX:${TX}”)  
exten =\> 11,3,Set(VOLUME(TX)=0)  
exten =\> 11,4,Dial(SIP/[MYPROVIDER]/[MYNUMBER])

Thanks in advance.
