Spying channel and recording at a same time

rated by 0 users
This post has 6 Replies | 2 Followers

Not Ranked
Male
Posts 5
Points 115

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 ?

 

  • | Post Points: 35
Top 25 Contributor
Posts 262
Points 3,254
Dialogic Employee

Hi,

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

  • | Post Points: 5
Top 10 Contributor
Posts 286
Points 4,841

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

 

  • | Post Points: 20
Top 500 Contributor
Male
Posts 23
Points 220

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.

  • | Post Points: 20
Top 75 Contributor
Posts 64
Points 1,030

Please let me know if you find a solution.  I'm interested in implementing the same functionality.

 

Mark Sulkowski
DigRAD Solutions AB
Linköping, Sweden

  • | Post Points: 20
Top 500 Contributor
Male
Posts 23
Points 220

Hi,

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.

 

  • | Post Points: 5
Top 500 Contributor
Male
Posts 23
Points 220

Same subject is handled here :

 

http://www.dialogic.com/den/forums/p/4566/17928.aspx#17928

  • | Post Points: 5
Page 1 of 1 (7 items) | RSS