Hi, I'm using start_recording() function of nathelper module. I use "-R" option in rtpproxy daemon in order not to record RTCP. start_recording() is called in route and onreply_route.
After the call ends I see the following files in the recording directory:
283K 2009-07-06 13:41 1e54fbae418504a40744ad765718792a@212.230.19.1=38a3b929-co1782-INS001;1.a.rtp 275K 2009-07-06 13:41 1e54fbae418504a40744ad765718792a@212.230.19.1=38a3b929-co1782-INS001;1.o.rtp 0 2009-07-06 13:41 1e54fbae418504a40744ad765718792a@212.230.19.1=38a3b929-co1782-INS001;2.a.rtp 0 2009-07-06 13:41 1e54fbae418504a40744ad765718792a@212.230.19.1=38a3b929-co1782-INS001;2.o.rtp
Some questions:
- "1.a.rtp" is one direction and "1.o.rtp" the other, right?
- What are the last two files (0 size)?
- How to extract the audio from these files? note that the used codec could be G729, ALAW, GSM...
Thanks a lot.