aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 16:11:16 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-07 16:11:16 +0000
commit4d43ba031a8e7265a53c8e9086239d4678128f7e (patch)
tree2b1b6f782210be41ca494aff137da44f2783b880
parent911cbf023234d8d0b35a917caff16170f29e0e21 (diff)
Allow SDP packets with only video session information.
(closes issue #16387) Reported by: zalex1953 Tested by: mnicholson, zalex1953 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@233392 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 2d2d899d7..098f6b6ad 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5570,7 +5570,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
}
/* Sanity checks */
- if (!hp) {
+ if (!hp && !vhp) {
ast_log(LOG_WARNING, "Insufficient information in SDP (c=)...\n");
return -1;
}