diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3c42f775ef7bd781fb4b998f9474aa8d32cc7fc4..e44679f9ef853689e7b23d9bc3a522dda4e5ce63 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2819,8 +2819,6 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner) ast_log(LOG_WARNING, "Trying to destroy \"%s\", not found in dialog list?!?! \n", p->callid); return; } - if (p->initid > -1) - ast_sched_del(sched, p->initid); /* remove all current packets in this dialog */ while((cp = p->packets)) {