<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt"><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Eric Wieling" &lt;EWieling@nyigc.com&gt;<br />
<b>Sent</b>: Friday, July 22, 2011 10:46 AM<br />
<b>To</b>: "Asterisk Users Mailing List - Non-Commercial Discussion" &lt;asterisk-users@lists.digium.com&gt;<br />
<b>Subject</b>: Re: [asterisk-users] Question about codec re-negotiation in asterisk 1.4.X</span><br />
<br />
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family: &quot;calibri&quot;,&quot;sans-serif&quot;; color: #1f497d; font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-family: &quot;calibri&quot;,&quot;sans-serif&quot;; color: #1f497d; font-size: 11pt;">Asterisk does not support changing codecs on the fly.</span></p>
<p class="MsoNormal"><span style="font-family: &quot;calibri&quot;,&quot;sans-serif&quot;; color: #1f497d; font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="font-family: &quot;tahoma&quot;,&quot;sans-serif&quot;; font-size: 10pt;">From:</span></b><span style="font-family: &quot;tahoma&quot;,&quot;sans-serif&quot;; font-size: 10pt;"> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Matteo Campana<br />
<b>Sent:</b> Friday, July 22, 2011 10:39 AM<br />
<b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br />
<b>Subject:</b> [asterisk-users] Question about codec re-negotiation in asterisk 1.4.X</span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Hi all,</p>
<div>
<p class="MsoNormal">I have a major issue with a codec renegotiation in an asterisk 1.4.33.1 setup, which leads me to ask a general question about asterisk 1.4.X codec negotiation: asterisk can support a re-negotiation of a codec "on the fly" through a re-Invite? If my SIP&nbsp;provider sends me a re-invite changing codec from g729 to g711, asterisk properly handle the matter?</p>
</div>
<div>
<p class="MsoNormal">I see in the trace that asterisk responds 200 OK to the provider, but <span style="text-decoration: underline;">does not send the re-invite to the UAC, and stops to send rtp to the UAC</span>.</p>
<p class="MsoNormal"><span style="font-family: &quot;calibri&quot;,&quot;sans-serif&quot;; color: #1f497d; font-size: 11pt;">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-family: &quot;calibri&quot;,&quot;sans-serif&quot;; color: #1f497d; font-size: 11pt;">&nbsp;</span></p>
</div>
</div>
<br />
I know 1.8.x can do this but. I don't think 1.4.x had the option. Check it out.<br />
<span lang="EN">
<p>exten =&gt; Process,1,Set(SIP_CODEC=ulaw)</p>
</span>
<div id="divSignature">Thanks<br />
<br />
Bryant&nbsp;Zimmerman (ZK Tech Inc.)<br />
616-855-1030 Ext. 2003</div>
<br />
<br />
<br /></span>