diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-08 03:03:56 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-08 03:03:56 +0000 |
commit | f1bff4dd80ab32588cd9bfe33c46108b5601631c (patch) | |
tree | 2033b66256e56390cb4198ffda81592e0e9546e9 /channels | |
parent | 4c1041583f4b74f5cc24d14cbe2ad2a61ef34364 (diff) |
Fix retransmission on BYE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@773 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4875200e2..9cd004bc9 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -362,7 +362,7 @@ static int retrans_pkt(void *data) struct sip_pkt *pkt=data; int res = 0; ast_pthread_mutex_lock(&pkt->owner->lock); - if (!pkt->owner->needdestroy) { + if (1 /* !p->owner->needdestroy */) { if (pkt->retrans < MAX_RETRANS) { pkt->retrans++; if (sipdebug) { @@ -738,6 +738,8 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner) { struct sip_pvt *cur, *prev = NULL; struct sip_pkt *cp; + if (sipdebug) + ast_log(LOG_DEBUG, "Destorying call '%s'\n", p->callid); if (p->stateid > -1) ast_extension_state_del(p->stateid, NULL); if (p->initid > -1) |