Is it possible to decrease the transmit/receive volume in Asterisk below normal?












1















I am playing around with changing the volume in Asterisk. There are a few applications where I would benefit from this. Most of them are to increase the volume but there are also some scenarios in which I was looking to decrease the volume below the default.



I know someone uses SET(VOLUME(TX)=10) to achieve a very realistic sounding 1004 Hz test tone when someone calls his milliwatt line.



He also told me, he wasn't sure, but he thought that '3' was the normal volume for both TX and RX. I couldn't find any documentation to confirm or deny this. But I thought I would run a simple test:



[mf] ; This is "supposed" to increase the transmit volume (what the caller would hear), execute a subroutine, and then "reset" the channel volume back to normal
exten => start,1,SayAlpha(A)
same => n,SayAlpha(A)
same => n,SayAlpha(A)
same => n,SET(VOLUME(TX)=1)
same => n,GoSub(mfer,start,1(${ARG1}))
same => n,SayAlpha(A)
same => n,SayAlpha(A)
same => n,SET(VOLUME(TX)=0.4)
same => n,SayAlpha(A)
same => n,SayAlpha(A)
same => n,SET(VOLUME(TX)=3) ; return volume to original loudness ** is the original volume 3?
same => n,SayAlpha(A)
same => n,SayAlpha(A)
same => n,Return()


I simply listened to the "A" digits to see if they got louder or softer.



To my surprise, the only differences were the last 2 sounded louder! The first 6 all sounded the same!



This tells me the "normal" channel volume is not 3 - it must be 2 or 1, and is probably 1.



Also the 0.4 did not make the channel softer, so this leads me to believe 1 is the smallest possible value.



So, is it possible to make transmit or receive volume softer than the default in Asterisk? It seems decimals are not supported so I'm not sure where to head now.










