Merge "astobj2: Create function to copy weak proxied objects from container."
[asterisk/asterisk.git] / apps / app_dictate.c
index 8f229f2..d184512 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Anthony Minessale II <anthmct@yahoo.com>
  *
- * Donated by Sangoma Technologies <http://www.samgoma.com>
+ * Donated by Sangoma Technologies <http://www.sangoma.com>
  *
  * See http://www.asterisk.org for more information about
  * the Asterisk project. Please do not directly contact
@@ -33,8 +33,6 @@
 
 #include "asterisk.h"
 
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
 #include <sys/stat.h>
 
 #include "asterisk/paths.h" /* use ast_config_AST_SPOOL_DIR */
@@ -175,7 +173,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data)
                                ast_queue_frame(chan, &fr);
                                digit = 0;
                        }
-                       if ((f->frametype == AST_FRAME_DTMF)) {
+                       if (f->frametype == AST_FRAME_DTMF) {
                                int got = 1;
                                switch(mode) {
                                case DMODE_PLAY:
@@ -202,7 +200,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data)
                                                samples += ffactor;
                                                ast_seekstream(fs, samples, SEEK_SET);
                                                break;
-                                               
+
                                        default:
                                                got = 0;
                                        }
@@ -258,7 +256,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data)
                                                break;
                                        }
                                }
-                               
+
                        } else if (f->frametype == AST_FRAME_VOICE) {
                                switch(mode) {
                                        struct ast_frame *fr;
@@ -330,7 +328,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data)
                                        }
                                        break;
                                }
-                               
+
                        }
 
                        ast_frfree(f);
@@ -355,4 +353,4 @@ static int load_module(void)
        return ast_register_application_xml(app, dictate_exec);
 }
 
-AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Virtual Dictation Machine");
+AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Virtual Dictation Machine");