[asterisk-commits] oej: branch oej/codename-pineapple r46607 -
/team/oej/codename-pineapple/chan...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Oct 31 02:19:42 MST 2006
Author: oej
Date: Tue Oct 31 03:19:41 2006
New Revision: 46607
URL: http://svn.digium.com/view/asterisk?rev=46607&view=rev
Log:
Fail peer, fail
Modified:
team/oej/codename-pineapple/channels/chan_sip3.c
Modified: team/oej/codename-pineapple/channels/chan_sip3.c
URL: http://svn.digium.com/view/asterisk/team/oej/codename-pineapple/channels/chan_sip3.c?rev=46607&r1=46606&r2=46607&view=diff
==============================================================================
--- team/oej/codename-pineapple/channels/chan_sip3.c (original)
+++ team/oej/codename-pineapple/channels/chan_sip3.c Tue Oct 31 03:19:41 2006
@@ -3699,8 +3699,10 @@
build_contact(p);
peer = find_device(name, NULL, 1);
if (!(peer && ast_apply_ha(peer->ha, sin))) {
+ /* Peer fails ACL check */
if (peer)
ASTOBJ_UNREF(peer, sip_destroy_device);
+ peer = NULL;
}
if (peer) {
/* Set Frame packetization */
More information about the asterisk-commits
mailing list