share|improve this question



























    1















    I am playing around with changing the volume in Asterisk. There are a few applications where I would benefit from this. Most of them are to increase the volume but there are also some scenarios in which I was looking to decrease the volume below the default.



    I know someone uses SET(VOLUME(TX)=10) to achieve a very realistic sounding 1004 Hz test tone when someone calls his milliwatt line.



    He also told me, he wasn't sure, but he thought that '3' was the normal volume for both TX and RX. I couldn't find any documentation to confirm or deny this. But I thought I would run a simple test:



    [mf] ; This is "supposed" to increase the transmit volume (what the caller would hear), execute a subroutine, and then "reset" the channel volume back to normal
    exten => start,1,SayAlpha(A)
    same => n,SayAlpha(A)
    same => n,SayAlpha(A)
    same => n,SET(VOLUME(TX)=1)
    same => n,GoSub(mfer,start,1(${ARG1}))
    same => n,SayAlpha(A)
    same => n,SayAlpha(A)
    same => n,SET(VOLUME(TX)=0.4)
    same => n,SayAlpha(A)
    same => n,SayAlpha(A)
    same => n,SET(VOLUME(TX)=3) ; return volume to original loudness ** is the original volume 3?
    same => n,SayAlpha(A)
    same => n,SayAlpha(A)
    same => n,Return()


    I simply listened to the "A" digits to see if they got louder or softer.



    To my surprise, the only differences were the last 2 sounded louder! The first 6 all sounded the same!



    This tells me the "normal" channel volume is not 3 - it must be 2 or 1, and is probably 1.



    Also the 0.4 did not make the channel softer, so this leads me to believe 1 is the smallest possible value.



    So, is it possible to make transmit or receive volume softer than the default in Asterisk? It seems decimals are not supported so I'm not sure where to head now.










    share|improve this question

























      1












      1








      1








      I am playing around with changing the volume in Asterisk. There are a few applications where I would benefit from this. Most of them are to increase the volume but there are also some scenarios in which I was looking to decrease the volume below the default.



      I know someone uses SET(VOLUME(TX)=10) to achieve a very realistic sounding 1004 Hz test tone when someone calls his milliwatt line.



      He also told me, he wasn't sure, but he thought that '3' was the normal volume for both TX and RX. I couldn't find any documentation to confirm or deny this. But I thought I would run a simple test:



      [mf] ; This is "supposed" to increase the transmit volume (what the caller would hear), execute a subroutine, and then "reset" the channel volume back to normal
      exten => start,1,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SET(VOLUME(TX)=1)
      same => n,GoSub(mfer,start,1(${ARG1}))
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SET(VOLUME(TX)=0.4)
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SET(VOLUME(TX)=3) ; return volume to original loudness ** is the original volume 3?
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,Return()


      I simply listened to the "A" digits to see if they got louder or softer.



      To my surprise, the only differences were the last 2 sounded louder! The first 6 all sounded the same!



      This tells me the "normal" channel volume is not 3 - it must be 2 or 1, and is probably 1.



      Also the 0.4 did not make the channel softer, so this leads me to believe 1 is the smallest possible value.



      So, is it possible to make transmit or receive volume softer than the default in Asterisk? It seems decimals are not supported so I'm not sure where to head now.










      share|improve this question














      I am playing around with changing the volume in Asterisk. There are a few applications where I would benefit from this. Most of them are to increase the volume but there are also some scenarios in which I was looking to decrease the volume below the default.



      I know someone uses SET(VOLUME(TX)=10) to achieve a very realistic sounding 1004 Hz test tone when someone calls his milliwatt line.



      He also told me, he wasn't sure, but he thought that '3' was the normal volume for both TX and RX. I couldn't find any documentation to confirm or deny this. But I thought I would run a simple test:



      [mf] ; This is "supposed" to increase the transmit volume (what the caller would hear), execute a subroutine, and then "reset" the channel volume back to normal
      exten => start,1,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SET(VOLUME(TX)=1)
      same => n,GoSub(mfer,start,1(${ARG1}))
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SET(VOLUME(TX)=0.4)
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,SET(VOLUME(TX)=3) ; return volume to original loudness ** is the original volume 3?
      same => n,SayAlpha(A)
      same => n,SayAlpha(A)
      same => n,Return()


      I simply listened to the "A" digits to see if they got louder or softer.



      To my surprise, the only differences were the last 2 sounded louder! The first 6 all sounded the same!



      This tells me the "normal" channel volume is not 3 - it must be 2 or 1, and is probably 1.



      Also the 0.4 did not make the channel softer, so this leads me to believe 1 is the smallest possible value.



      So, is it possible to make transmit or receive volume softer than the default in Asterisk? It seems decimals are not supported so I'm not sure where to head now.







      asterisk






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 26 '18 at 1:24









      InterLinkedInterLinked

      1,1331232




      1,1331232






















          1 Answer
          1






          active

          oldest

          votes


















          0














          VOLUME functions works just okay.



          Please ensure your endpoint(softphone or hardphone) have no function like "normilize sound level".






          share|improve this answer
























          • I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

            – InterLinked
            Jan 24 at 20:08











          • So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

            – arheops
            Jan 25 at 0:08











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378341%2fis-it-possible-to-decrease-the-transmit-receive-volume-in-asterisk-below-normal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          VOLUME functions works just okay.



          Please ensure your endpoint(softphone or hardphone) have no function like "normilize sound level".






          share|improve this answer
























          • I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

            – InterLinked
            Jan 24 at 20:08











          • So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

            – arheops
            Jan 25 at 0:08
















          0














          VOLUME functions works just okay.



          Please ensure your endpoint(softphone or hardphone) have no function like "normilize sound level".






          share|improve this answer
























          • I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

            – InterLinked
            Jan 24 at 20:08











          • So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

            – arheops
            Jan 25 at 0:08














          0












          0








          0







          VOLUME functions works just okay.



          Please ensure your endpoint(softphone or hardphone) have no function like "normilize sound level".






          share|improve this answer













          VOLUME functions works just okay.



          Please ensure your endpoint(softphone or hardphone) have no function like "normilize sound level".







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 23 at 19:28









          arheopsarheops

          6492717




          6492717













          • I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

            – InterLinked
            Jan 24 at 20:08











          • So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

            – arheops
            Jan 25 at 0:08



















          • I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

            – InterLinked
            Jan 24 at 20:08











          • So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

            – arheops
            Jan 25 at 0:08

















          I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

          – InterLinked
          Jan 24 at 20:08





          I have just standard telephones connected to an ATA. No such settings, obviously, are available. I also tested this out with others who confirmed my findings.

          – InterLinked
          Jan 24 at 20:08













          So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

          – arheops
          Jan 25 at 0:08





          So your ATA in this case called "endpoint". I have tested Volume in real project and it worked. You can ensure by record conversation and open it in media player.

          – arheops
          Jan 25 at 0:08


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1378341%2fis-it-possible-to-decrease-the-transmit-receive-volume-in-asterisk-below-normal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?