[asterisk-commits] pabelanger: branch 1.4 r292411 - /branches/1.4/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 20 19:00:54 CDT 2010


Author: pabelanger
Date: Wed Oct 20 19:00:51 2010
New Revision: 292411

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=292411
Log:
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)

Modified:
    branches/1.4/apps/app_dial.c

Modified: branches/1.4/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=292411&r1=292410&r2=292411
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Wed Oct 20 19:00:51 2010
@@ -1176,7 +1176,7 @@
 
 				*/
 				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) {




More information about the asterisk-commits mailing list