Understood your point about G722. But if my list has GSM at higher priority over PCMU/PCMA and far-end SDP supports GSM then why isn&#39;t the call using GSM?<div><br></div><div>I don&#39;t know where G726 comparisons are coming from. If I haven&#39;t mentioned it in vars.xml and far-end SDP doesn&#39;t support it then why would it even consider that codec?</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Malay</div><div><br><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 12:53 PM, Paul Cupis <span dir="ltr">&lt;<a href="mailto:paul@cupis.co.uk">paul@cupis.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 11/04/12 00:12, Malay Thakershi wrote:<br>
&gt; Thanks for information.<br>
&gt;<br>
&gt; But I am not able to use any other codec than PCMU/PCMA for some reason.<br>
&gt; I read related settings and what they mean.<br>
&gt;<br>
&gt; I am using Vitelity for now and they say they do support G722/GSM/G729<br>
&gt; on their end.<br>
<br>
</div>The far-end SDP says it supports PCMU/PCMA/GSM/G729 only, no G722.<br>
<div class="im"><br>
&gt; In vars.xml, I have<br>
&gt; &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G722,GSM,PCMU,PCMA&quot;/&gt;<br>
&gt; &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=G722,GSM,PCMU,PCMA&quot;/&gt;<br>
<br>
</div>The only matching codecs are PCMA/PCMU/GSM from what you&#39;ve shown us.<br>
You have some G726 comparisons in your log as well, but you&#39;ve not<br>
mentioned G726 at all.<br>
<div class="im HOEnZb"><br>
&gt; 2012-04-10 18:00:17.430961 [DEBUG] sofia.c:5572 Remote SDP:<br>
&gt; v=0<br>
&gt; o=root 15681 15681 IN IP4 IP2<br>
&gt; s=session<br>
&gt; c=IN IP4 IP2<br>
&gt; t=0 0<br>
&gt; m=audio 12860 RTP/AVP 0 8 3 18 101<br>
&gt; a=rtpmap:0 PCMU/8000<br>
&gt; a=rtpmap:8 PCMA/8000<br>
&gt; a=rtpmap:3 GSM/8000<br>
&gt; a=rtpmap:18 G729/8000<br>
&gt; a=fmtp:18 annexb=no<br>
&gt; a=rtpmap:101 telephone-event/8000<br>
&gt; a=fmtp:101 0-16<br>
&gt; a=silenceSupp:off - - - -<br>
&gt; a=ptime:20<br>
&gt;<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [G729:18:8000:20:8000]/[LPC:7:8000:90:2400]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [telephone-event:101:8000:20:0]/[LPC:7:8000:90:2400]<br>
</div><div class="im HOEnZb">&gt; Set 2833 dtmf send/recv payload to 101<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [PCMU:0:8000:20:64000]/[G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [PCMA:8:8000:20:64000]/[G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [GSM:3:8000:20:13200]/[G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [G729:18:8000:20:8000]/[G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [telephone-event:101:8000:20:0]/[G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Set 2833 dtmf send/recv payload to 101<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [PCMU:0:8000:20:64000]/[AAL2-G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [PCMA:8:8000:20:64000]/[AAL2-G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [GSM:3:8000:20:13200]/[AAL2-G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [G729:18:8000:20:8000]/[AAL2-G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [telephone-event:101:8000:20:0]/[AAL2-G726-16:124:8000:20:16000]<br>
</div><div class="im HOEnZb">&gt; Set 2833 dtmf send/recv payload to 101<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [PCMU:0:8000:20:64000]/[PCMA:8:8000:20:64000]<br>
</div><div class="im HOEnZb">&gt; Audio Codec Compare [PCMA:8:8000:20:64000]/[PCMA:8:8000:20:64000]<br>
</div><div class="im HOEnZb">&gt; Bah HUMBUG! Sticking with PCMA@8000h@20i<br>
<br>
</div><div class="HOEnZb"><div class="h5">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>