summaryrefslogtreecommitdiff
path: root/channels/iax2-parser.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-02-28 06:06:42 +0000
committerMark Spencer <markster@digium.com>2005-02-28 06:06:42 +0000
commit34e8ed636d19f6b2dd18abd10cf9a75f8e01bf56 (patch)
treeefbbfc9bc474705fcb007ce58c67f66f6fcdf9df /channels/iax2-parser.c
parent21e6e48a263f3b8ce7d08bba93080079bdc394db (diff)
Fix queue URL passing (bug #3543)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2-parser.c')
-rwxr-xr-xchannels/iax2-parser.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c
index 6adc68445..edc15ec07 100755
--- a/channels/iax2-parser.c
+++ b/channels/iax2-parser.c
@@ -375,7 +375,9 @@ void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, s
"NULL ",
"IAX ",
"TEXT ",
- "IMAGE " };
+ "IMAGE ",
+ "HTML ",
+ "CNG " };
char *iaxs[] = {
"(0?)",
"NEW ",
@@ -447,7 +449,7 @@ void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, s
/* Don't mess with mini-frames */
return;
}
- if (fh->type > (int)sizeof(frames)/(int)sizeof(frames[0])) {
+ if (fh->type >= (int)sizeof(frames)/(int)sizeof(frames[0])) {
snprintf(class2, (int)sizeof(class2), "(%d?)", fh->type);
class = class2;
} else {