From: Russell Bryant Date: Wed, 4 Apr 2007 16:27:12 +0000 (+0000) Subject: Merged revisions 60069 via svnmerge from X-Git-Tag: 1.6.0-beta1~3^2~2913 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e26370be58855161621951568b7629fa071663;p=thirdparty%2Fasterisk.git Merged revisions 60069 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60069 | russell | 2007-04-04 11:26:23 -0500 (Wed, 04 Apr 2007) | 4 lines Fix a problem where if a trunk was hung up while it was on hold, all of the hints would reflect the line still on hold, even though it should reflect that it is back to not in use. (issue #9459, reported by francesco_r, fixed by me) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60070 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 2082365e4b..f22772572a 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -4049,6 +4049,9 @@ static void *dial_trunk(void *data) conf = NULL; } + /* If the trunk is going away, it is definitely now IDLE. */ + sla_change_trunk_state(trunk_ref->trunk, SLA_TRUNK_STATE_IDLE, ALL_TRUNK_REFS, NULL); + trunk_ref->trunk->chan = NULL; ast_dial_join(dial);