dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 71576 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71576 | file | 2007-06-25 10:13:45 -0400 (Mon, 25 Jun 2007) | 2 lines

Build a peer as well when hash323 is enabled in users.conf (issue #9599 reported by asagage)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71577 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2007-06-25 14:15:05 +00:00
parent 6116c57c53
commit dfd569c434
1 changed files with 5 additions and 0 deletions

View File

@ -2874,6 +2874,11 @@ static int reload_config(int is_reload)
ASTOBJ_CONTAINER_LINK(&userl, user);
ASTOBJ_UNREF(user, oh323_destroy_user);
}
peer = build_peer(cat, gen, ast_variable_browse(ucfg, cat), 0);
if (peer) {
ASTOBJ_CONTAINER_LINK(&peerl, peer);
ASTOBJ_UNREF(peer, oh323_destroy_peer);
}
}
}
}