Asterisk™: The Definitive Guide by Leif Madsen & Jim Van Meggelen & Russell Bryant

Asterisk™: The Definitive Guide by Leif Madsen & Jim Van Meggelen & Russell Bryant

Author:Leif Madsen & Jim Van Meggelen & Russell Bryant [Leif Madsen]
Language: eng
Format: epub
Tags: COMPUTERS / Networking / General
ISBN: 9781449303549
Publisher: O'Reilly Media
Published: 2011-04-10T16:00:00+00:00


*CLI> core restart now *CLI> moh show classes *CLI>

Let’s put the [default] class back into Asterisk, but now we’ll load it from the database. Connect to your database and execute the following INSERT statements:

> INSERT INTO ast_config (filename,category,var_name,var_val) VALUES ('musiconhold.conf','default','mode','files'); > INSERT INTO ast_config (filename,category,var_name,var_val) VALUES ('musiconhold.conf','default','directory','/var/lib/asterisk/moh');

You can verify that your values have made it into the database by running a SELECT statement:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.