[asterisk-bugs] [Asterisk 0016564]: "config reload" doesn't work correctly

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 7 08:22:08 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16564 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16564
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 238313 
Request Review:              
====================================================================== 
Date Submitted:             2010-01-07 08:22 CST
Last Modified:              2010-01-07 08:22 CST
====================================================================== 
Summary:                    "config reload" doesn't work correctly
Description: 
After change in cli_aliases.conf, I tried to reload changed config using:
"config reload /etc/asterisk/cli_aliases.conf"
then I got warnings like below and cli aliases are then doubled.

localhost*CLI> config reload /etc/asterisk/cli_aliases.conf
[Jan  7 09:09:14]     -- Reloading module 'res_clialiases.so' (CLI
Aliases)
[Jan  7 09:09:14]   == Parsing '/etc/asterisk/cli_aliases.conf': [Jan  7
09:09:14]   == Found
[Jan  7 09:09:14]   == Aliased CLI command 'c' to 'core show channels
verbose'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'hangup' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'hangup' to 'channel request
hangup'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
's' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 's' to 'sip show peers'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'sp' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'sp' to 'sip show peer'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'sc' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'sc' to 'sip show channels'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'su' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'su' to 'sip show
subscriptions'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'hint' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'hint' to 'core show hints'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'sd' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'sd' to 'skinny show devices'
[Jan  7 09:09:14] WARNING[3095]: cli.c:1957 __ast_cli_register: Command
'md' already registered (or something close enough)
[Jan  7 09:09:14]   == Aliased CLI command 'md' to 'mobile show devices'
.....
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-07 08:22 pj             New Issue                                    
2010-01-07 08:22 pj             Asterisk Version          => SVN             
2010-01-07 08:22 pj             Regression                => No              
2010-01-07 08:22 pj             SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2010-01-07 08:22 pj             SVN Revision (number only!) => 238313          
======================================================================




More information about the asterisk-bugs mailing list