Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Phone number and number of msgs 1

Status
Not open for further replies.

oleggrk

MIS
Feb 24, 2005
59
Hello everyone,

Does somebody know where IP Office keeps total number of messages (could be a simple count I guess) and the phone number of the person who left the message for the particular mailbox? I'm trying to automate the message processing so that they will be moved to client's folder after processing just to keep history of transactions...

Thanks a lot.

Oleg
 
I tried this but got errors:
_______________________________________________-
Private Sub GetTime()
Dim fileName = txtFILE.Text
Dim TempUInt32 As UInt32, RecordTimeinSeconds As String, SecondsPerDay
TempUInt32 = System.BitConverter.ToUInt32(fileName.ChunkData, 96)
RecordTimeinSeconds = System.Convert.ToInt64(TempUInt32)
Dim FileTimeSpan As TimeSpan = New TimeSpan(RecordTimeinSeconds \ SecondsPerDay, 0, 0, RecordTimeinSeconds Mod SecondsPerDay)
ListBox1.Items.Add(FileTimeSpan)
End Sub
___________________________________________________________

Any ideas?
 
Make sure you look at the
System.BitConverter.ToUInt32(AvayaChunk.ChunkData, 96)
statement. This is *AFTER* I had already read the Chunk ID and size. So Offset 104 (from my first post) - 4 bytes (Chunk ID) - 4 bytes (Chunk size) = 96
I have a whole real class & data structure for this. So you can actually just do a:
AvayaWaveFile = New AvayaWave(PATH TO WAVEFILE)
and it takes care of the rest. You can then access the properties directly and not have to worry about the low level. Fairly neat.

Also, I think I just figured out my problem with the time offset/Daylight saving thing. I believe the date/time is stored in UTC/GMT and then you have to then switch it to the users date/time zone. I just did the calculation and it seems to fit.
So you can change the magic date/time to January 1, 1901 at 00:00:00 UTC and then switch that to the users TZ.

HTH.
 
Lets take this off list now. I hate to annoy the other users of the forum by keep on bumping our thread up.

matallgood 'the at symbol' horsleyco dot com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top