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
sayer/1.4-spce2.6
Stefan Sayer 18 years ago
parent 6844c6f13a
commit 7c5342dd3c

@ -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);

Loading…
Cancel
Save