Author: sayer
Date: 2008-08-20 13:05:54 +0200 (Wed, 20 Aug 2008)
New Revision: 1059

Modified:
   branches/1.0.0/apps/ann_b2b/AnnounceB2B.cpp
Log:
fixed bug when user specific audio files are not used. Patch by Jeremy A 
(backport from trunk)

Modified: branches/1.0.0/apps/ann_b2b/AnnounceB2B.cpp
===================================================================
--- branches/1.0.0/apps/ann_b2b/AnnounceB2B.cpp 2008-08-20 11:03:53 UTC (rev 
1058)
+++ branches/1.0.0/apps/ann_b2b/AnnounceB2B.cpp 2008-08-20 11:05:54 UTC (rev 
1059)
@@ -83,12 +83,12 @@
     
   DBG("trying '%s'\n",announce_file.c_str());
   if(file_exists(announce_file))
-    new AnnounceCallerDialog(announce_file);
+    return new AnnounceCallerDialog(announce_file);
     
   announce_file = announce_path + req.user + ".wav";
   DBG("trying '%s'\n",announce_file.c_str());
   if(file_exists(announce_file))
-    new AnnounceCallerDialog(announce_file);
+    return new AnnounceCallerDialog(announce_file);
     
   announce_file = AnnouncePath + AnnounceFile;
   return new AnnounceCallerDialog(announce_file);

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to