Custom Recording after max simultaneous calls

l.disco

New Member
Sep 24, 2024
5
0
1
22
Hi everyone,
I need to perform the following configuration on a FusionPBX version 5.4.4 domain of mine.
I have a single trunk configured, and the destination is a simple ring group where three extensions ring simultaneously. If there's already a call handled by the ring group, I need any other incoming call to receive a message like "Sorry, the line is busy" or at least to hear Fusion's USER_BUSY.
I tried setting the gateway's Channels to 1, but when the second call comes in, the caller receives a failed call and not a busy message. So I'd like to standardize this by letting the caller hear a custom message.
I've also tried playing with the inbound rules, trying to configure the xml

<action application="limit_execute" data="hash ring_limit 1 transfer 800 XML domain.net"/>
<action application="playback" data="${recordings_dir}/domain.net/line_busy.wav"/>
<action application="hangup" data="USER_BUSY"/>

but unfortunately, I can't figure out how to make it work.
Can anyone help me?
Many thanks.