<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.postbody1
{mso-style-name:postbody1;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'>I am using G726 to reduce the rtp steam. It
all works great for calls. Quality is good but when VM or a prompt is played
the sound is horrible. It seems the translation is not working correctly. </span></span><span
style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><br>
<br>
<span class=postbody1>If the call is G726 (caller) => Asterisk => G726
(callee) the voice is great. Sounds as good as G711. </span><br>
<br>
<span class=postbody1>If: </span><br>
<span class=postbody1>G711 (caller) => Asterisk = > G726 (callee) voice
is horrible. You cannot understand most words. Or </span><br>
<span class=postbody1>Asterisk (VM or prompt playback) => G726 it is also
bad.<o:p></o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'>The hardware is a Linksys spa2102 on the client
side and the SIP trunk provider is using Cicso software. They work perfectly
together and if Asterisk is not in the middle the call quality is what you
would expect.<o:p></o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'>We added the option g726nonstandard = yes
in the sip.conf file<o:p></o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'>This made the call to VM or any time
Asterisk was involved different but equally bad.<o:p></o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=postbody1><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'>After several hours I found that the source
file for 1.6.1 main/frame.c </span></span><span style='font-size:9.0pt;
font-family:"Verdana","sans-serif"'><br>
<span class=postbody1>had to be edited. The G726_AAL2 had to have the name g726
instead of g726aal2. Then the audio is crystal clear. </span><br>
<br>
<br>
<span class=postbody1>{ AST_FORMAT_G726_AAL2, "g726", 8000,
"G.726 AAL2", 40, 10, 300, 10, 30 }, /*!< codec_g726.c */ </span></span><o:p></o:p></p>
</div>
</body>
</html>