[asterisk-bugs] [JIRA] Closed: (ASTERISK-20458) ConfBridge() dislplays many ERROR messages on console when loading invalid menu data

Digium Subversion (JIRA) noreply at issues.asterisk.org
Mon Oct 1 11:19:27 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digium Subversion closed ASTERISK-20458.
----------------------------------------

    Resolution: Fixed

> ConfBridge() dislplays many ERROR messages on console when loading invalid menu data
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20458
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20458
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_confbridge
>    Affects Versions: 11.0.0-beta2
>            Reporter: Leif Madsen
>            Assignee: Mark Michelson
>            Severity: Minor
>         Attachments: ASTERISK-20458.patch
>
>
> I am able to reproduce this fairly reliably. To get around it you need to unload the app_confbridge.so module, then load it back into memory after resolving the error in confbridge.conf.
> This could ALMOST be classified as major, since unloading of the module after running into this could be difficult in production. I have made it minor though since there is a work around (however inconvenient).
> Start with this in confbridge.conf:
> {noformat}
> [volume_ctrl_menu]
> type=menu
> *5=toggle_mute
> 1=increase_listening_volume
> 4=decrease_listening_volume
> 7=reset_listening_volume
> 3=increase_talking_volume
> 6=decrease_talking_volume
> 9=reset_talking_volume
> {noformat}
> * Now load app_confbridge.so in the Asterisk console. Everything loads clean.
> * Go back to the confbridge.conf file and comment out the type=menu line.
> * Perform:   module reload app_confbridge.so
> You will get the following output:
> {noformat}
>   == Parsing '/etc/asterisk/confbridge.conf': Found
> [Sep 21 07:13:35] ERROR[14791]: config_options.c:310 internal_aco_type_find: Required match field 'type' not found
> [Sep 21 07:13:35] ERROR[14791]: config_options.c:359 process_category: Could not find config type for category 'volume_ctrl_menu' in 'confbridge.conf'
> {noformat}
> OK no problem so far. Go and fix the confbridge.conf file to remove the comment from the front of the type line.
> Perform:  module reload app_confbridge.so
> You will now get this in the console:
> {noformat}
>     -- Reloading module 'app_confbridge.so' (Conference Bridge Application)
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:152 link_option_to_types: Attempting to register option using uninitialized type
> [Sep 21 07:15:09] ERROR[14804]: config_options.c:493 aco_process_config: Attempting to process uninitialized aco_info
> {noformat}
> No matter how many times you run the reload, you'll continue getting all the ERRORs on the console.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list