From 4e0947c5f1f9c9583bff9f2be1b0c2810263e3e9 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 1 Aug 2007 15:39:54 +0000 Subject: Convert code that checks the _softhangup member of ast_channel directory to use the ast_check_hangup() funciton. This function takes scheduled hangups into account. (closes issue #10230, patch by Juggie) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77858 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_meetme.c') diff --git a/apps/app_meetme.c b/apps/app_meetme.c index e03304472..fcf45e82b 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -718,7 +718,7 @@ static void conf_play(struct ast_channel *chan, struct ast_conference *conf, enu int len; int res = -1; - if (!chan->_softhangup) + if (!ast_check_hangup(chan)) res = ast_autoservice_start(chan); AST_LIST_LOCK(&confs); -- cgit v1.2.3