@ -14275,110 +14275,6 @@ static struct ast_switch iax2_switch =
. matchmore = iax2_matchmore ,
} ;
/*
{ { " iax2 " , " show " , " cache " , NULL } ,
iax2_show_cache , " Display IAX cached dialplan " ,
show_cache_usage } ,
{ { " iax2 " , " show " , " channels " , NULL } ,
iax2_show_channels , " List active IAX channels " ,
show_channels_usage } ,
{ { " iax2 " , " show " , " firmware " , NULL } ,
iax2_show_firmware , " List available IAX firmwares " ,
show_firmware_usage } ,
{ { " iax2 " , " show " , " netstats " , NULL } ,
iax2_show_netstats , " List active IAX channel netstats " ,
show_netstats_usage } ,
{ { " iax2 " , " show " , " peers " , NULL } ,
iax2_show_peers , " List defined IAX peers " ,
show_peers_usage } ,
{ { " iax2 " , " show " , " registry " , NULL } ,
iax2_show_registry , " Display IAX registration status " ,
show_reg_usage } ,
{ { " iax2 " , " show " , " stats " , NULL } ,
iax2_show_stats , " Display IAX statistics " ,
show_stats_usage } ,
{ { " iax2 " , " show " , " threads " , NULL } ,
iax2_show_threads , " Display IAX helper thread info " ,
show_threads_usage } ,
{ { " iax2 " , " unregister " , NULL } ,
iax2_unregister , " Unregister (force expiration) an IAX2 peer from the registry " ,
unregister_usage , complete_iax2_unregister } ,
{ { " iax2 " , " set " , " mtu " , NULL } ,
iax2_set_mtu , " Set the IAX systemwide trunking MTU " ,
set_mtu_usage , NULL , NULL } ,
{ { " iax2 " , " show " , " users " , NULL } ,
iax2_show_users , " List defined IAX users " ,
show_users_usage } ,
{ { " iax2 " , " prune " , " realtime " , NULL } ,
iax2_prune_realtime , " Prune a cached realtime lookup " ,
prune_realtime_usage , complete_iax2_show_peer } ,
{ { " iax2 " , " reload " , NULL } ,
iax2_reload , " Reload IAX configuration " ,
iax2_reload_usage } ,
{ { " iax2 " , " show " , " peer " , NULL } ,
iax2_show_peer , " Show details on specific IAX peer " ,
show_peer_usage , complete_iax2_show_peer } ,
{ { " iax2 " , " set " , " debug " , NULL } ,
iax2_do_debug , " Enable IAX debugging " ,
debug_usage } ,
{ { " iax2 " , " set " , " debug " , " trunk " , NULL } ,
iax2_do_trunk_debug , " Enable IAX trunk debugging " ,
debug_trunk_usage } ,
{ { " iax2 " , " set " , " debug " , " jb " , NULL } ,
iax2_do_jb_debug , " Enable IAX jitterbuffer debugging " ,
debug_jb_usage } ,
{ { " iax2 " , " set " , " debug " , " off " , NULL } ,
iax2_no_debug , " Disable IAX debugging " ,
no_debug_usage } ,
{ { " iax2 " , " set " , " debug " , " trunk " , " off " , NULL } ,
iax2_no_trunk_debug , " Disable IAX trunk debugging " ,
no_debug_trunk_usage } ,
{ { " iax2 " , " set " , " debug " , " jb " , " off " , NULL } ,
iax2_no_jb_debug , " Disable IAX jitterbuffer debugging " ,
no_debug_jb_usage } ,
{ { " iax2 " , " test " , " losspct " , NULL } ,
iax2_test_losspct , " Set IAX2 incoming frame loss percentage " ,
iax2_test_losspct_usage } ,
{ { " iax2 " , " provision " , NULL } ,
iax2_prov_cmd , " Provision an IAX device " ,
show_prov_usage , iax2_prov_complete_template_3rd } ,
# ifdef IAXTESTS
{ { " iax2 " , " test " , " late " , NULL } ,
iax2_test_late , " Test the receipt of a late frame " ,
iax2_test_late_usage } ,
{ { " iax2 " , " test " , " resync " , NULL } ,
iax2_test_resync , " Test a resync in received timestamps " ,
iax2_test_resync_usage } ,
{ { " iax2 " , " test " , " jitter " , NULL } ,
iax2_test_jitter , " Simulates jitter for testing " ,
iax2_test_jitter_usage } ,
# endif
*/
static struct ast_cli_entry cli_iax2 [ ] = {
AST_CLI_DEFINE ( handle_cli_iax2_provision , " Provision an IAX device " ) ,
AST_CLI_DEFINE ( handle_cli_iax2_prune_realtime , " Prune a cached realtime lookup " ) ,