<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>You are right, it works just fine!<div><br></div><div>Needless to say, I had tricked myself into thinking I was using Asterisk 13.5. There was a build error getting covered up by my install script. So I was still using the "old" Asterisk 13.4.0 that I had previously installed. Once I fixed that, everything worked nicely.</div><div><br></div><div>Typical PICNIC error: Problem In Chair, Not In Computer.</div><div><br></div><div>Thanks for the help!<br><br><div>> Date: Tue, 25 Aug 2015 15:00:09 -0300<br>> From: jcolp@digium.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Changing volume via dialplan<br>> <br>> Matthew Murphy wrote:<br>> > Greetings everyone,<br>> <br>> Kia ora,<br>> <br>> > I am attempting to adjust the volume of a call using *Set(VOLUME)* in my<br>> > extensions.conf file. I am finding that*Set(VOLUME(TX)=x)*and<br>> > *S**et(VOLUME(RX)=y)*have no discernable effect on my endpoints (Snom<br>> > 300 IP phones). I have tried setting x and y to -30, -10, -3, -2, -1, 0,<br>> > 1, 2, 3, 4, 10, and 100 and there appears to be no change on the phone<br>> > volume. I can see that the Set(VOLUME) instruction is being executed on<br>> > the Asterisk CLI.<br>> <br>> I just did the following on 13.5.0:<br>> <br>> exten => 1002,1,Answer<br>> exten => 1002,2,Set(VOLUME(tx)=10)<br>> exten => 1002,3,Playback(demo-congrats)<br>> <br>> From my D70 and confirmed the audio was ... louder/horrible.<br>> <br>> Do you have any other endpoints you could test from?<br>> <br>> ><br>> > I have also tried using *Set(CHANNEL(txgain)=x)* and<br>> > *Set(CHANNEL(rxgain)=y)* and those don't seem to have any effect either.<br>> > I have tried setting x and y to -30, -10, -3, -2, -1, 0, 1, 2, 3, 4, 10,<br>> > and 100 and there appears to be no change on the phone volume. I can see<br>> > that the Set(CHANNEL) instruction is being executed on the Asterisk CLI.<br>> <br>> These aren't applicable to PJSIP.<br>> <br>> ><br>> ><br>> > I am using *PJSIP *and just upgraded to *Asterisk 13.5.0*. It wasn't<br>> > working on 13.4.0 either, but when I saw the release notes on 13.5 and<br>> > volume was addressed, I was hopeful that it might solve my problem for me.<br>> ><br>> ><br>> > So I have a couple of questions:<br>> ><br>> ><br>> > 1) Am I using the correct functions in the dial plan to adjust volume?<br>> > It would be something like:<br>> ><br>> > same => n,Set(VOLUME(TX)=3)<br>> ><br>> > or<br>> ><br>> > same =>n,Set(CHANNEL(rxgain)=0)<br>> <br>> Yes, the VOLUME dialplan function should do the job.<br>> <br>> ><br>> > 2) If this is correct, what are the min/max values that I can use when<br>> > adjusting volume? I was digging around the source code and it looked<br>> > like maybe a min of -4 and max of +4 was expected - but I am unsure.<br>> <br>> There is no enforced minimum/maximum. The value provided is in dB.<br>> <br>> Cheers,<br>> <br>> -- <br>> Joshua Colp<br>> Digium, Inc. | Senior Software Developer<br>> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>> Check us out at: www.digium.com & www.asterisk.org<br>> <br>> -- <br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br></div></div> </div></body>
</html>