<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: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=iso-8859-1">
<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Texto sin formato Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de globo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.TextosinformatoCar
        {mso-style-name:"Texto sin formato Car";
        mso-style-priority:99;
        mso-style-link:"Texto sin formato";
        font-family:Consolas;}
span.TextodegloboCar
        {mso-style-name:"Texto de globo Car";
        mso-style-priority:99;
        mso-style-link:"Texto de globo";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
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="ES" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoPlainText"><span lang="EN-US">On 02/27/2012 Kevin P. Fleming wrote:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">&gt;&nbsp;&nbsp;&nbsp;&nbsp; Asterisk 10 already supports signed linear at 32kHz sample rate.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">&gt;&nbsp;&nbsp;&nbsp;&nbsp; If you really want to support this in Asterisk 1.8, it can be done;<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">&gt;&nbsp;&nbsp;&nbsp;&nbsp; adding support for a 'passthrough' codec is not terribly difficult.
</span>Do a<o:p></o:p></p>
<p class="MsoPlainText"><span lang="EN-US">&gt;&nbsp;&nbsp;&nbsp;&nbsp; search through the Asterisk source tree for 'G719' (which is supported<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">&gt;&nbsp;&nbsp;&nbsp;&nbsp; in passthrough and record/playback modes in Asterisk 1.8) and you'll see<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">&gt;&nbsp;&nbsp;&nbsp;&nbsp; all the places that need to be touched.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Ok, I installed Asterisk 10 and as I needed to use conferences confBridge was definitely my tool. I configured the
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Confbridge.conf file: for the default bridge type I set &quot;internal_sample_rate=32000&quot; so that the sample-rate at the<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Conference would be 32kHz. However, when I started a conference call, there was no information about this in the
<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">INVITE message. Wouldn't asterisk have to offer a dynamic payload type?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">I just can see this:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Description, name and address (m): audio 13800 RTP/AVP 3 0 8 101<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Type: audio<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Port:13822<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Protocol: RTP/AVP<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Format: GSM 06.10<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<span style="color:black">Media Format: ITU-T G.711 PCMU<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Format: ITU-T G.711 PCMA<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Format: DynamicRTP-Type-101<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media </span><span lang="EN-US" style="color:black">Attribute</span><span style="color:black"> (a): rtpmap:3 GSM/8000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Attribute (a): rtpmap:0 PCMU/8000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Attribute (a): rtpmap:8 PCMA/8000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang="EN-US" style="color:black">Media Attribute (a): rtpmap:101 telephone-event/8000<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Attribute (a): fmtp:101 0-16<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Media Attribute (a): ptime:20<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang="EN-US" style="color:black">Media Attribute (a): sendrecv<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">It doesn&#8217;t say anything about 32 kHz, so:<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Is there something missing? Must I add anything else at the configuration files?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Or the internal_sample_rate has nothing to do with the audio codec?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Then, how is the payload type/codec negotiation done?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Thanks a lot!<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black">Benat.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US" style="color:black"><o:p>&nbsp;</o:p></span></p>
</div>
<br>
<br>
__________ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 6455 (20110911) __________<br>
<br>
ESET NOD32 Antivirus ha comprobado este mensaje.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
</body>
</html>