mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
Merged revisions 49568 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49568 | file | 2007-01-04 18:00:50 -0500 (Thu, 04 Jan 2007) | 2 lines 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/trunk@49573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -7122,11 +7122,13 @@ retryowner2:
|
||||
}
|
||||
}
|
||||
}
|
||||
AST_LIST_LOCK(&dpcache);
|
||||
AST_LIST_TRAVERSE(&iaxs[fr->callno]->dpentries, dp, peer_list)
|
||||
if (!(dp->flags & CACHE_FLAG_TRANSMITTED))
|
||||
iax2_dprequest(dp, fr->callno);
|
||||
AST_LIST_UNLOCK(&dpcache);
|
||||
if (iaxs[fr->callno]) {
|
||||
AST_LIST_LOCK(&dpcache);
|
||||
AST_LIST_TRAVERSE(&iaxs[fr->callno]->dpentries, dp, peer_list)
|
||||
if (!(dp->flags & CACHE_FLAG_TRANSMITTED))
|
||||
iax2_dprequest(dp, fr->callno);
|
||||
AST_LIST_UNLOCK(&dpcache);
|
||||
}
|
||||
break;
|
||||
case IAX_COMMAND_POKE:
|
||||
/* Send back a pong packet with the original timestamp */
|
||||
|
Reference in New Issue
Block a user