[svn-commits] file: trunk r98318 - in /trunk: ./ res/res_agi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jan 11 13:30:34 CST 2008


Author: file
Date: Fri Jan 11 13:30:34 2008
New Revision: 98318

URL: http://svn.digium.com/view/asterisk?view=rev&rev=98318
Log:
Merged revisions 98317 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r98317 | file | 2008-01-11 15:28:30 -0400 (Fri, 11 Jan 2008) | 6 lines

If the channel is hungup during RECORD FILE send a result code of -1 to be uniform with everything else.
(closes issue #11743)
Reported by: davevg
Patches:
      res_agi.diff uploaded by davevg (license 209)

........

Modified:
    trunk/   (props changed)
    trunk/res/res_agi.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=98318&r1=98317&r2=98318
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Fri Jan 11 13:30:34 2008
@@ -1342,7 +1342,7 @@
 			}
 			f = ast_read(chan);
 			if (!f) {
-				ast_agi_fdprintf(chan, agi->fd, "200 result=%d (hangup) endpos=%ld\n", 0, sample_offset);
+				ast_agi_fdprintf(chan, agi->fd, "200 result=%d (hangup) endpos=%ld\n", -1, sample_offset);
 				ast_closestream(fs);
 				if (sildet)
 					ast_dsp_free(sildet);




More information about the svn-commits mailing list