]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_pjsip_session.c: Check that media type matches in
authorRobert Cripps <rcripps@voxbone.com>
Tue, 22 Dec 2020 10:42:35 +0000 (11:42 +0100)
committerJoshua Colp <jcolp@sangoma.com>
Mon, 18 Jan 2021 17:30:26 +0000 (11:30 -0600)
commit017e09b40a8f09001750172fa13afc5e40c42d5c
treed3460e2e9ae368e06cb04662c8b3a2e1056ad039
parentfb42b603261aa73cf68ea84e9f9478f588604547
res/res_pjsip_session.c: Check that media type matches in
function ast_sip_session_media_state_add.

Check ast_media_type matches when a ast_sip_session_media is found
otherwise when transitioning from say image to audio, the wrong
session is returned in the first if statement.

ASTERISK-29220 #close

Change-Id: I6f6efa9b821ebe8881bb4c8c957f8802ddcb4b5d
res/res_pjsip_session.c