mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 06:00:36 +00:00
It's possible for the iax2 pvt to disappear, so if it has... don't bother looking for dpentries.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7023,15 +7023,17 @@ retryowner2:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ast_mutex_lock(&dpcache_lock);
|
if (iaxs[fr->callno]) {
|
||||||
dp = iaxs[fr->callno]->dpentries;
|
ast_mutex_lock(&dpcache_lock);
|
||||||
while(dp) {
|
dp = iaxs[fr->callno]->dpentries;
|
||||||
if (!(dp->flags & CACHE_FLAG_TRANSMITTED)) {
|
while(dp) {
|
||||||
iax2_dprequest(dp, fr->callno);
|
if (!(dp->flags & CACHE_FLAG_TRANSMITTED)) {
|
||||||
|
iax2_dprequest(dp, fr->callno);
|
||||||
|
}
|
||||||
|
dp = dp->peer;
|
||||||
}
|
}
|
||||||
dp = dp->peer;
|
ast_mutex_unlock(&dpcache_lock);
|
||||||
}
|
}
|
||||||
ast_mutex_unlock(&dpcache_lock);
|
|
||||||
break;
|
break;
|
||||||
case IAX_COMMAND_POKE:
|
case IAX_COMMAND_POKE:
|
||||||
/* Send back a pong packet with the original timestamp */
|
/* Send back a pong packet with the original timestamp */
|
||||||
|
|||||||
Reference in New Issue
Block a user