Only disable mISDN DSP if Asterisk DSP is enabled. Leave jitter setting alone.

JIRA ABE-1835


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@188833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2009-04-16 21:37:58 +00:00
parent caef916825
commit 4b6846a9dd

View File

@@ -5519,7 +5519,6 @@ static int misdn_set_opt_exec(struct ast_channel *chan, void *data)
if (ch->ast_dsp) { if (ch->ast_dsp) {
chan_misdn_log(1, ch->bc->port, "SETOPT: with AST_DSP we deactivate mISDN_dsp\n"); chan_misdn_log(1, ch->bc->port, "SETOPT: with AST_DSP we deactivate mISDN_dsp\n");
ch->bc->nodsp = 1; ch->bc->nodsp = 1;
ch->bc->nojitter = 1;
} }
return 0; return 0;