summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2007-05-16 07:58:43 +0000
committerOlle Johansson <oej@edvina.net>2007-05-16 07:58:43 +0000
commit7532b0bc4b93543220978784c08ab4b152f64cbb (patch)
tree94c9f454f67911bac64b6a39a18458e037691de1
parent90bad9d2f5e563cb6f129b3a7571e2eb1df0c21e (diff)
Issue #9304 - Update help text to match functionality. Patch by kshumard with changes by oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_sip.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 98d816ef5..724f02d7d 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -12165,16 +12165,17 @@ static const char sip_unregister_usage[] =
" Unregister (force expiration) a SIP peer from the registry\n";
static const char debug_usage[] =
-"Usage: sip debug\n"
-" Enables dumping of SIP packets for debugging purposes\n\n"
-" sip debug ip <host[:PORT]>\n"
-" Enables dumping of SIP packets to and from host.\n\n"
-" sip debug peer <peername>\n"
-" Enables dumping of SIP packets to and from host.\n"
-" Require peer to be registered.\n";
+"Usage: sip set debug {on|ip <host[:PORT]>|peer <peername>}\n"
+" sip set debug on\n"
+" Enables dumping of all SIP messages for debugging purposes\n\n"
+" sip set debug ip <host[:PORT]>\n"
+" Enables dumping of SIP messages to and from host.\n\n"
+" sip set debug peer <peername>\n"
+" Enables dumping of SIP messages to and from peer's IP.\n"
+" Requires peer to be registered.\n";
static const char no_debug_usage[] =
-"Usage: sip debug off\n"
+"Usage: sip set debug off\n"
" Disables dumping of SIP packets for debugging purposes\n";
static const char no_history_usage[] =