[asterisk-commits] rmudgett: branch 11 r398302 - in /branches/11: ./ channels/iax2-parser.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 4 17:53:59 CDT 2013


Author: rmudgett
Date: Wed Sep  4 17:53:58 2013
New Revision: 398302

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=398302
Log:
chan_iax2: Add missing control frame names to debug frame decode output.
........

Merged revisions 398301 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/11/   (props changed)
    branches/11/channels/iax2-parser.c

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/channels/iax2-parser.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/iax2-parser.c?view=diff&rev=398302&r1=398301&r2=398302
==============================================================================
--- branches/11/channels/iax2-parser.c (original)
+++ branches/11/channels/iax2-parser.c Wed Sep  4 17:53:58 2013
@@ -239,11 +239,12 @@
 	dump_prov_ies(output, maxlen, value, len);
 }
 
-static struct iax2_ie {
+struct iax2_ie {
 	int ie;
 	char *name;
 	void (*dump)(char *output, int maxlen, void *value, int len);
-} infoelts[] = {
+};
+static struct iax2_ie infoelts[] = {
 	{ IAX_IE_CALLED_NUMBER, "CALLED NUMBER", dump_string },
 	{ IAX_IE_CALLING_NUMBER, "CALLING NUMBER", dump_string },
 	{ IAX_IE_CALLING_ANI, "ANI", dump_string },
@@ -392,6 +393,7 @@
 	int found;
 	char interp[1024];
 	char tmp[1024];
+
 	if (len < 2)
 		return;
 	while(len > 2) {
@@ -604,6 +606,14 @@
 		"TXFER  ",
 		"CNLINE ",
 		"REDIR  ",
+		"T38PARM",
+		"CC     ",
+		"SRCCHG ",
+		"RDACT  ",
+		"AOC    ",
+		"ENDQ   ",
+		"INCOMPL",
+		"UPDTRTP",
 	};
 	struct ast_iax2_full_hdr *fh;
 	char retries[20];




More information about the asterisk-commits mailing list