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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 11 08:11:17 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16564 
====================================================================== 
Reported By:                pj
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   16564
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
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-11 08:11 CST
====================================================================== 
Summary:                    [patch] "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'
.....
====================================================================== 

---------------------------------------------------------------------- 
 (0116438) seanbright (manager) - 2010-01-11 08:11
 https://issues.asterisk.org/view.php?id=16564#c116438 
---------------------------------------------------------------------- 
New patch uploaded. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-11 08:11 seanbright     Note Added: 0116438                          
======================================================================




More information about the asterisk-bugs mailing list