aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 16:16:18 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 16:16:18 +0000
commit0d2d9f1b68b3f35ae9b077a839d708e0e90b8510 (patch)
tree7356c1edb99d6016e30e89bbb5c17339e6c3424a /channels/chan_sip.c
parent3e00f6b275b38c2ca31ced3d694ef483b0e6fe6c (diff)
Merged revisions 233394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r233394 | mnicholson | 2009-12-07 10:14:42 -0600 (Mon, 07 Dec 2009) | 8 lines 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/branches/1.6.2@233396 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-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 7283eba94..8bae5f760 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8357,7 +8357,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;
}