]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 191560 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 1 May 2009 20:02:41 +0000 (20:02 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 1 May 2009 20:02:41 +0000 (20:02 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

................
  r191560 | tilghman | 2009-05-01 15:01:21 -0500 (Fri, 01 May 2009) | 13 lines

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

  ........
    r191559 | tilghman | 2009-05-01 15:00:23 -0500 (Fri, 01 May 2009) | 6 lines

    SIP Response 410 maps to cause code 22 (or 23), not 1.
    (closes issue #14993)
     Reported by: BigJimmy
     Patches:
           causepatch uploaded by BigJimmy (license 371)
  ........
................

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

channels/chan_sip.c

index 1227e8ed6d6c1e3028b72ea93bea69c3cd2033f7..c44cce6d03263410cb850b1bb97fba175f23ee9f 100644 (file)
@@ -4985,7 +4985,7 @@ static int hangup_sip2cause(int cause)
                case 409:       /* Conflict */
                        return AST_CAUSE_NORMAL_TEMPORARY_FAILURE;
                case 410:       /* Gone */
-                       return AST_CAUSE_UNALLOCATED;
+                       return AST_CAUSE_NUMBER_CHANGED;
                case 411:       /* Length required */
                        return AST_CAUSE_INTERWORKING;
                case 413:       /* Request entity too large */