Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio...
[asterisk/asterisk.git] / res / res_mutestream.c
index 4faf464..41b2fd8 100644 (file)
@@ -173,7 +173,7 @@ static struct ast_datastore *initialize_mutehook(struct ast_channel *chan)
                ast_datastore_free(datastore);
                return NULL;
        }
-       ast_audiohook_init(&mute->audiohook, AST_AUDIOHOOK_TYPE_MANIPULATE, "Mute");
+       ast_audiohook_init(&mute->audiohook, AST_AUDIOHOOK_TYPE_MANIPULATE, "Mute", AST_AUDIOHOOK_MANIPULATE_ALL_RATES);
        mute->audiohook.manipulate_callback = mute_callback;
        datastore->data = mute;
        return datastore;