diff -ru -x 'config.*' -x 'menuselect*' asterisk-1.8.20.1-std/channels/chan_sip.c asterisk-1.8.20.1-vp8/channels/chan_sip.c
--- asterisk-1.8.20.1-std/channels/chan_sip.c	2013-01-10 00:30:25.000000000 +0400
+++ asterisk-1.8.20.1-vp8/channels/chan_sip.c	2013-03-12 22:39:34.000000000 +0400
@@ -10090,7 +10090,7 @@
 		/* We have a rtpmap to handle */
 		if (*last_rtpmap_codec < SDP_MAX_RTPMAP_CODECS) {
 			/* Note: should really look at the '#chans' params too */
-			if (!strncasecmp(mimeSubtype, "H26", 3) || !strncasecmp(mimeSubtype, "MP4", 3)) {
+			if (!strncasecmp(mimeSubtype, "H26", 3) || !strncasecmp(mimeSubtype, "MP4", 3) || !strncasecmp(mimeSubtype, "VP8", 3)) {
 				if (!(ast_rtp_codecs_payloads_set_rtpmap_type_rate(newvideortp, NULL, codec, "video", mimeSubtype, 0, sample_rate))) {
 					if (debug)
 						ast_verbose("Found video description format %s for ID %d\n", mimeSubtype, codec);
diff -ru -x 'config.*' -x 'menuselect*' asterisk-1.8.20.1-std/channels/console_video.c asterisk-1.8.20.1-vp8/channels/console_video.c
--- asterisk-1.8.20.1-std/channels/console_video.c	2012-06-15 19:56:08.000000000 +0400
+++ asterisk-1.8.20.1-vp8/channels/console_video.c	2013-03-12 22:48:29.000000000 +0400
@@ -153,7 +153,8 @@
 /*! The list of video formats we support. */
 int console_video_formats = 
 	AST_FORMAT_H263_PLUS | AST_FORMAT_H263 |
-	AST_FORMAT_MP4_VIDEO | AST_FORMAT_H264 | AST_FORMAT_H261 ;
+	AST_FORMAT_MP4_VIDEO | AST_FORMAT_H264 | AST_FORMAT_H261 |
+	AST_FORMAT_VP8 ;
 
 
 
diff -ru -x 'config.*' -x 'menuselect*' asterisk-1.8.20.1-std/channels/sip/include/sip.h asterisk-1.8.20.1-vp8/channels/sip/include/sip.h
--- asterisk-1.8.20.1-std/channels/sip/include/sip.h	2013-01-10 00:30:25.000000000 +0400
+++ asterisk-1.8.20.1-vp8/channels/sip/include/sip.h	2013-03-12 22:47:20.000000000 +0400
@@ -221,7 +221,7 @@
 #define DEFAULT_SDPSESSION "Asterisk PBX"  /*!< Default SDP session name, (s=) header unless re-defined in sip.conf */
 #define DEFAULT_SDPOWNER   "root"          /*!< Default SDP username field in (o=) header unless re-defined in sip.conf */
 #define DEFAULT_ENGINE     "asterisk"      /*!< Default RTP engine to use for sessions */
-#define DEFAULT_CAPABILITY (AST_FORMAT_ULAW | AST_FORMAT_TESTLAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263);
+#define DEFAULT_CAPABILITY (AST_FORMAT_ULAW | AST_FORMAT_TESTLAW | AST_FORMAT_ALAW | AST_FORMAT_GSM | AST_FORMAT_H263 | AST_FORMAT_VP8);
 #define DEFAULT_STORE_SIP_CAUSE FALSE      /*!< Don't store HASH(SIP_CAUSE,<channel name>) for channels by default */
 #endif
 /*@}*/
diff -ru -x 'config.*' -x 'menuselect*' asterisk-1.8.20.1-std/include/asterisk/frame.h asterisk-1.8.20.1-vp8/include/asterisk/frame.h
--- asterisk-1.8.20.1-std/include/asterisk/frame.h	2011-12-22 22:38:46.000000000 +0400
+++ asterisk-1.8.20.1-vp8/include/asterisk/frame.h	2013-03-12 22:53:38.000000000 +0400
@@ -287,6 +287,8 @@
 #define AST_FORMAT_H264       (1ULL << 21)
 /*! MPEG4 Video */
 #define AST_FORMAT_MP4_VIDEO  (1ULL << 22)
+/*! VP8 Video */
+#define AST_FORMAT_VP8        (1ULL << 23)
 #define AST_FORMAT_VIDEO_MASK ((((1ULL << 25)-1) & ~(AST_FORMAT_AUDIO_MASK)) | 0x7FFF000000000000ULL)
 /*! T.140 RED Text format RFC 4103 */
 #define AST_FORMAT_T140RED    (1ULL << 26)
diff -ru -x 'config.*' -x 'menuselect*' asterisk-1.8.20.1-std/main/frame.c asterisk-1.8.20.1-vp8/main/frame.c
--- asterisk-1.8.20.1-std/main/frame.c	2012-07-24 20:53:39.000000000 +0400
+++ asterisk-1.8.20.1-vp8/main/frame.c	2013-03-12 22:57:56.000000000 +0400
@@ -120,6 +120,7 @@
 	{ AST_FORMAT_H263_PLUS, "h263p", 0, "H.263+ Video" },                                                  /*!< H.263plus passthrough support See format_h263.c */
 	{ AST_FORMAT_H264, "h264", 0, "H.264 Video" },                                                         /*!< Passthrough support, see format_h263.c */
 	{ AST_FORMAT_MP4_VIDEO, "mpeg4", 0, "MPEG4 Video" },                                                   /*!< Passthrough support for MPEG4 */
+	{ AST_FORMAT_VP8, "vp8", 0, "VP8 Video" },                                                             /*!< Passthrough support for VP8 */
 	{ AST_FORMAT_T140RED, "red", 1, "T.140 Realtime Text with redundancy"},                                /*!< Redundant T.140 Realtime Text */
 	{ AST_FORMAT_T140, "t140", 0, "Passthrough T.140 Realtime Text" },                                     /*!< Passthrough support for T.140 Realtime Text */
 	{ AST_FORMAT_SIREN7, "siren7", 16000, "ITU G.722.1 (Siren7, licensed from Polycom)", 80, 20, 80, 20, 20 },			/*!< Binary commercial distribution */
diff -ru -x 'config.*' -x 'menuselect*' asterisk-1.8.20.1-std/main/rtp_engine.c asterisk-1.8.20.1-vp8/main/rtp_engine.c
--- asterisk-1.8.20.1-std/main/rtp_engine.c	2012-11-07 21:01:13.000000000 +0400
+++ asterisk-1.8.20.1-vp8/main/rtp_engine.c	2013-03-12 23:12:45.000000000 +0400
@@ -126,6 +126,7 @@
 	{{1, AST_FORMAT_H263}, "video", "H263", 90000},
 	{{1, AST_FORMAT_H263_PLUS}, "video", "h263-1998", 90000},
 	{{1, AST_FORMAT_H264}, "video", "H264", 90000},
+	{{1, AST_FORMAT_VP8}, "video", "VP8", 90000},
 	{{1, AST_FORMAT_MP4_VIDEO}, "video", "MP4V-ES", 90000},
 	{{1, AST_FORMAT_T140RED}, "text", "RED", 1000},
 	{{1, AST_FORMAT_T140}, "text", "T140", 1000},
@@ -169,6 +170,7 @@
 	[97] = {1, AST_FORMAT_ILBC},
 	[98] = {1, AST_FORMAT_H263_PLUS},
 	[99] = {1, AST_FORMAT_H264},
+	[100] = {1, AST_FORMAT_VP8},
 	[101] = {0, AST_RTP_DTMF},
 	[102] = {1, AST_FORMAT_SIREN7},
 	[103] = {1, AST_FORMAT_H263_PLUS},
