From: David Yat Sin Date: Tue, 29 Jun 2010 19:32:22 +0000 (-0400) Subject: Freetdm: Fix for boost spans not started if using a combination of analog spans and... X-Git-Tag: v1.2-rc1~565^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb6da2c9fc5ca96ea91ab2b463670de0306333a7;p=thirdparty%2Ffreeswitch.git Freetdm: Fix for boost spans not started if using a combination of analog spans and boost spans --- 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) {