Hi Jonas
Wouldn't this do the job?
touch /etc/asterisk/musiconhold.conf ; asterisk -rx 'module reload
res_musiconhold.so'
Pete
> On 31/03/2017, at 8:55 am, Jonas Kellens wrote:
>
>
> I would not know how to automate this through script...
>
smime.p7s
Description: S/MIME
Hello
I can confirm that touch-ing /etc/asterisk/musiconhold.conf (just open
with vi and close again) and then issuing a 'module reload
res_musiconhold.so' on the Asterisk CLI makes the new files load into
Asterisk.
Very strange !!
I would not know how to automate this through script...
> Hello
> as you can read in my original post "moh reload" and "module reload
> res_musiconhold.so" does nothing.
> Only at restart the new files are available.
> Is this a bug ?? How can I get more debugging for this problem ??
Just spotted that you are using Asterisk 1.8.32.3.
The bug I'm think
> Hello
> as you can read in my original post "moh reload" and "module reload
> res_musiconhold.so" does nothing.
> Only at restart the new files are available.
> Is this a bug ?? How can I get more debugging for this problem ??
I think there is currently a bug with MOH. For now, if you add a fil
Hello
as you can read in my original post "moh reload" and "module reload
res_musiconhold.so" does nothing.
Only at restart the new files are available.
Is this a bug ?? How can I get more debugging for this problem ??
Kind regards.
On 23-03-17 22:54, Administrator TOOTAI wrote:
Le 23/0
Le 23/03/2017 à 20:17, Jonas Kellens a écrit :
Hello
is there any more information on how to reload/read musiconhold files ?
CLI> module reload res_musiconhold
--
Daniel
On 07-03-17 10:46, Jonas Kellens wrote:
Hello
I did not mention it but of course the MOH directory is listed in
/etc/a
Hello
is there any more information on how to reload/read musiconhold files ?
Kind regards.
On 07-03-17 10:46, Jonas Kellens wrote:
Hello
I did not mention it but of course the MOH directory is listed in
/etc/asterisk/musiconhold.conf :
[default]
mode=files
directory=/var/lib/asterisk/
Hello
I did not mention it but of course the MOH directory is listed in
/etc/asterisk/musiconhold.conf :
[default]
mode=files
directory=/var/lib/asterisk/moh
[myfolder_1]
mode=files
directory=/var/lib/asterisk/moh/myfolder/1
sort=alpha
[myfolder_2]
mode=files
directory=/var/lib/asterisk/moh/
Your new file is in the 'myfolder/1'' subdirectory of the MOH directory.
Either move the file into the MOH directory or define a new class in
musiconhold.conf that is for your directory.
On Fri, Mar 3, 2017 at 7:19 AM, Jonas Kellens
wrote:
> Hello
>
> using Asterisk 1.8.32.3
>
> Current music
Hello
using Asterisk 1.8.32.3
Current music on hold :
myserver*CLI> moh show files
Class: default
File: /var/lib/asterisk/moh/macroform-robot_dity
File: /var/lib/asterisk/moh/macroform-cold_day
File: /var/lib/asterisk/moh/reno_project-system
File: /var/lib/asterisk/moh/manolo_ca
10 matches
Mail list logo