[asterisk-commits] rmudgett: branch 1.8 r398301 - /branches/1.8/channels/iax2-parser.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 4 17:52:20 CDT 2013
Author: rmudgett
Date: Wed Sep 4 17:52:18 2013
New Revision: 398301
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=398301
Log:
chan_iax2: Add missing control frame names to debug frame decode output.
Modified:
branches/1.8/channels/iax2-parser.c
Modified: branches/1.8/channels/iax2-parser.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/iax2-parser.c?view=diff&rev=398301&r1=398300&r2=398301
==============================================================================
--- branches/1.8/channels/iax2-parser.c (original)
+++ branches/1.8/channels/iax2-parser.c Wed Sep 4 17:52:18 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