From 342cf00fb74d7832598ad2431b3338512273959e Mon Sep 17 00:00:00 2001 From: matteo Date: Sun, 16 Mar 2003 22:37:31 +0000 Subject: dom mar 16 23:37:23 CET 2003 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@647 f38db490-d61c-443f-a65b-d21fe96a405b --- res/res_musiconhold.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'res/res_musiconhold.c') diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 0d540aebd..5c59e2e19 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -386,8 +386,10 @@ static void *moh_alloc(struct ast_channel *chan, void *params) moh_release(NULL, res); res = NULL; } +#if 0 /* Allow writes to interrupt */ chan->writeinterrupt = 1; +#endif if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Started music on hold, class '%s', on %s\n", (char *)params, chan->name); } @@ -531,7 +533,7 @@ static void load_moh_classes(void) } } -void ast_moh_destroy(void) +static void ast_moh_destroy(void) { struct mohclass *moh; ast_pthread_mutex_lock(&moh_lock); -- cgit v1.2.3