<br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 4:34 PM, Malay Thakershi <span dir="ltr">&lt;<a href="mailto:mthakershi@gmail.com">mthakershi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>Ok.<br>
I am using managed esl to send originate.</p>
<p>I will put these params in sofia profiles.</p>
<p>You said I am offering all codecs at once. How do I restrict this? And what should be the codec offered in my case?</p></blockquote><div><br></div><div>Well, assuming that what the other end sent is useful, the other end only offered 3 codecs in the SDP coming back:</div>
<div><div>   m=audio 19624 RTP/AVP 0 3 18</div><div>   a=rtpmap:0 PCMU/8000</div><div>   a=rtpmap:3 GSM/8000</div><div>   a=rtpmap:18 G729/8000</div></div><div><br></div><div><br></div><div>I&#39;m assuming you don&#39;t want the calls to sound horrible, so don&#39;t use GSM. If you didn&#39;t pay for the G729 commercial licenses then don&#39;t use G729. That leaves good ol&#39; PCMU. You can add this to the beginning of your originate dialstring:</div>
<div>{absolute_codec_string=PCMU}</div><div><br></div><div>See if that helps...</div><div><br></div><div>-MC</div><div><br></div></div>