[asterisk-bugs] [JIRA] (ASTERISK-23803) AMI action UpdateConfig EmptyCat clears all categories but the requested one

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu May 29 07:22:44 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218586#comment-218586 ] 

Matt Jordan commented on ASTERISK-23803:
----------------------------------------

Ouch. What a missing {{!}} will do. Thanks for the patch!

> AMI action UpdateConfig EmptyCat clears all categories but the requested one
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-23803
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23803
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Configuration, Core/ManagerInterface
>    Affects Versions: 11.10.0
>            Reporter: zvision
>         Attachments: manager.c.diff
>
>
> When invoking UpdateConfig AMI action with Action set to EmptyCat, the manager make all categories empty in the config but the one requested with a Cat variable. This is due to a bug in ast_category_empty (main/config.c) that makes incorrect comparison for a category name.



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



More information about the asterisk-bugs mailing list