Summary:ASTERISK-04238: [patch] *CLI> sip debug No such command
Reporter:gdalgliesh (gdalgliesh)Labels:
Date Opened:2005-05-19 18:03:47Date Closed:2008-01-15 15:35:45.000-0600
Versions:Frequency of
Environment:Attachments:( 0) patch-sipdebug-20050519
Description:sip debug no longer turns on debugging

Although sip debug ip and peer work

*CLI> sip debug
[19:01] <Slimey> No such command 'sip debug' (type 'help' for help)
[19:01] <Slimey>         { { "sip", "debug", NULL }, sip_do_debug, "Enable SIP debugging", debug_usage },
[19:01] <Slimey> it's in the code, but doesn't work
Comments:By: slimey (slimey) 2005-05-19 18:16:09

Here you are, this seems to fix it (re-ordering the registry of the command)

By: gdalgliesh (gdalgliesh) 2005-05-19 18:23:06

tested patch and it works for me as well

By: Kevin P. Fleming (kpfleming) 2005-05-19 23:09:59

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:35:45.000-0600

Repository: asterisk
Revision: 5746

U   trunk/channels/chan_sip.c

r5746 | kpfleming | 2008-01-15 15:35:45 -0600 (Tue, 15 Jan 2008) | 2 lines

make 'sip debug' work again (commands must be registered shortest-first when they start with the same words) (bug ASTERISK-4238)