summaryrefslogtreecommitdiff
path: root/channels/iax2-parser.h
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2009-05-15 20:52:12 +0000
committerDavid Vossel <dvossel@digium.com>2009-05-15 20:52:12 +0000
commitd9ac4bfc6f7937fee333c170c14c54830efa0074 (patch)
tree7951b97d3e4af76dc3c88954d5eb35af98255363 /channels/iax2-parser.h
parent8b40aa0287e789e529e0ca8ed1eb56525931a7e0 (diff)
Merged revisions 194557,194685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r194557 | dvossel | 2009-05-14 17:59:43 -0500 (Thu, 14 May 2009) | 10 lines IAX2 "Ghost" Channels There is a bug tracker issue where people are reporting "Ghost" channels in their 'iax2 show channels' output. The confusion is caused by channels being listed as "(NONE)" with format "unknown". These are not channels of coarse. They are usually just pending registration or poke requests, but it is confusing output. To help make sense of this I have added two columns to 'iax2 show channels'. One shows the first message which started the transaction, and the second shows the last message sent by either side of the call. This helps diagnose why the entry exists and why it may not go away. (closes issue #14207) Reported by: clive18 Review: https://reviewboard.asterisk.org/r/246/ ........ r194685 | dvossel | 2009-05-15 10:40:37 -0500 (Fri, 15 May 2009) | 6 lines Update to previous IAX2 "Ghost" Channels patch. Fixed some comments made on reviewboard for the previous patch. (issue #14207) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@194833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2-parser.h')
-rw-r--r--channels/iax2-parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/iax2-parser.h b/channels/iax2-parser.h
index e75cd4209..9de873b35 100644
--- a/channels/iax2-parser.h
+++ b/channels/iax2-parser.h
@@ -150,6 +150,7 @@ void iax_set_output(void (*output)(const char *data));
/* Choose a different function for errors */
void iax_set_error(void (*output)(const char *data));
void iax_showframe(struct iax_frame *f, struct ast_iax2_full_hdr *fhi, int rx, struct sockaddr_in *sin, int datalen);
+void iax_frame_subclass2str(enum iax_frame_subclass subclass, char *str, size_t len);
const char *iax_ie2str(int ie);