[asterisk-commits] junky: branch group/cli_cleanup r144827 - in /team/group/cli_cleanup: doc/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 26 17:55:36 CDT 2008
Author: junky
Date: Fri Sep 26 17:55:35 2008
New Revision: 144827
URL: http://svn.digium.com/view/asterisk?view=rev&rev=144827
Log:
added file of all deprecated cli commands for 1.4 and trunk
also added into the loader which cmd are deprecated
Added:
team/group/cli_cleanup/doc/cli_deprecated.txt (with props)
Modified:
team/group/cli_cleanup/main/cli.c
Added: team/group/cli_cleanup/doc/cli_deprecated.txt
URL: http://svn.digium.com/view/asterisk/team/group/cli_cleanup/doc/cli_deprecated.txt?view=auto&rev=144827
==============================================================================
--- team/group/cli_cleanup/doc/cli_deprecated.txt (added)
+++ team/group/cli_cleanup/doc/cli_deprecated.txt Fri Sep 26 17:55:35 2008
@@ -1,0 +1,106 @@
+;1.4 has now depracated these CLI commands:
+show channeltypes=core show channeltypes
+show channeltype=core show channeltype
+show manager command=manager show command
+show manager commands=manager show commands
+show manager connected=manager show connected
+show manager eventq=manager show eventq
+rtp no debug=rtp debug off
+rtp rtcp debug ip=rtcp debug ip
+rtp rtcp debug=rtcp debug
+rtp rtcp no debug=rtcp debug off
+rtp rtcp stats=rtcp stats
+rtp rtcp no stats=rtcp stats off
+stun no debug=stun debug off
+udptl no debug=udptl debug off
+show image formats=core show image formats
+show file formats=core show file formats
+show applications=core show applications
+show functions=core show functions
+show switches=core show switches
+show hints=core show hints
+show globals=core show globals
+show function=core show function
+show application=core show application
+set global=core set global
+show dialplan=dialplan show
+show codecs=core show codecs
+show audio codecs=core show audio codecs
+show video codecs=core show video codecs
+show image codecs=core show image codecs
+show codec=core show codec
+moh classes show=moh show classes
+moh files show=moh show files
+agi no debug=agi debug off
+show agi=agi show
+dump agihtml=agi dumphtml
+show features=feature show
+show indications=indication show
+answer=console answer
+hangup=console hangup
+flash=console flash
+dial=console dial
+mute=console mute
+unmute=console unmute
+transfer=console transfer
+send text=console send text
+autoanswer=console autoanswer
+oss boost=console boost
+console=console active
+save dialplan=dialplan save
+add extension=dialplan add extension
+remove extension=dialplan remove extension
+add ignorepat=dialplan add ignorepat
+remove ignorepat=dialplan remove ignorepat
+include context=dialplan add include
+dont include=dialplan remove include
+extensions reload=dialplan reload
+show translation=core show translation
+convert=file convert
+show queue=queue show
+add queue member=queue add member
+remove queue member=queue remove member
+ael no debug=ael nodebug
+sip debug=sip set debug
+sip no debug=sip set debug off
+show voicemail users=voicemail show users
+show voicemail zones=voicemail show zones
+iax2 trunk debug=iax2 set debug trunk
+iax2 jb debug=iax2 set debug jb
+iax2 no debug=iax2 set debug off
+iax2 no trunk debug=iax2 set debug trunk off
+iax2 no jb debug=iax2 set debug jb off
+show agents=agent show
+show agents online=agent show online
+show memory allocations=memory show allocations
+show memory summary=memory show summary
+show version=core show version
+show version files=core show file version
+show profile=core show profile
+clear profile=core clear profile
+
+
+;trunk has now deprecated these CLI commands:
+cdr status=cdr show status
+rtp debug=rtp set debug
+rtcp debug=rtcp set debug
+rtcp stats=rtcp set stats
+stun debug=stun set debug
+udptl debug=dtptl set debug
+core show globals=dialplan show globals
+core set global=dialplan set global
+core set chanvar=dialplan set chanvar
+agi dumphtml=agi dump html
+ael debug=ael set debug
+funcdevstate list=devstate list
+sip history=sip set history
+skinny set debug=skinny set debug
+mgcp set debug=mgcp set debug
+abort shutdown=core abort shutdown
+stop now=core stop now
+stop gracefully=core stop gracefully
+stop when convenient=core stop when convenient
+restart now=core restart now
+restart gracefully=core restart gracefully
+restart when convenient=core restart when convenient
+
Propchange: team/group/cli_cleanup/doc/cli_deprecated.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/group/cli_cleanup/doc/cli_deprecated.txt
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/group/cli_cleanup/doc/cli_deprecated.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: team/group/cli_cleanup/main/cli.c
URL: http://svn.digium.com/view/asterisk/team/group/cli_cleanup/main/cli.c?view=diff&rev=144827&r1=144826&r2=144827
==============================================================================
--- team/group/cli_cleanup/main/cli.c (original)
+++ team/group/cli_cleanup/main/cli.c Fri Sep 26 17:55:35 2008
@@ -1479,6 +1479,8 @@
To show command B, you just need to always use ed->_full_cmd.
*/
e->_deprecated_by = S_OR(ed->_deprecated_by, ed->_full_cmd);
+
+ ast_log(LOG_WARNING, "'%s' is deprecated by '%s'\n", e->_full_cmd, ed->_full_cmd);
}
lf = e->cmdlen;
More information about the asterisk-commits
mailing list