[asterisk-bugs] [JIRA] (ASTERISK-30239) Prometheus plugin crashes Asterisk when using local channel
Joeran Vinzens (JIRA)
noreply at issues.asterisk.org
Mon Sep 19 06:41:09 CDT 2022
Joeran Vinzens created ASTERISK-30239:
-----------------------------------------
Summary: 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
Affects Versions: 19.6.0
Environment: default Debian / Ubuntu no fancy stuff
Reporter: Joeran Vinzens
Severity: Major
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