[asterisk-bugs] [JIRA] (ASTERISK-23104) Specifying the SetVar AMI without a Channel cause Asterisk to crash

Joel Vandal (JIRA) noreply at issues.asterisk.org
Mon Feb 24 13:04:04 CST 2014


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

Joel Vandal commented on ASTERISK-23104:
----------------------------------------

I *confirm* that everything work as expected.

[2014-02-24 14:00:23] WARNING[13956]: func_audiohookinherit.c:233 func_inheritance_write: No channel was provided to INHERITANCE function.


                
> Specifying the SetVar AMI without a Channel cause Asterisk to crash
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-23104
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23104
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 1.8.25.0, 11.6.1, 12.0.0
>         Environment: CentOS 5
>            Reporter: Joel Vandal
>            Assignee: Michael L. Young
>            Severity: Critical
>         Attachments: asterisk-23104_audiohook_inherit_no_channel-11.diff, asterisk-23104_check_channel_defined-11.diff
>
>
> From the Asterisk Manager Interface (AMI), when doing a SetVar and the channel is empty, this crash the Asterisk system.
> Step to reproduce :
> 1- connect to the AMI
> telnet localhost 5038
> 2- login to the AMI 
> Action: Login
> UserName: username
> Secret: secret
> 3- Send the SetVar with empty channel
> Action: SetVar
> Channel:
> Variable: AUDIOHOOK_INHERIT(MixMonitor)
> Value: yes

--
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