diff options
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3b0df05ca..ab183daaf 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8881,7 +8881,7 @@ static enum sip_result add_sdp(struct sip_request *resp, struct sip_pvt *p, int } /* Check if we need video in this call */ - if (add_audio && (capability & AST_FORMAT_VIDEO_MASK) && !p->novideo) { + if (add_audio && (p->jointcapability & AST_FORMAT_VIDEO_MASK) && !p->novideo) { if (p->vrtp) { needvideo = TRUE; ast_debug(2, "This call needs video offers!\n"); |