]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change 183 Ringing in sipfrag body to 180 ringing. 183 Ringing isn't even a thing.
authorJonathan Rose <jrose@digium.com>
Thu, 1 Dec 2011 20:36:34 +0000 (20:36 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 1 Dec 2011 20:36:34 +0000 (20:36 +0000)
183 is actually a session progress message.

(closes issue ASTERISK-18925)
Reported by: Sebastian Denz
Tested by: jrose
Patches:
asterisk18-use_180_instead_of_183_in_sipfrag.diff by Sebastian Denz (License #6139)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@346697 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index ccf99663397ff31aae397fbad88de6b3737d9baa..8d285873638e54b9446ee6254fc8b014251daa22 100644 (file)
@@ -23369,7 +23369,7 @@ static int handle_request_refer(struct sip_pvt *p, struct sip_request *req, int
 
        /* FAKE ringing if not attended transfer */
        if (!p->refer->attendedtransfer) {
-               transmit_notify_with_sipfrag(p, seqno, "183 Ringing", FALSE);
+               transmit_notify_with_sipfrag(p, seqno, "180 Ringing", FALSE);
        }
 
        /* For blind transfer, this will lead to a new call */