From 12a966cb0eebe8373f998f8c580086577c35047e Mon Sep 17 00:00:00 2001
From: Olle Johansson <oej@edvina.net>
Date: Fri, 27 Oct 2006 17:45:43 +0000
Subject: [PATCH] Put this patch on hold pending further testing...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_sip.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 44a8da3b55..1486d1d646 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5569,6 +5569,7 @@ static int reqprep(struct sip_request *req, struct sip_pvt *p, int sipmethod, in
 			ast_log(LOG_DEBUG, "Strict routing enforced for session %s\n", p->callid);
 	}
 	
+#ifdef SKREP
 	/* Let's try to figure out the direction of this transaction within the dialog */
 	/* If we're sending an ACK, we DID send the INVITE - which means outbound.
 	   INVITE's are outbound transactions, always 
@@ -5576,6 +5577,7 @@ static int reqprep(struct sip_request *req, struct sip_pvt *p, int sipmethod, in
 	if (sipmethod == SIP_ACK || sipmethod == SIP_INVITE)
 		is_outbound = TRUE;
 	/* In other case's, let's follow the flow of the dialog */
+#endif
 
 	if (sipmethod == SIP_CANCEL)
 		c = p->initreq.rlPart2;	/* Use original URI */
-- 
GitLab