All pastes #335844 Raw Edit

Something

public text v1 · immutable
·published 2007-02-01 17:18 UTC
rendered paste body
Index: channels/chan_sip.c
===================================================================
--- channels/chan_sip.c (revision 53063)
+++ channels/chan_sip.c (working copy)
@@ -7328,6 +7328,8 @@
                if (sipmethod == SIP_SUBSCRIBE)
                        /* For subscribes, match on peer name only */
                        peer = find_peer(of, NULL, 1);
+               else 
+                       peer = find_peer(of, NULL, 1);
                else
                        /* Look for peer based on the IP address we received data from */
                        /* If peer is registered from this IP address or have this as a default