mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix retransmission on BYE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user