aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-04 16:27:12 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-04 16:27:12 +0000
commit9e1f8841d1825eb256d6dcf51b7fcd9ce948da85 (patch)
tree8d02ef66c4569547ce58ef48a242965e06a19776 /apps
parente8641db25bf5f35576727d5900f20e967ea71ce9 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@60070 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_meetme.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 2082365e4..f22772572 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);