Change IAXPeers to IAX1Peers. Bug #838
authorJeremy McNamara <jj@nufone.net>
Wed, 14 Jan 2004 06:23:30 +0000 (06:23 +0000)
committerJeremy McNamara <jj@nufone.net>
Wed, 14 Jan 2004 06:23:30 +0000 (06:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2026 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax.c

index f9a37b1..0edcd33 100755 (executable)
@@ -5348,7 +5348,7 @@ static int __unload_module(void)
        for (x=0;x<AST_IAX_MAX_CALLS;x++)
                if (iaxs[x])
                        iax_destroy(x);
-       ast_manager_unregister( "IAXpeers" );
+       ast_manager_unregister( "IAX1peers" );
        ast_cli_unregister(&cli_show_users);
        ast_cli_unregister(&cli_show_channels);
        ast_cli_unregister(&cli_show_peers);
@@ -5413,7 +5413,7 @@ int load_module(void)
        ast_cli_register(&cli_show_stats);
        ast_cli_register(&cli_show_cache);
 
-       ast_manager_register( "IAXpeers", 0, manager_iax_show_peers, "List IAX Peers" );
+       ast_manager_register( "IAX1peers", 0, manager_iax_show_peers, "List IAX Peers" );
 
        if (set_config(config,&sin) == -1) {
                config = IAX_OLD_CONF_FILE;