]> 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:57 +0000 (18:35 +0000)
commit2b302e30e4ddc1230d3b76654833f236bac87896
tree4bd716e14b1ab4e5aed6509426b85a251d6e0ae5
parent3260434b962c5f4745a777266e9537f16ed438f5
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