reload peercontext on iax2 reload (issue #6442)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Russell Bryant 20 years ago
parent d1757b3b49
commit a96ecb64a6

@ -8151,6 +8151,7 @@ static struct iax2_peer *build_peer(const char *name, struct ast_variable *v, in
peer->pokefreqok = DEFAULT_FREQ_OK;
peer->pokefreqnotok = DEFAULT_FREQ_NOTOK;
peer->context[0] = '\0';
peer->peercontext[0] = '\0';
while(v) {
if (!strcasecmp(v->name, "secret")) {
if (!ast_strlen_zero(peer->secret)) {

Loading…
Cancel
Save