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 */