[Asterisk-cvs] asterisk/channels chan_sip.c,1.738,1.739

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu May 19 23:09:45 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv16566/channels

Modified Files:
	chan_sip.c 
Log Message:
make 'sip debug' work again (commands must be registered shortest-first when they start with the same words) (bug #4341)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.738
retrieving revision 1.739
diff -u -d -r1.738 -r1.739
--- chan_sip.c	19 May 2005 15:19:42 -0000	1.738
+++ chan_sip.c	20 May 2005 03:14:41 -0000	1.739
@@ -11167,6 +11167,7 @@
 	{ { "sip", "show", "channels", NULL }, sip_show_channels, "Show active SIP channels", show_channels_usage},
 	{ { "sip", "show", "channel", NULL }, sip_show_channel, "Show detailed SIP channel info", show_channel_usage, complete_sipch  },
 	{ { "sip", "show", "history", NULL }, sip_show_history, "Show SIP dialog history", show_history_usage, complete_sipch  },
+	{ { "sip", "debug", NULL }, sip_do_debug, "Enable SIP debugging", debug_usage },
 	{ { "sip", "debug", "ip", NULL }, sip_do_debug, "Enable SIP debugging on IP", debug_usage },
 	{ { "sip", "debug", "peer", NULL }, sip_do_debug, "Enable SIP debugging on Peername", debug_usage, complete_sip_debug_peer },
 	{ { "sip", "show", "peer", NULL }, sip_show_peer, "Show details on specific SIP peer", show_peer_usage, complete_sip_show_peer },
@@ -11179,7 +11180,6 @@
 	  "Prune cached Realtime user(s)", prune_realtime_usage, complete_sip_prune_realtime_user },
 	{ { "sip", "show", "inuse", NULL }, sip_show_inuse, "List all inuse/limits", show_inuse_usage },
 	{ { "sip", "show", "registry", NULL }, sip_show_registry, "Show SIP registration status", show_reg_usage },
-	{ { "sip", "debug", NULL }, sip_do_debug, "Enable SIP debugging", debug_usage },
 	{ { "sip", "history", NULL }, sip_do_history, "Enable SIP history", history_usage },
 	{ { "sip", "no", "history", NULL }, sip_no_history, "Disable SIP history", no_history_usage },
 	{ { "sip", "no", "debug", NULL }, sip_no_debug, "Disable SIP debugging", no_debug_usage },




More information about the svn-commits mailing list