--- ./asterisk.83741/channels/chan_sip.c 2007-09-25 17:29:57.000000000 +0900 +++ ./asterisk.new/channels/chan_sip.c 2007-09-25 17:33:12.000000000 +0900 @@ -629,7 +629,7 @@ static int global_matchexterniplocally; /*!< Match externip/externhost setting against localnet setting */ /*! \brief Codecs that we support by default: */ -static int global_capability = AST_FORMAT_ULAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263; +static int global_capability = AST_FORMAT_ULAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263 | AST_FORMAT_MP4_VIDEO; /* Object counters */ static int suserobjs = 0; /*!< Static users */ @@ -5856,7 +5856,7 @@ /* Note: should really look at the 'freq' and '#chans' params too */ /* Note: This should all be done in the context of the m= above */ - if (!strncasecmp(mimeSubtype, "H26",3)) { /* Video */ + if (!strncasecmp(mimeSubtype, "H26",3) || !strncasecmp(mimeSubtype, "MP4", 3)) { /* Video */ /* Not going to do anything here for the moment, but we will soon */ } else if (!strncasecmp(mimeSubtype, "T140",4)) { /* Text */ if (p->trtp) {