dect
/
asterisk
Archived
13
0
Fork 0

Put this patch on hold pending further testing...

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46365 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
oej 2006-10-27 17:45:43 +00:00
parent f2e15e77d0
commit 6cc54c38c8
1 changed files with 2 additions and 0 deletions

View File

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