update windows build.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@161 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris
2007-05-27 04:42:10 +00:00
parent 4d6372b31e
commit 0d228c71f4
9 changed files with 899 additions and 451 deletions

View File

@@ -88,7 +88,7 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj)
zap_size_t len, rlen;
zap_tone_type_t tt = ZAP_TONE_DTMF;
char dtmf[128];
int dtmf_offset = 0;
zap_size_t dtmf_offset = 0;
zap_analog_data_t *data = chan->span->analog_data;
zap_channel_t *closed_chan;
uint32_t state_counter = 0, elapsed = 0, interval = 0, last_digit = 0, indicate = 0;
@@ -97,6 +97,8 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj)
zap_log(ZAP_LOG_DEBUG, "ANALOG CHANNEL thread starting.\n");
ts.buffer = NULL;
if (zap_channel_open_chan(chan) != ZAP_SUCCESS) {
goto done;
}