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.
asterisk
add a comment |
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.
asterisk
add a comment |
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.
asterisk
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
asterisk
asked Nov 26 at 1:24
InterLinked
1,1161130
1,1161130
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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