[asterisk-bugs] [JIRA] (ASTERISK-24748) res_pjsip: If wizards explicitly configured in sorcery.conf false ERROR messages may occur

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Feb 2 11:37:34 CST 2015


Joshua Colp created ASTERISK-24748:
--------------------------------------

             Summary: res_pjsip: If wizards explicitly configured in sorcery.conf false ERROR messages may occur
                 Key: ASTERISK-24748
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24748
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 13.1.1
            Reporter: Joshua Colp
            Severity: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list