[asterisk-bugs] [JIRA] (ASTERISK-30239) Prometheus plugin crashes Asterisk when using local channel
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Sep 27 06:20:09 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-30239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260354#comment-260354 ]
Friendly Automation commented on ASTERISK-30239:
------------------------------------------------
Change 19367 merged by Joshua Colp:
res_prometheus: Do not crash on invisible bridges
[https://gerrit.asterisk.org/c/asterisk/+/19367|https://gerrit.asterisk.org/c/asterisk/+/19367]
> Prometheus plugin crashes Asterisk when using local channel
> -----------------------------------------------------------
>
> Key: ASTERISK-30239
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-30239
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_local, Resources/General
> Affects Versions: 19.6.0
> Environment: default Debian / Ubuntu no fancy stuff
> Reporter: Joeran Vinzens
> Attachments: ari.sh, extensions.conf, pjsip.conf
>
>
> We use ARI to create Channels. There are local Channels.
> The Asterisk crashes if there are local channel and if queried by
> When we reproduce it it crashes ever time at the same spot.
> 1. we produce an incoming Channel by placing a call from a softphone
> 2. we create an local channel using ARI
> if we now query /metrics provided by res_prometheus asterisk will crash
> Attached is a bundle of configs and a shell script where you can see what is going on. (it is dirty just to reproduce the issue)
> the script is ment to create a local channel, two bridges and put the incoming channel into first bridge, local channel in both bridges and than create an outgoing PJSIP Channel and place this one into the the bridge, the incoming channel is not in. So at the end we would have incoming Call -> Bridge -> local Channel -> Bridge -> outgoing Channel
> Attached is the Script
> extensions.conf
> pjsip.conf
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list