diff options
author | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-13 17:50:53 +0000 |
---|---|---|
committer | twisted <twisted@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-13 17:50:53 +0000 |
commit | c57df5a5da16aef69083ee85ef26a2e16c0eed64 (patch) | |
tree | 03018e8f0d6a5759a0a5831f9b7bbf4accbc0c78 /apps | |
parent | dd08051ba92b9e9af94645ae69a875030ade8446 (diff) |
Don't set the formats before we stop indications. (issue #6380)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9759 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_meetme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index ce233e3ca..d6dd2990f 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -985,6 +985,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; @@ -995,7 +997,6 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c goto outrun; } - ast_indicate(chan, -1); retryzap = strcasecmp(chan->tech->type, "Zap"); user->zapchannel = !retryzap; |