aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authortwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-13 17:37:53 +0000
committertwisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-13 17:37:53 +0000
commit13269cd3d84c9a4bfd369f65685daf84328615a3 (patch)
treea8add8fa8dd60cb5fd2036ab34897fcd5752b254 /apps
parente976eec3a1bceadff5a7b9fd94ce555f2dc1102c (diff)
Don't set the formats before we stop indications. (issue #6380)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9756 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 45a738fa2..f541758d8 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -949,6 +949,8 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
}
}
+ ast_indicate(chan, -1);
+
if (ast_set_write_format(chan, AST_FORMAT_SLINEAR) < 0) {
ast_log(LOG_WARNING, "Unable to set '%s' to write linear mode\n", chan->name);
goto outrun;
@@ -959,7 +961,6 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
goto outrun;
}
- ast_indicate(chan, -1);
retryzap = strcasecmp(chan->type, "Zap");
user->zapchannel = !retryzap;