<div dir="ltr">Hello everyone,<div>I am trying to activate Music On Hold using DB on Asterisk 13.</div><div>It works fine but in order to use new Music On hold definitions I have to reload the moh module.</div><div><br></div><div>- The following is my configuration in extconfig.conf - I added the following line:</div><div> musiconhold.conf => mysql,asterisk,bit_ast_config</div><div><br></div><div>- The following is the table in the database:</div><div><div>mysql> select * from bit_ast_config;</div><div>+----+------------+-------------+----------------+-----------------------+-----------+---------------+----------+</div><div>| id Â  | cat_metric | var_metric | commented | filename Â  Â  Â  Â  Â  Â  Â  Â | category | var_name Â | var_val |</div><div>+----+------------+-------------+----------------+-----------------------+-----------+---------------+----------+</div><div>| Â 2 Â  | Â  Â  Â  Â  Â  Â  0 | Â  Â  Â  Â  Â  Â  0 Â  | Â  Â  Â  Â  Â  Â  0 Â  Â  Â | musiconhold.conf | yaron Â  Â  Â | directory Â  Â  | moh Â  Â  |</div><div>| Â 3 Â  | Â  Â  Â  Â  Â  Â  0 | Â  Â  Â  Â  Â  Â  0 Â  | Â  Â  Â  Â  Â  Â  0 Â  Â  Â | musiconhold.conf | yaron Â  Â  Â | mode Â  Â  Â  Â  Â | files Â  Â  Â |</div><div>| 10 Â | Â  Â  Â  Â  Â  Â  0 | Â  Â  Â  Â  Â  Â  Â  0 | Â  Â  Â  Â  Â  Â  0 Â  Â  Â | musiconhold.conf | yaron1 Â  Â | directory Â  Â  | moh Â  Â  |</div><div>| 11 Â | Â  Â  Â  Â  Â  Â  0 | Â  Â  Â  Â  Â  Â  Â  0 | Â  Â  Â  Â  Â  Â  0 Â  Â  Â | musiconhold.conf | yaron1 Â  Â | mode Â  Â  Â  Â  Â | files Â  Â  Â |</div><div>+----+------------+-------------+----------------+-----------------------+-----------+---------------+----------+</div></div><div><br></div><div><br></div><div>Is there a way to do automatically add new moh definitions without reloading the moh module?</div><div>Thanks,</div><div>Yaron.</div></div>