Upon further investigation I found that this only happens when the client sends out Speex only. For example:<br>Client sends:<br><br>a=fmtp:101 0-15<br>a=rtpmap:97 speex/8000<br>a=rtpmap:101 telephone-event/8000<br>a=sendrecv
<br><br>Server replies:<br><br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:97 iLBC/8000<br>a=rtpmap:97 speex/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br><br>Can anyone else confirm this? Just leave speex as the only enabled codec in your client (I use Eyebeam) and try an echo test or anything to Asterisk.
<br><br><br><div><span class="gmail_quote">On 12/21/05, <b class="gmail_sendername">Adrian A</b> <<a href="mailto:adrianvoip@gmail.com">adrianvoip@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have the following in sip.conf:<br><br>disallow=all ; First disallow all codecs<br>allow=ulaw ; Allow codecs in order of preference<br>allow=alaw<br>allow=gsm<br>allow=ilbc<br>allow=speex
<br><br><br>All SIP messages that come out of Asterisk have the following in the SDP:<br><br>m=audio 19092 RTP/AVP 0 8 3 97 97 101<br>a=rtpmap:0 PCMU/8000<br>a=rtpmap:8 PCMA/8000<br>a=rtpmap:3 GSM/8000<br>a=rtpmap:97 iLBC/8000
<br>a=rtpmap:97 speex/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br><br><br>Does anyone have any idea why speex and iLBC have the same rtpmap number??? This is an Asterisk 1.2.1 installation.<br>
</blockquote></div><br>