Merged revisions 60565 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60565 | russell | 2007-04-06 14:50:52 -0500 (Fri, 06 Apr 2007) | 3 lines

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/trunk@60566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-04-06 19:52:12 +00:00
parent 5bc2aa8ab1
commit e3192c77f2

View File

@@ -4192,6 +4192,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);