From: Olle Johansson Date: Fri, 27 Oct 2006 17:45:43 +0000 (+0000) Subject: Put this patch on hold pending further testing... X-Git-Tag: 1.6.0-beta1~3^2~4252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12a966cb0eebe8373f998f8c580086577c35047e;p=thirdparty%2Fasterisk.git Put this patch on hold pending further testing... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46365 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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 */