aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 16:14:42 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 16:14:42 +0000
commit68a300e46a1fcb36ebd7028039a874762c5f856a (patch)
treeb7ab21f75a6f513d52efc9ce9b35ad0855b4abec
parentdebeed31b40eb94cf0a4c5ca9e5fcff4a2347829 (diff)
Do not reject SDP packets describing only non audio streams.
(closes issue #16387) Reported by: zalex1953 Patches: media-level-c-fix1.diff uploaded by mnicholson (license 96) Tested by: mnicholson, zalex1953 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@233394 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0a5833646..5d7759440 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8703,7 +8703,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
/* Sanity checks */
- if (!hp) {
+ if (!hp && !vhp && !thp && !ihp) {
ast_log(LOG_WARNING, "Insufficient information in SDP (c=)...\n");
return -1;
}