From: Anthony Minessale Date: Fri, 18 May 2007 18:20:10 +0000 (+0000) Subject: update X-Git-Tag: v1.0.6~38^2~822 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f595e44975e9dbfd512b2ee4a778f1f239808291;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.openzap.org/svn/openzap/trunk@32 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/openzap/src/openzap.c b/libs/openzap/src/openzap.c index 1a8509080a..58f881f356 100644 --- a/libs/openzap/src/openzap.c +++ b/libs/openzap/src/openzap.c @@ -206,7 +206,7 @@ zap_status_t zap_channel_open_any(const char *name, unsigned span_id, zap_direct span_max = zint->span_index; } - if (direction == ZAP_BOTTOM_UP) { + if (direction == TOP_DOWN) { j = 1; } else { j = span_max;