Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv7280

Modified Files:
      Tag: v1-0
        app.c 
Log Message:
Actually write audio to file in get_voice (issue #5547)


Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.31.2.4
retrieving revision 1.31.2.5
diff -u -d -r1.31.2.4 -r1.31.2.5
--- app.c       14 Jun 2005 21:07:48 -0000      1.31.2.4
+++ app.c       1 Nov 2005 01:28:43 -0000       1.31.2.5
@@ -136,6 +136,13 @@
                                        ast_frfree(f);
                                        break;
                                }
+                               res = ast_writestream(writer, f);
+                               if (res < 0) {
+                                       ast_log(LOG_WARNING, "Failed to write 
to stream at %s!\n", dest);
+                                       ast_frfree(f);
+                                       break;
+                               }
+                                       
                        }
                        ast_frfree(f);
                }

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to