[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42052 - in /team/pcadach/chan_h323-li...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Sep 5 11:04:46 MST 2006


Author: pcadach
Date: Tue Sep  5 13:04:45 2006
New Revision: 42052

URL: http://svn.digium.com/view/asterisk?rev=42052&view=rev
Log:
h.323 show codecs isn't mean anything for about last 2 years, remove it

Modified:
    team/pcadach/chan_h323-live/channels/chan_h323.c
    team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp

Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=42052&r1=42051&r2=42052&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Tue Sep  5 13:04:45 2006
@@ -2292,10 +2292,6 @@
 "Usage: h.323 no debug\n"
 "       Disables H.323 debug output\n";
 
-static char show_codec_usage[] = 
-"Usage: h.323 show codec\n"
-"       Shows all enabled codecs\n";
-
 static char show_cycle_usage[] = 
 "Usage: h.323 gk cycle\n"
 "       Manually re-register with the Gatekeper (Currently Disabled)\n";
@@ -2321,8 +2317,6 @@
 	  "Enable H.323 debug", debug_usage },
 	{ { "h.323", "no", "debug", NULL }, h323_no_debug,
 	  "Disable H.323 debug", no_debug_usage },
-	{ { "h.323", "show", "codecs", NULL }, h323_show_codec,
-	  "Show enabled codecs", show_codec_usage },
 	{ { "h.323", "gk", "cycle", NULL }, h323_gk_cycle,
 	  "Manually re-register with the Gatekeper", show_cycle_usage },
 	{ { "h.323", "hangup", NULL }, h323_ep_hangup,

Modified: team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp?rev=42052&r1=42051&r2=42052&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp (original)
+++ team/pcadach/chan_h323-live/channels/h323/ast_h323.cpp Tue Sep  5 13:04:45 2006
@@ -1766,12 +1766,6 @@
 	return 0;
 }
 
-int h323_show_codec(int fd, int argc, char *argv[])
-{
-	cout <<  "Allowed Codecs:\n\t" << setprecision(2) << endPoint->GetCapabilities() << endl;
-	return 0;
-}
-
 int h323_soft_hangup(const char *data)
 {
 	PString token(data);



More information about the asterisk-commits mailing list