Hello,

o Randy Jackson [01/27/09 05:29]:
Stefan,
For SEMS 1.1.0, where in the code controls the deletion of message for the voicemail application. I would like to temporarily disable it? I need to collect some messages for analysis.
it is saved to a temporary file. Try this change:

Index: AnswerMachine.cpp
===================================================================
--- AnswerMachine.cpp   (revision 1237)
+++ AnswerMachine.cpp   (working copy)
@@ -830,7 +830,7 @@
     + AnswerMachineFactory::RecFileExt;

   if (vm_mode != MODE_ANN) {
-    if(a_msg.open(msg_filename,AmAudioFile::Write,true))
+    if(a_msg.open(msg_filename,AmAudioFile::Write,false))
       throw string("AnswerMachine: couldn't open ") +
        msg_filename + string(" for writing");
   }

and look into /tmp on the voicemail server.

Regards
Stefan

Thanks,
-Randy


------------------------------------------------------------------------

avast! Antivirus <http://www.avast.com>: Outbound message clean.

Virus Database (VPS): 090116-0, 01/16/2009
Tested on: 1/26/2009 11:29:24 PM
avast! - copyright (c) 1988-2009 ALWIL Software.



--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Am Borsigturm 40
13507 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to