- If peer that register fails ACL, fail him

- Remove the 1.2 props I've set by mistake earlier 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Olle Johansson 19 years ago
parent 11cb7ce745
commit 97be2ac76f

@ -8150,8 +8150,10 @@ static enum check_auth_result register_verify(struct sip_pvt *p, struct sockaddr
build_contact(p);
peer = find_peer(name, NULL, 1);
if (!(peer && ast_apply_ha(peer->ha, sin))) {
/* Peer fails ACL check */
if (peer)
ASTOBJ_UNREF(peer, sip_destroy_peer);
peer = NULL;
}
if (peer) {
/* Set Frame packetization */

Loading…
Cancel
Save