]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_musiconhold: Add option to loop last file.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 25 May 2023 23:58:41 +0000 (23:58 +0000)
committerGeorge Joseph <gtjoseph@users.noreply.github.com>
Mon, 5 Jun 2023 18:34:40 +0000 (12:34 -0600)
commitce7a72d7e282ae299e5e1e4f28959926a264dd99
treeedaec6496a82e706c2562b393e8b67a8d5a835c5
parent4176f57938e645c7ce1caf7737f70e825da99922
res_musiconhold: Add option to loop last file.

Adds the loop_last option to res_musiconhold,
which allows the last audio file in the directory
to be looped perpetually once reached, rather than
circling back to the beginning again.

Resolves: #122
ASTERISK-30462

UserNote: The loop_last option in musiconhold.conf now
allows the last file in the directory to be looped once reached.
configs/samples/musiconhold.conf.sample
contrib/ast-db-manage/config/versions/f5b0e7427449_add_loop_last_to_res_musiconhold.py [new file with mode: 0644]
res/res_musiconhold.c