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.
2009/7/6 Iñaki Baz Castillo ibc@aliax.net:
- How to extract the audio from these files? note that the used codec
could be G729, ALAW, GSM...
I'm looking at RTP Tools [*], but I don't expect they will be useful for it. However, I get segmentfault when using "rtpdump" command XD
[*] http://www.cs.columbia.edu/irt/software/rtptools/
Hi, Iñaki....
In an automatic way, I'm looking also...
As an exercise, I used Wireshark.... it could identify the flows, but that's it... I also didn't find a way to extract the audio...
Edson.
Iñaki Baz Castillo escreveu:
2009/7/6 Iñaki Baz Castillo ibc@aliax.net:
- How to extract the audio from these files? note that the used codec
could be G729, ALAW, GSM...
I'm looking at RTP Tools [*], but I don't expect they will be useful for it. However, I get segmentfault when using "rtpdump" command XD
2009/7/6 Edson - Lists 4lists@gmail.com:
Hi, Iñaki....
In an automatic way, I'm looking also...
As an exercise, I used Wireshark.... it could identify the flows, but that's it... I also didn't find a way to extract the audio...
Of course, I cannot use Wireshark in a production environment for recording hundreds of calls a day XD
I think that I find a useful link: http://lists.rtpproxy.org/pipermail/users/2009-March/000137.html
Right now I can't test it, but seems a good path...
Edson.
Iñaki Baz Castillo escreveu:
2009/7/6 Edson - Lists 4lists@gmail.com:
Hi, Iñaki....
In an automatic way, I'm looking also...
As an exercise, I used Wireshark.... it could identify the flows, but that's it... I also didn't find a way to extract the audio...
Of course, I cannot use Wireshark in a production environment for recording hundreds of calls a day XD
2009/7/6 Edson - Lists 4lists@gmail.com:
I think that I find a useful link: http://lists.rtpproxy.org/pipermail/users/2009-March/000137.html
Right now I can't test it, but seems a good path...
Really interesting, thanks a lot. However, it requires "rtpproxy version 1.2" ¿?¿?¿
My version is the trunk version:
~# rtpproxy -v Basic version: 20040107 Extension 20050322: Support for multiple RTP streams and MOH Extension 20060704: Support for extra parameter in the V command Extension 20071116: Support for RTP re-packetization Extension 20071218: Support for forking (copying) RTP stream Extension 20080403: Support for RTP statistics querying Extension 20081102: Support for setting codecs in the update/lookup command Extension 20081224: Support for session timeout notifications
And I cannot see "-P option" ¿?
Thanks.
Well, now this is a question that I'm by the opinion that Maxim could help us.... ;)
Edson
Iñaki Baz Castillo escreveu:
2009/7/6 Edson - Lists 4lists@gmail.com:
I think that I find a useful link: http://lists.rtpproxy.org/pipermail/users/2009-March/000137.html
Right now I can't test it, but seems a good path...
Really interesting, thanks a lot. However, it requires "rtpproxy version 1.2" ¿?¿?¿
My version is the trunk version:
~# rtpproxy -v Basic version: 20040107 Extension 20050322: Support for multiple RTP streams and MOH Extension 20060704: Support for extra parameter in the V command Extension 20071116: Support for RTP re-packetization Extension 20071218: Support for forking (copying) RTP stream Extension 20080403: Support for RTP statistics querying Extension 20081102: Support for setting codecs in the update/lookup command Extension 20081224: Support for session timeout notifications
And I cannot see "-P option" ¿?
Thanks.
2009/7/6 Edson - Lists 4lists@gmail.com:
Well, now this is a question that I'm by the opinion that Maxim could help us.... ;)
Ok, tested. The CVS trunk version is, of course, >= 1.2 and includes the -P option (even if doc says nothing).
I've tryed the above solution (using rtpbreak) and works nice.
Great news...
You hit the point... RTPProxy is really a great peace of software, but the same can't be said about it's documentation... :(
Well, at least this procedure is now tested and (why not?) could be described in the Wiki...
Edson.
Iñaki Baz Castillo escreveu:
2009/7/6 Edson - Lists 4lists@gmail.com:
Well, now this is a question that I'm by the opinion that Maxim could help us.... ;)
Ok, tested. The CVS trunk version is, of course, >= 1.2 and includes the -P option (even if doc says nothing).
I've tryed the above solution (using rtpbreak) and works nice.
Hello How do I know what´s the port range my Kamailio and RTPproxy are using for the media stream? I need that to configure IPtables. Thanks Regards Joao Pereira
2009/7/6 Joao Gomes Pereira gomespereira@startel.pt:
Hello How do I know what´s the port range my Kamailio and RTPproxy are using for the media stream?
Read rtpproxy manpage.
-m and -M options.