<p>Remove all other codec</p>
<div class="gmail_quote">On Nov 15, 2011 8:17 PM, &quot;Jaap Winius&quot; &lt;<a href="mailto:jwinius@umrk.nl">jwinius@umrk.nl</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi folks,<br>
<br>
How can I take advantage of a high-bandwidth CODEC, like G.722, for internal communications at my site, but use G.711 (alaw/ulaw) for all other outgoing calls? I need G.711 to support Inband DTMF signaling.<br>
<br>
As my site has multiple locations that are tied together with IAX trunks, I was hoping that it would be possible to specify alaw and ulaw as the first two CODEC choices for the SIP phones, as well as in their sip.conf configurations, but that I could use the IAX trunks (with bandwidth=high) to force the phones to use their third CODEC choice, g722, because that would be the only CODEC specified for the IAX trunks (following disallow=all).<br>

<br>
Unfortunately, that doesn&#39;t work. Although the Asterisk console reports that g722 is being used, when I listen to the connection it&#39;s obvious that a G.711 CODEC is being used. Curiously, the reverse does work: if g722 is specified as the first CODEC of choice for the phones, it is possible to use the IAX trunks to force them to use alaw/ulaw instead.<br>

<br>
Is a solution to this problem?<br>
<br>
I&#39;m using Debian squeeze with Asterisk 1.6.2.9.<br>
<br>
Cheers,<br>
<br>
Jaap<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div>