From eb6da2c9fc5ca96ea91ab2b463670de0306333a7 Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Tue, 29 Jun 2010 15:32:22 -0400 Subject: [PATCH] Freetdm: Fix for boost spans not started if using a combination of analog spans and boost spans --- libs/freetdm/mod_freetdm/mod_freetdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/freetdm/mod_freetdm/mod_freetdm.c b/libs/freetdm/mod_freetdm/mod_freetdm.c index 923c34363b..71afdbaeed 100755 --- a/libs/freetdm/mod_freetdm/mod_freetdm.c +++ b/libs/freetdm/mod_freetdm/mod_freetdm.c @@ -2996,7 +2996,7 @@ static switch_status_t load_config(void) /* start all boost spans now that we're done configuring. Unfortunately at this point boost modules have the limitation * of needing all spans to be configured before starting them */ - for ( ; i < boosti; i++) { + for (i=0 ; i < boosti; i++) { boost_span = boost_spans[i]; ftdm_log(FTDM_LOG_DEBUG, "Starting boost span %d\n", ftdm_span_get_id(boost_span)); if (ftdm_span_start(boost_span) == FTDM_FAIL) {