]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Mon, 5 Jun 2023 18:35:50 +0000 (18:35 +0000)
commitedf488c76e720d546a8d0cdf7c2352452af2503f
treed3aa77b631db37681746c16516ae9868bd02aeb7
parent86a11d5b19f8c52a8e57bc09792c0f8e664f555f
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