mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Suggested IAX and IAX2 bugfixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4841,6 +4841,7 @@ static struct iax_dpcache *find_cache(struct ast_channel *chan, char *data, char
|
||||
/* We found an entry that matches us! */
|
||||
if (!strcmp(dp->peercontext, data) && !strcmp(dp->exten, exten))
|
||||
break;
|
||||
prev = dp;
|
||||
dp = next;
|
||||
}
|
||||
if (!dp) {
|
||||
|
@@ -5224,6 +5224,7 @@ static struct iax2_dpcache *find_cache(struct ast_channel *chan, char *data, cha
|
||||
/* We found an entry that matches us! */
|
||||
if (!strcmp(dp->peercontext, data) && !strcmp(dp->exten, exten))
|
||||
break;
|
||||
perv = dp;
|
||||
dp = next;
|
||||
}
|
||||
if (!dp) {
|
||||
@@ -5495,6 +5496,7 @@ int load_module(void)
|
||||
|
||||
ast_pthread_mutex_init(&iaxq.lock);
|
||||
ast_pthread_mutex_init(&userl.lock);
|
||||
ast_pthread_mutex_init(&peerl.lock);
|
||||
|
||||
ast_cli_register(&cli_show_users);
|
||||
ast_cli_register(&cli_show_channels);
|
||||
|
Reference in New Issue
Block a user