[asterisk-bugs] [JIRA] (ASTERISK-27666) Checking the HANGUPCAUSE variable, crash asterisk
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Sun Feb 11 15:34:13 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-27666:
---------------------------------------
Attachment: jira_asterisk_27666_v13.19.0.patch
[^jira_asterisk_27666_v13.19.0.patch] - This does the minimum to prevent the crash and may be all that is really needed. I haven't setup a SIPp scenario to confirm.
Apply {{patch -p1 -i jira_asterisk_27666_v13.19.0.patch}} to see if it fixes the crash. We cann't do anything about the provider messing up the SIP transaction but we shouldn't crash as a result.
> Checking the HANGUPCAUSE variable, crash asterisk
> -------------------------------------------------
>
> Key: ASTERISK-27666
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27666
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 13.19.0
> Environment: CentOS 6.9 64bit
> Reporter: Leandro Dardini
> Assignee: Unassigned
> Severity: Minor
> Labels: patch
> Attachments: core.srv02-2018-02-11T07-50-18+0100-brief.txt, core.srv02-2018-02-11T07-50-18+0100-full.txt, core.srv02-2018-02-11T07-50-18+0100-locks.txt, core.srv02-2018-02-11T07-50-18+0100-thread1.txt, core.srv02-2018-02-11T17-53-10+0100-brief.txt, core.srv02-2018-02-11T17-53-10+0100-full.txt, core.srv02-2018-02-11T17-53-10+0100-locks.txt, core.srv02-2018-02-11T17-53-10+0100-thread1.txt, crash-27666.pcap, crashlog.pcap, debug_log_27666, jira_asterisk_27666_v13.19.0.patch
>
>
> I usually log the HANGUPCAUSE when the Dial command doesn't succeed. I discovered, with one particular provider, it crashes asterisk. Here the simple asterisk dialplan:
> {noformat}
> 9999 => {
> Dial(SIP/999383371137 at crashprovider);
> NoOp(This is CallEnd - DIALSTATUS is ${DIALSTATUS} - HANGUPCAUSE is ${HANGUPCAUSE});
> }
> {noformat}
> In attach, you'll find the crash report and the pcap for the traffic with the server. The call was made from extension 103 (103-DEVEL)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list