diff --git a/libs/openzap/.update b/libs/openzap/.update index dd1ee6e7b5..aee0582972 100644 --- a/libs/openzap/.update +++ b/libs/openzap/.update @@ -1 +1 @@ -Fri May 9 10:23:02 EDT 2008 +Wed May 14 11:20:37 EDT 2008 diff --git a/libs/openzap/src/zap_analog.c b/libs/openzap/src/zap_analog.c index 2b053cff9b..64836c7436 100644 --- a/libs/openzap/src/zap_analog.c +++ b/libs/openzap/src/zap_analog.c @@ -336,7 +336,6 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj) break; case ZAP_CHANNEL_STATE_DOWN: { - zap_channel_done(zchan); goto done; } break; @@ -412,7 +411,6 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj) { sig.event_id = ZAP_SIGEVENT_STOP; analog_data->sig_cb(&sig); - zap_channel_done(zchan); goto done; } break; @@ -624,8 +622,6 @@ static void *zap_analog_channel_run(zap_thread_t *me, void *obj) done: - zap_channel_done(zchan); - if (zchan->type == ZAP_CHAN_TYPE_FXO && zap_test_flag(zchan, ZAP_CHANNEL_OFFHOOK)) { zap_channel_command(zchan, ZAP_COMMAND_ONHOOK, NULL);