projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dee355
)
Check an actual populated variable when seeing if we need to do video or not.
author
Joshua Colp
<jcolp@digium.com>
Thu, 13 Aug 2009 13:51:04 +0000
(13:51 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Thu, 13 Aug 2009 13:51:04 +0000
(13:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212067
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
e64b090
..
8a91c54
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-9976,7
+9976,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");