[asterisk-bugs] [JIRA] (ASTERISK-22537) Create Sorcery equivalent to the AST_CONFIG function
George Joseph (JIRA)
noreply at issues.asterisk.org
Tue Feb 4 10:53:03 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-22537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214818#comment-214818 ]
George Joseph commented on ASTERISK-22537:
------------------------------------------
How about this...
Convert ast_sorcery_open(void) to __ast_sorcery_open(char *module)
Then define ast_sorcery_open() __ast_sorcery_open(AST_MODULE)
Then in __ast_sorcery_open, insert into a hashtable with the module name as the key and the sorcery object as the data.
Now create a function ast_retrieve_sorcery_by_module_name.
> Create Sorcery equivalent to the AST_CONFIG function
> ----------------------------------------------------
>
> Key: ASTERISK-22537
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22537
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Core/Sorcery
> Affects Versions: 12.0.0-alpha1
> Reporter: George Joseph
> Assignee: George Joseph
> Severity: Minor
>
> The AST_CONFIG function won't properly read sorcery based config files like pjsip.conf and res_digium_phone.conf which can have multiple sections with the same name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list