From: Matthew Jordan Date: Sun, 21 Jul 2013 02:30:58 +0000 (+0000) Subject: Add additional control frame types to the IAX2 parser for debug messages X-Git-Tag: 12.0.0-alpha1~324 X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=commitdiff_plain;h=e502d0095b6e1dcfe5b460561723636bd2e8f297;hp=75e83bdbab2a4dd26d56dd10755bf964fb995b4b 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 --- 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];