From: Paul Belanger Date: Thu, 21 Oct 2010 00:00:51 +0000 (+0000) Subject: Record priv-recordintro as sln, not gsm X-Git-Tag: 1.4.38-rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c560e9994b5ffd6ae82c98ece54613a8706ad0ec;p=thirdparty%2Fasterisk.git Record priv-recordintro as sln, not gsm This removes the gsm->sln step when transcoding priv-recordintro. (closes issue #18176) Reported by: pabelanger Patches: chan_sip.diff uploaded by pabelanger (license 224) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@292411 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index f1dd6ef3d3..a6e0f3d79f 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1176,7 +1176,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags */ ast_answer(chan); - res = ast_play_and_record(chan, "priv-recordintro", privintro, 4, "gsm", &duration, 128, 2000, 0); /* NOTE: I've reduced the total time to 4 sec */ + res = ast_play_and_record(chan, "priv-recordintro", privintro, 4, "sln", &duration, 128, 2000, 0); /* NOTE: I've reduced the total time to 4 sec */ /* don't think we'll need a lock removed, we took care of conflicts by naming the privintro file */ if (res == -1) {