mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
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
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#define IAX_WINDOW 64
|
||||
|
||||
/*! Subclass for AST_FRAME_IAX */
|
||||
enum {
|
||||
enum iax_frame_subclass {
|
||||
IAX_COMMAND_NEW = 1,
|
||||
IAX_COMMAND_PING = 2,
|
||||
IAX_COMMAND_PONG = 3,
|
||||
@@ -104,20 +104,20 @@ enum {
|
||||
/*! Provision device */
|
||||
IAX_COMMAND_PROVISION = 35,
|
||||
/*! Download firmware */
|
||||
IAX_COMMAND_FWDOWNL = 36,
|
||||
IAX_COMMAND_FWDOWNL = 36,
|
||||
/*! Firmware Data */
|
||||
IAX_COMMAND_FWDATA = 37,
|
||||
/*! Transfer media only */
|
||||
IAX_COMMAND_TXMEDIA = 38,
|
||||
/*! Command to rotate key */
|
||||
IAX_COMMAND_RTKEY = 39,
|
||||
IAX_COMMAND_RTKEY = 39,
|
||||
};
|
||||
|
||||
/*! By default require re-registration once per minute */
|
||||
#define IAX_DEFAULT_REG_EXPIRE 60
|
||||
#define IAX_DEFAULT_REG_EXPIRE 60
|
||||
|
||||
/*! How long to wait before closing bridged call */
|
||||
#define IAX_LINGER_TIMEOUT 10
|
||||
#define IAX_LINGER_TIMEOUT 10
|
||||
|
||||
#define IAX_DEFAULT_PORTNO 4569
|
||||
|
||||
|
Reference in New Issue
Block a user