]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 14 May 2008 15:48:51 +0000 (15:48 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 14 May 2008 15:48:51 +0000 (15:48 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@475 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/.update
libs/freetdm/src/zap_analog.c

index dd1ee6e7b52aa226c0210c5c3cf19193efbea904..aee0582972f653462937055c38247421b2efe883 100644 (file)
@@ -1 +1 @@
-Fri May  9 10:23:02 EDT 2008
+Wed May 14 11:20:37 EDT 2008
index 2b053cff9b98e9d114fe262651f4d03296d5d64d..64836c7436a100fe5862ab728db93b109cfb4196 100644 (file)
@@ -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);