Summary: | ASTERISK-24748: res_pjsip: If wizards explicitly configured in sorcery.conf false ERROR messages may occur | ||
Reporter: | Joshua C. Colp (jcolp) | Labels: | |
Date Opened: | 2015-02-02 11:36:11.000-0600 | Date Closed: | 2015-02-03 19:00:21.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_pjsip |
Versions: | 13.1.1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The sorcery.conf configuration file is used to configure what wizards to apply to modules. This is useful for specifying realtime and then a configuration file. Unfortunately this can cause false ERROR messages to occur.
Given the following configuration in sorcery.conf: {code} [res_pjsip] endpoint=config,pjsip.conf,criteria=type=endpoint {code} The default usage of a configuration file is applied to all sorcery instances within the "res_pjsip" module. Unfortunately this includes a specific one used for configuring system information. As a result when it loads configuration it will attempt to load and create endpoints. The sorcery instance used for system configuration does *NOT* have endpoint knowledge on it. This causes errors such as: {code} [Feb 2 13:34:58] ERROR[6596]: res_sorcery_config.c:277 sorcery_config_internal_load: Could not create an object of type 'endpoint' with id 'muon' from configuration file 'pjsip.conf' {code} When in reality the endpoint IS created, just later. This can be confusing and may lead to someone thinking something is wrong. | ||
Comments: |