]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 219324 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Thu, 17 Sep 2009 22:36:49 +0000 (22:36 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 17 Sep 2009 22:36:49 +0000 (22:36 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219324 | mmichelson | 2009-09-17 17:22:01 -0500 (Thu, 17 Sep 2009) | 12 lines

  Merged revisions 219320 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r219320 | mmichelson | 2009-09-17 17:20:50 -0500 (Thu, 17 Sep 2009) | 6 lines

    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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@219367 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 8ca8d590b2de50885cac71e0ae7f070f0025727f..9188c04fec0c3ca82ef03604a27883de82d6057b 100644 (file)
@@ -18307,6 +18307,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
                        char *at = strchr(uri, '@');
                        char *peerorhost;
                        ast_debug(2, "Potential spiral detected. Original RURI was %s, new RURI is %s\n", initial_rlPart2, this_rlPart2);
+                       transmit_response(p, "100 Trying", req);
                        if (at) {
                                *at = '\0';
                        }