From e502d0095b6e1dcfe5b460561723636bd2e8f297 Mon Sep 17 00:00:00 2001 From: Matthew Jordan Date: Sun, 21 Jul 2013 02:30:58 +0000 Subject: [PATCH 1/1] Add additional control frame types to the IAX2 parser for debug messages This patch adds some of the more recent control frame types to the IAX2 parser. When IAX2 debugging is enabled, it will now show more of the control frame types. (closes issue ASTERISK-22120) Reported by: Birger "WIMPy" Harzenetter patches: iaxcmds.diff uploaded by wimpy git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394895 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/iax2/parser.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/channels/iax2/parser.c b/channels/iax2/parser.c index 878d701..5d1a8ca 100644 --- a/channels/iax2/parser.c +++ b/channels/iax2/parser.c @@ -604,6 +604,16 @@ void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, s "TXFER ", "CNLINE ", "REDIR ", + "T38PARM", + "CONTRCC", + "SRCCHG ", + "READACT", + "AOC ", + "ENDOFQ ", + "INCOMPL", + "MCID ", + "UPDRTPP", + "PCAUSEC", }; struct ast_iax2_full_hdr *fh; char retries[20]; -- 1.7.9.5