aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-30 02:12:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-30 02:12:09 +0000
commitcd0067f95a3d30b8c59cf745e051810295fc96db (patch)
tree523cf56292aca0be31b6cbce502ff6608eab29a2 /channel.c
parent1369e0caffc94ce9dc3be97252868373c6b6a91b (diff)
Add SIP video fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 6fd536b7f..282a7967e 100755
--- a/channel.c
+++ b/channel.c
@@ -1721,6 +1721,8 @@ int ast_indicate(struct ast_channel *chan, int condition)
/* Do nothing.... */
} else if (condition == AST_CONTROL_UNHOLD) {
/* Do nothing.... */
+ } else if (condition == AST_CONTROL_VIDUPDATE) {
+ /* Do nothing.... */
} else {
/* not handled */
ast_log(LOG_WARNING, "Unable to handle indication %d for '%s'\n", condition, chan->name);
@@ -2966,7 +2968,8 @@ static enum ast_bridge_result ast_generic_bridge(int *playitagain, int *playit,
}
if ((f->frametype == AST_FRAME_CONTROL) && !(config->flags & AST_BRIDGE_IGNORE_SIGS)) {
- if ((f->subclass == AST_CONTROL_HOLD) || (f->subclass == AST_CONTROL_UNHOLD)) {
+ if ((f->subclass == AST_CONTROL_HOLD) || (f->subclass == AST_CONTROL_UNHOLD) ||
+ (f->subclass == AST_CONTROL_VIDUPDATE)) {
ast_indicate(who == c0 ? c1 : c0, f->subclass);
} else {
*fo = f;