]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
For T.38 reINVITEs treat a 606 the same as a 488.
authorMark Michelson <mmichelson@digium.com>
Fri, 26 Feb 2010 17:04:29 +0000 (17:04 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 26 Feb 2010 17:04:29 +0000 (17:04 +0000)
(closes issue #16792)
Reported by: vrban
Patches:
      t38_606.patch uploaded by vrban (license 756)

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

channels/chan_sip.c

index e2db50d70c645dc63424a8ab823ac811e9d38c3e..618fdd7ca513622fbae33aa0be017dd24326990d 100644 (file)
@@ -13092,6 +13092,7 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
                }
                break;
        case 488: /* Not acceptable here */
+       case 606: /* Not Acceptable */
                xmitres = transmit_request(p, SIP_ACK, seqno, XMIT_UNRELIABLE, FALSE);
                if (reinvite && p->udptl) {
                        /* If this is a T.38 call, we should go back to 
@@ -13646,6 +13647,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
                                handle_response_invite(p, resp, rest, req, seqno);
                        break;
                case 488: /* Not acceptable here - codec error */
+               case 606: /* Not Acceptable */
                        if (sipmethod == SIP_INVITE)
                                handle_response_invite(p, resp, rest, req, seqno);
                        break;