Issue #9304 - Update help text to match functionality. Patch by kshumard with changes...
authorOlle Johansson <oej@edvina.net>
Wed, 16 May 2007 07:58:43 +0000 (07:58 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 16 May 2007 07:58:43 +0000 (07:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64498 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 98d816e..724f02d 100644 (file)
@@ -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[] =