From: Mark Michelson Date: Fri, 26 Feb 2010 17:04:29 +0000 (+0000) Subject: For T.38 reINVITEs treat a 606 the same as a 488. X-Git-Tag: 1.4.30-rc3~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99e1a0f967acaf788b79cfd0c97beef1b17d8be3;p=thirdparty%2Fasterisk.git For T.38 reINVITEs treat a 606 the same as a 488. (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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e2db50d70c..618fdd7ca5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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;