tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@475 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
f43d618725
commit
7efa298023
|
@ -1 +1 @@
|
|||
Fri May 9 10:23:02 EDT 2008
|
||||
Wed May 14 11:20:37 EDT 2008
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue