Suggested IAX and IAX2 bugfixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent bbdb142d2e
commit a342626920

@ -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);

Loading…
Cancel
Save