Don't autodestruct on semi-ack. We'll add it as we need it case-by-case.
authorMark Spencer <markster@digium.com>
Thu, 6 May 2004 14:41:03 +0000 (14:41 +0000)
committerMark Spencer <markster@digium.com>
Thu, 6 May 2004 14:41:03 +0000 (14:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2903 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 54be3f6..edaf09b 100755 (executable)
@@ -656,8 +656,6 @@ static int __sip_semi_ack(struct sip_pvt *p, int seqno, int resp)
                        if (cur->retransid > -1)
                                ast_sched_del(sched, cur->retransid);
                        cur->retransid = -1;
-                       /* Schedule destruction in 15000ms just in case */
-                       sip_scheddestroy(p, 15000);
                        res = 0;
                        break;
                }