aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-06 19:50:52 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-06 19:50:52 +0000
commitc48f3f06164d24d7cd588fbf02b47eecf14da2ca (patch)
tree68c18e837f0ac648cf035c9c53bf378e1200f528 /apps
parent38180ccdc4a304e955abf94e7e2c1bd5c1fe7845 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@60565 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 7bdea87fb..1a6471ee8 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);