Guest Scott Hyde Report post Posted 10/15/2004 09:35 AM Hi there I use the voice mail system to manage and record orders using the play and save modules. I then process to database and email etc. I also run a script which then copies and renames the new voice file to 0001_* (ie a voice mail box number) thinking that the message would then also be accessible through the voice mail system. It would seem the vocie mail system does recognise these copied messages as "saved" messages directy here using the windows gui, however none are seen as new messages and when I ring into check my messages none are available at all (new or saved). Is there a way to rename files saved by the record module such that are seen as NEW messages by the voice mail system and accessible through the mailbox system also. Thank for any comments Cheers Share this post Link to post
SupportTeam Report post Posted 10/16/2004 03:28 AM As soon as you save a .wav file in the \VmSave\ directory and it's named correctly then it will be available within the voicemail system. Can you please give us an some examples of what filenames you used and some traces of what you tried to do afterwards. Share this post Link to post
Guest Sscott Hyde Report post Posted 10/17/2004 08:27 AM Hi note I have not enabled CID Number capture but will in future - hence filenames do not include this. the script simply adds 0001_ to the originaly saved name. As I said they appear through windows mailbox as a saved file (now about 190 files) but is not recognised as "new" and not available if I call in and use phone menu sytsem etc. this is Vb Script module as part of "on hangup script" Dim filesys, newfile Set filesys = CreateObject("Scripting.FileSystemObject") Set newfile = filesys.GetFile("$rv[record]") newfile.copy "C:\Program Files\VoiceGuide\data\VmSave\0001_" & right(newfile, 17) original 1017134302_0_.wav saved copy 0001_1017134302_0_.wav thanks Share this post Link to post
SupportTeam Report post Posted 10/17/2004 08:52 PM Have a look in VG's \data\VmSave\ directory to see how VG names saved voicemail files. Basically the format is: VmBox_MMDDHHNNSS_NewFlag_LineID_CallerID_.wav NewFlag: 1=New, 2=Saved. eg: with no CallerID this would be a valid filename: 0002_0429082200_1_8__.wav Share this post Link to post
Guest Guest Report post Posted 10/18/2004 11:07 AM Hi again understand your response - but cant get this to work: VM save file (now with Cid activated) 1018210306_0_0298185536.wav My vb script which errors newfile.copy "C:\Program Files\VoiceGuide\data\VmSave\0001_" & left(newfile, 10) & "_1_0_" & mid(newfile,14,10) & ".wav" cheers last post I hope Share this post Link to post
Guest Scott hyde Report post Posted 10/18/2004 11:14 AM Also tried newfile.copy "C:\Program Files\VoiceGuide\data\VmSave\0001_" & left(newfile, 10) & "_1_0_" & mid(newfile,14,10) & "_.wav" Share this post Link to post
Guest Scott hyde Report post Posted 10/18/2004 10:10 PM Sorry I think I understand the problem. The module saves the full path. Share this post Link to post