aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-17 22:20:50 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-17 22:20:50 +0000
commitdd47d40d47c5e5f5a9fa707352c948c4b5137105 (patch)
tree35e949e30b939d75a3e8ab7d2c7289c9261d749d /channels
parent915e4310bdc24328c2e8a5e4ded445f5b3e48758 (diff)
Send a 100 Trying response when we detect a spiral.
This was problematic during spiral tests at SIPit... along with some other things as well. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@219320 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 50d4d2a3e..9cc4cc283 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -14659,6 +14659,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
if (option_debug > 2) {
ast_log(LOG_DEBUG, "Potential spiral detected. Original RURI was %s, new RURI is %s\n", p->initreq.rlPart2, req->rlPart2);
}
+ transmit_response(p, "100 Trying", req);
if (at) {
*at = '\0';
}