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











up vote
1
down vote

favorite












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


























    up vote
    1
    down vote

    favorite












    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
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      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 at 1:24









      InterLinked

      1,1161130




      1,1161130



























          active

          oldest

          votes











          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',
          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






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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

          Plaza Victoria

          Brian Clough

          Cáceres