[svn-commits] russell: branch 1.4 r60069 - /branches/1.4/apps/app_meetme.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Apr 4 09:26:24 MST 2007


Author: russell
Date: Wed Apr  4 11:26:23 2007
New Revision: 60069

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60069
Log:
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)

Modified:
    branches/1.4/apps/app_meetme.c

Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=60069&r1=60068&r2=60069
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Wed Apr  4 11:26:23 2007
@@ -4039,6 +4039,9 @@
 		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);



More information about the svn-commits mailing list