]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Record priv-recordintro as sln, not gsm
authorPaul Belanger <paul.belanger@polybeacon.com>
Thu, 21 Oct 2010 00:00:51 +0000 (00:00 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Thu, 21 Oct 2010 00:00:51 +0000 (00:00 +0000)
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

apps/app_dial.c

index f1dd6ef3d3cd0aad5f76debcdbbf1defe670f114..a6e0f3d79fd8ecbd19346baf80c83f654a309c6b 100644 (file)
@@ -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) {