aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-13 13:54:42 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-13 13:54:42 +0000
commit4fbbc8dbe9448530ee307d03ecce5f2455f36771 (patch)
treeb215e13dc817b397e23cbd0b2e7ce7e9f1833122 /channels
parentb13b596e30c71a9a0a06043e685b08878f4c3485 (diff)
Merged revisions 212067 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r212067 | file | 2009-08-13 10:51:04 -0300 (Thu, 13 Aug 2009) | 2 lines Check an actual populated variable when seeing if we need to do video or not. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@212069 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 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");