--- chan_sip.c 2004-05-29 12:31:57.000000000 -0600 +++ chan_sip.fix.c 2004-05-29 12:31:25.000000000 -0600 @@ -4837,6 +4837,8 @@ ast_log(LOG_DEBUG, "Setting NAT on VRTP to %d\n", p->nat); ast_rtp_setnat(p->vrtp, p->nat); } + strcpy(p->peersecret, peer->secret); + strcpy(p->peermd5secret, peer->md5secret); if (peer->insecure > 1) { /* Pretend there is no required authentication if insecure is "very" */ strcpy(p->peersecret, "");