Hi,
I am using HMP 3.1L and I am looking for a way to record a conversation (transaction record) and to spy it from a third channel.
I had two ideas for that :
- using a conference bridge (bad because it uses conference ressources => expensive)
- Reading the recorded file with a little time offset (I am not sure it is possible to read a file thatis currently recorded).
Would someone have another suggestion ?
I'd recommend using either recording to memory or using the streaming to board APIs. If you look into DX_IOTT documentation for starters, you'll see your choices for how to do the recording. Recording to memory allows for quicker access to the info for the spying channel. The application is responsible for saving the data into a file if you want it as a recording as well as data played to the spying channel.
Hopefully this helps get you started, please let me know if you have specific questions.
-Joe
Hi Fred,
last possibility reading file with offset should be possible, if you open the recorded file with shared flags. I have tried in the past the quite reverse way and it worked: other application has written to the opened file, that was just played "with a little time offset" using dx_XXXX API.
Jarek
Thanks for this.
I will test it. I hope the recording is quickly flushed on disk.
But would you have and idea how to calculate the offset from the beginning of the file.
I mean, if a spyer is going to listen to a conversion that has already began, I have to know at wich position of the file I have to start the reading.
Please let me know if you find a solution. I'm interested in implementing the same functionality.
Mark SulkowskiDigRAD Solutions ABLinköping, Sweden
I tried to record (transaction record) into a file opened with flags O_RDWR|O_CREAT|O_TRUNC|O_SYNC, and to play the same file from another channel one second later.
It seems that data of the record is not directly flushed to disk, as I receive a TM_EOD very quickly on the listening channel.
Same subject is handled here :
http://www.dialogic.com/den/forums/p/4566/17928.aspx#17928