From 13269cd3d84c9a4bfd369f65685daf84328615a3 Mon Sep 17 00:00:00 2001 From: twisted Date: Mon, 13 Feb 2006 17:37:53 +0000 Subject: 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 --- apps/app_meetme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps') 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; -- cgit v1.2.3