[SR-Users] record calls audio and video
Saul Waizer
saulwaizer at gmail.com
Tue Jun 5 20:21:47 CEST 2012
Hello Daniel & List,
This is the relevant information:
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
/etc/default/rtpproxy config:
CONTROL_SOCK="udp:127.0.0.1:7722"
EXTRA_OPTS=" -d DBUG:LOG_LOCAL5 -R -a -P -r /tmp/rtppath -S /tmp/rtpspool
-u kamailio -l 127.0.0.1"
I am running Kamailio and rtpprox on ec2
I do have a DBUG log for it, one interesting thing to point out: On the
above line notice how I have 127.0.0.1, I changed this from my external ip
address because i was getting the following on the rtpproxy log:
Jun 5 15:42:55 ip-10-x-x-x rtpproxy[6526]: INFO:handle_command: new
session NmJlNDNhOTA0YmYwZTZhYTEyMTQ4ZDIxY2IxNzQzYmM., tag 2c249068;1
requested, type strong
Jun 5 15:42:55 ip-10-x-x-x rtpproxy[6526]: ERR:create_twinlistener: can't
bind to the IPv4 port 59794: Cannot assign requested address
Jun 5 15:42:55 ip-10-x-x-x rtpproxy[6526]: ERR:handle_command: can't
create listener
Jun 5 15:42:55 ip-10-x-x-x rtpproxy[6526]: DBUG:doreply: sending reply
"6545_8 E10#012"
Jun 5 15:43:01 ip-10-x-x-x rtpproxy[6526]: DBUG:handle_command: received
command "6556_12 Lc0,8,101 NmJlNDNhOTA0YmYwZTZhYTEyMTQ4ZDIxY2IxNzQzYmM.
some.ip 56536 2c249068;1 c51afb04;1"
Jun 5 15:43:01 ip-10-x-x-x rtpproxy[6526]: INFO:handle_command: lookup
request failed: session NmJlNDNhOTA0YmYwZTZhYTEyMTQ4ZDIxY2IxNzQzYmM., tags
2c249068;1/c51afb04;1 not found
This is expected because rtpproxy cant assign a port to the ec2 external ip
instance, however I see that rtpproxy IS in fact trying to record but I
just end up with a bunch of empty .rtp files.
Any suggestions are greatly appreciated.
On Tue, Jun 5, 2012 at 3:28 AM, Daniel-Constantin Mierla
<miconda at gmail.com>wrote:
> Hello,
>
> what is the rtpproxy version? Have you run it in debug mode as well?
>
> Cheers,
> Daniel
>
>
> On 6/5/12 6:46 AM, Saul Waizer wrote:
>
> Unfortunately, I've had no luck with the rtpproxy module.
>
> I have rtpproxy server running and support is enabled for it (verified
> by logs), however it doesn't seem to record any sessions.
>
> This is my rtpproxy running:
>
> /usr/sbin/rtpproxy -s udp:127.0.0.1 7722 -p
> /var/run/rtpproxy/rtpproxy.pid -R -a -P -r /tmp/rtppath -S /tmp/rtpspool
>
> According to the docs:
>
> "*-a*
> Record all sessions going through the RTPproxy unconditionally. By default
> the RTPproxy requires call control software (i.e. SER, OpenSER or B2BUA) to
> enable recording explicitly on per-session basis by sending appropriate
> record command."
>
> Any ideas?
>
> On Mon, Jun 4, 2012 at 2:07 PM, Ovidiu Sas <osas at voipembedded.com> wrote:
>
>> You can use the rtpproxy module along with the rtpproxy server:
>> http://kamailio.org/docs/modules/stable/modules/rtpproxy.html#id2529838
>> http://www.rtpproxy.org/
>>
>> Regards,
>> Ovidiu Sas
>>
>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>>
>> On Mon, Jun 4, 2012 at 1:47 PM, Saul Waizer <saulwaizer at gmail.com> wrote:
>> > Hello List,
>> >
>> > I am looking for a way to record the audio and video of a call. I am
>> > using Kamailio (latest) on Ubuntu.
>> >
>> > Does anyone know if there's any existing modules that allow for
>> recording or
>> > any other solution that can provide recording of calls on Kamailio?
>> >
>> > Thank you!
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
> Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120605/8f0e1d5a/attachment.htm>
More information about the sr-users
mailing list