aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-27 17:45:43 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-27 17:45:43 +0000
commit6cc54c38c8dda21268dfed64f0c5ece333f97474 (patch)
tree00c01b7bf620fae096b3cf43fc5e2fc434b4ef51
parentf2e15e77d06f3c0695bd247b7c9adf8d8418770d (diff)
Put this patch on hold pending further testing...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46365 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 44a8da3b5..1486d1d64 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 */