[Asterisk-Users] Re: Weird rtpmap issue

Adrian A adrianvoip at gmail.com
Thu Dec 22 13:13:16 MST 2005


Upon further investigation I found that this only happens when the client
sends out Speex only.  For example:
Client sends:

a=fmtp:101 0-15
a=rtpmap:97 speex/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

Server replies:

a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:97 speex/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

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.


On 12/21/05, Adrian A <adrianvoip at gmail.com> wrote:
>
> I have the following in sip.conf:
>
> disallow=all                    ; First disallow all codecs
> allow=ulaw                      ; Allow codecs in order of preference
> allow=alaw
> allow=gsm
> allow=ilbc
> allow=speex
>
>
> All SIP messages that come out of Asterisk have the following in the SDP:
>
> m=audio 19092 RTP/AVP 0 8 3 97 97 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:3 GSM/8000
> a=rtpmap:97 iLBC/8000
> a=rtpmap:97 speex/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
>
>
> Does anyone have any idea why speex and iLBC have the same rtpmap
> number???  This is an Asterisk 1.2.1 installation.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051222/16c886f1/attachment.htm


More information about the asterisk-users mailing list