Start with a reasonable default timeout in parkandannounce
authorJames Golovich <james@gnuinter.net>
Sun, 25 Apr 2004 19:44:03 +0000 (19:44 +0000)
committerJames Golovich <james@gnuinter.net>
Sun, 25 Apr 2004 19:44:03 +0000 (19:44 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2758 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_parkandannounce.c

index 2b6404b..93cc6bc 100755 (executable)
@@ -57,7 +57,7 @@ static int parkandannounce_exec(struct ast_channel *chan, void *data)
 {
   int res=0;
   char *return_context;
-  int l, lot, timeout, dres;
+  int l, lot, timeout = 0, dres;
   char *working, *context, *exten, *priority, *dial, *dialtech, *dialstr;
   char *template, *tpl_working, *tpl_current;
   char *tmp[100];