Author: sayer
Date: 2008-08-20 13:03:53 +0200 (Wed, 20 Aug 2008)
New Revision: 1058

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

Modified: trunk/apps/ann_b2b/AnnounceB2B.cpp
===================================================================
--- trunk/apps/ann_b2b/AnnounceB2B.cpp  2008-07-16 16:41:50 UTC (rev 1057)
+++ trunk/apps/ann_b2b/AnnounceB2B.cpp  2008-08-20 11:03:53 UTC (rev 1058)
@@ -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