[asterisk-commits] russell: branch 1.4 r60565 - /branches/1.4/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Apr 6 12:50:53 MST 2007


Author: russell
Date: Fri Apr  6 14:50:52 2007
New Revision: 60565

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60565
Log:
When a station picks up a trunk that was on hold, make the hints reflect that
nobody has the trunk on hold anymore.

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=60565&r1=60564&r2=60565
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Fri Apr  6 14:50:52 2007
@@ -4182,6 +4182,7 @@
 		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);



More information about the asterisk-commits mailing list