Recording stops when one channel leave the bridge (ARI)

Hello,

We are observing a weird behavior with asterisk, ARI and recordings.

It seems that is I start a record on a bridge that contains two channels, and a channel leave the bridge (I remove it via ARI), the record stops.

Anyone aware of this? why? can we prevent this from happening? (i will put a new channel on the bridge later, record should continue).

Some console output to try clarify :

[16:02:38]   == Using SIP RTP Audio TOS bits 184
[16:02:38]   == Using SIP RTP Audio TOS bits 184 in TCLASS field.
[16:02:38]     -- Executing [760@flus:1] Stasis("PJSIP/trunk-00000021", "ari-app")
[16:02:41]     -- Channel PJSIP/trunk-00000021 joined 'simple_bridge' stasis-bridge <d982336f1a554bfd9daf6577a00ad0a6>
[16:02:43] WARNING[1543][C-00000018]: mp3/interface.c:218 decodeMP3: Junk at the beginning of frame 49443304
[16:02:43]     -- <PJSIP/trunk-00000021> Playing 'https://redacted/5902e30c-9140-4d46-94d4-WQu.mp3.slin' (language 'fr')
[16:02:49]     -- Started music on hold, class '77c48f63c31b4a1993c9364c601ab303', on channel 'PJSIP/trunk-00000021'
[16:02:49] WARNING[1543][C-00000018]: mp3/interface.c:218 decodeMP3: Junk at the beginning of frame 49443303
[16:02:58]   == Using SIP RTP Audio TOS bits 184
[16:02:58]   == Using SIP RTP Audio CoS mark 5
[16:02:58]     -- Executing [c50a5e873b45470ea179807b103ab68c_1@ari-app:1] Stasis("PJSIP/trunk2-00000022", "ari-app") in new stack
[16:03:00]     -- Channel PJSIP/trunk2-00000022 joined 'simple_bridge' stasis-bridge <d982336f1a554bfd9daf6577a00ad0a6>
[16:03:01]     -- Stopped music on hold on PJSIP/trunk-00000021
[16:03:02]     -- Channel Recorder/ARI-00000009;2 joined 'simple_bridge' stasis-bridge <d982336f1a554bfd9daf6577a00ad0a6>
[16:03:02]     -- x=0, open writing:  /var/spool/asterisk/recording/6c453ad06ced49ff8f7e369627c305bf format: wav, 0x7faedc001a60
ip-172-17-1-1*CLI> bridge show all
Bridge-ID                            Chans Type            Technology      Duration
d982336f1a554bfd9daf6577a00ad0a6         3 stasis          softmix         00:00:25
[16:03:33]     -- Channel PJSIP/trunk2-00000022 left 'softmix' stasis-bridge <d982336f1a554bfd9daf6577a00ad0a6>
[16:03:33]     -- Started music on hold, class 'default', on channel 'PJSIP/trunk-00000021'
[16:03:37] WARNING[1567][C-00000018]: app.c:1647 __ast_play_and_record: No audio available on Recorder/ARI-00000009;1??
[16:03:37]     -- User hung up
[16:03:37]     -- Channel Recorder/ARI-00000009;2 left 'simple_bridge' stasis-bridge <d982336f1a554bfd9daf6577a00ad0a6>
ip-172-17-1-1*CLI> bridge show all
Bridge-ID                            Chans Type            Technology      Duration
d982336f1a554bfd9daf6577a00ad0a6         1 stasis          simple_bridge   00:01:01

Maybe add a dummy place holder channel that does nothing but keep the bridge from, hmm, collapsing ? Let it handle the MOH when needed ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.