]> git.ipfire.org Git - thirdparty/asterisk.git/commit
rtp: Don't negotiate dynamic codecs using payload.
authorJoshua Colp <jcolp@digium.com>
Tue, 5 Jun 2018 09:36:35 +0000 (09:36 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 12 Jun 2018 09:51:47 +0000 (03:51 -0600)
commit41175caee0196a3a0a8247e91d4a1ac0506297ff
tree9cd79904b2e6e42d350b3d6d742f5825b92d883e
parent200956dcc7e7113bb2d2b7355a759a2fd2897c52
rtp: Don't negotiate dynamic codecs using payload.

In Asterisk there are some dynamic codecs that have
a fixed payload number. This number was being improperly
used to negotiate the codec, instead of using the name
and sample rate. This could result in the wrong payload
number being negotiated for a codec.

This change makes it so that only static payloads
will be negotiated using their payload number.

ASTERISK-27848

Change-Id: Ia865830170fd3f808cdb33104f3d4c4ffdc77570
main/rtp_engine.c