Merged revisions 9246 via svnmerge from
[asterisk/asterisk.git] / channels / chan_iax2.c
index 61aaff7..21dfb34 100644 (file)
@@ -8131,6 +8131,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)) {