[Asterisk-cvs] asterisk/include/asterisk rtp.h, 1.15, 1.16 frame.h, 1.34, 1.35

markster at lists.digium.com markster at lists.digium.com
Wed Aug 25 23:56:40 CDT 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv15880/include/asterisk

Modified Files:
	rtp.h frame.h 
Log Message:
Repair offer/answer model (bug #2293), initial CNG work for new frametype


Index: rtp.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/rtp.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- rtp.h	8 Jul 2004 11:46:15 -0000	1.15
+++ rtp.h	26 Aug 2004 04:56:26 -0000	1.16
@@ -89,6 +89,7 @@
 // Mapping between RTP payload format codes and Asterisk codes:
 struct rtpPayloadType ast_rtp_lookup_pt(struct ast_rtp* rtp, int pt);
 int ast_rtp_lookup_code(struct ast_rtp* rtp, int isAstFormat, int code);
+void ast_rtp_offered_from_local(struct ast_rtp* rtp, int local);
 
 void ast_rtp_get_current_formats(struct ast_rtp* rtp,
 			     int* astFormats, int* nonAstFormats);

Index: frame.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/frame.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- frame.h	14 Jun 2004 21:18:52 -0000	1.34
+++ frame.h	26 Aug 2004 04:56:26 -0000	1.35
@@ -118,7 +118,7 @@
 #define AST_FRAME_CONTROL	4
 /*! An empty, useless frame */
 #define AST_FRAME_NULL		5
-/*! Inter Aterisk Exchange private frame type */
+/*! Inter Asterisk Exchange private frame type */
 #define AST_FRAME_IAX		6
 /*! Text messages */
 #define AST_FRAME_TEXT		7
@@ -126,6 +126,9 @@
 #define AST_FRAME_IMAGE		8
 /*! HTML Frame */
 #define AST_FRAME_HTML		9
+/*! Comfort Noise frame (subclass is level of CNG in -dBov), 
+    body may include zero or more 8-bit quantization coefficients */
+#define AST_FRAME_CNG		10
 
 /* HTML subclasses */
 /*! Sending a URL */




More information about the svn-commits mailing list