From 7c5342dd3cb06e38d424d83efd37f0747b435c58 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 20 Aug 2008 11:03:53 +0000 Subject: [PATCH] fixed bug when user specific audio files are not used. Patch by Jeremy A git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1058 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/ann_b2b/AnnounceB2B.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ann_b2b/AnnounceB2B.cpp b/apps/ann_b2b/AnnounceB2B.cpp index e46cf435..aaaccba5 100644 --- a/apps/ann_b2b/AnnounceB2B.cpp +++ b/apps/ann_b2b/AnnounceB2B.cpp @@ -83,12 +83,12 @@ AmSession* AnnounceB2BFactory::onInvite(const AmSipRequest& req) 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);