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
This commit is contained in:
Matthew Jordan
2013-07-21 02:30:58 +00:00
parent 75e83bdbab
commit e502d0095b

View File

@@ -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];