<html>
<body>
Hello,<br>
I have been having this problem for several releases of Asterisk.&nbsp;
Whenever, I use iLBC or Speex codecs to make a SIP call, I get &quot;No
compatible codecs!&quot; error, even though I am not disallowing anything
in my sip.conf.&nbsp; One way I made it work is to hard-code these codecs
in <br>
<pre>global_capability variable in </pre>chan-sip.c that seems to have
fixed the problem.&nbsp; But I know it was working without hard-coding in
the earlier versions (from Oct last year).&nbsp; Can anyone shed some
light on this?&nbsp; I am currently running Asterisk 1.0.7 stable
release.<br><br>
Below is sip debug output and relevant portion of sip.conf.<br><br>
Thanks,<br>
Gouri.<br>
&nbsp;<br><br>
<br>
<tt>2 headers, 11 lines<br>
Using latest request as basis request<br>
Sending to 129.46.73.46 : 5060 (non-NAT)<br>
Found user 'gourij'<br>
Found RTP audio format 97<br>
Found RTP audio format 110<br>
Found RTP audio format 101<br>
Peer audio RTP is at port 129.46.73.46:8000<br>
Found description format iLBC<br>
Found description format speex<br>
Found description format telephone-event<br>
Capabilities: us - 0x8000e (gsm|ulaw|alaw|h263), peer - audio=0x600
(speex|ilbc)/video=0x0 (nothing), combined - 0x0 (nothing)<br>
Non-codec capabilities: us - 0x1 (g723), peer - 0x1 (g723), combined -
0x1 (g723)<br>
Mar 23 09:40:25 NOTICE[20099]: chan_sip.c:2773 process_sdp: No compatible
codecs!<br><br>
</tt>-----------------------------------------------------<br>
sip.conf:<br><br>
<tt>[gourij]<br>
type=friend<br>
regexten=1201&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
username=gourij<br>
secret=gourij<br>
host=dynamic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
nat=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
canreinvite=yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
mailbox=1201<br>
context=from-sip </body>
</html>