]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 10 Jul 2023 11:49:47 +0000 (11:49 +0000)
commit8cdf711531d8609acadf1af9a84505118d4adbed
tree9ba3493a64a92b09a8321b2d78733dd86a90cb7a
parent457a72304d60689ea804722ca503edfbbac5608c
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.

(cherry picked from commit edf488c76e720d546a8d0cdf7c2352452af2503f)
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