]> 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)
committerRobert Cripps <rcripps@voxbone.com>
Thu, 14 Jan 2021 06:57:38 +0000 (00:57 -0600)
commit24e678b9bb26f47b7308cc55e712884bdd19042d
treecd6609b72197aca6306756a6ba927118f0fc18a2
parentc5596678685267558e6fa33ed185e8d4b3ed0fe4
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