From: Russell Bryant Date: Fri, 6 Apr 2007 19:50:52 +0000 (+0000) Subject: When a station picks up a trunk that was on hold, make the hints reflect that X-Git-Tag: 1.4.7.1~469 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=762ed2a7ada2444e9738316f770dceb4c0b6c53c;p=thirdparty%2Fasterisk.git When a station picks up a trunk that was on hold, make the hints reflect that nobody has the trunk on hold anymore. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60565 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 7bdea87fbd..1a6471ee88 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -4182,6 +4182,7 @@ static int sla_station_exec(struct ast_channel *chan, void *data) trunk_ref->trunk->on_hold) { trunk_ref->trunk->on_hold = 0; ast_indicate(trunk_ref->trunk->chan, AST_CONTROL_UNHOLD); + sla_change_trunk_state(trunk_ref->trunk, SLA_TRUNK_STATE_UP, ALL_TRUNK_REFS, NULL); } snprintf(conf_name, sizeof(conf_name), "SLA_%s", trunk_ref->trunk->name);