Recording call with sip.js

649 views
Skip to first unread message

francis...@gmail.com

unread,
Dec 1, 2015, 4:22:43 PM12/1/15
to SIP.js
Hello, can I record an audio call with sip.js?
(I need to record the call directly on the client side, or get the audio from Asterisk or another pbx).
Can be done?

Thanks.

Eric Green

unread,
Dec 16, 2015, 9:32:56 AM12/16/15
to SIP.js, francis...@gmail.com
I am not sure if it possible to record the remote audio stream with WebRTC. I know recording the local audio stream should be possible. SIP.js does not have any built in support for recording, so this is something that you would have to write yourself.

-Eric Green

Joseph Frazier

unread,
Dec 16, 2015, 9:54:39 AM12/16/15
to SIP.js, francis...@gmail.com
Chrome 49 (Canary at the time of writing) offers support for using remote audio streams in the Web Audio API, with which you should be able to record the audio.

Socrates Tsouplakis

unread,
Apr 28, 2016, 9:44:16 AM4/28/16
to SIP.js, francis...@gmail.com
Hi francis,

Have you found a solution?

m.sid...@gmail.com

unread,
Jan 24, 2017, 2:32:40 AM1/24/17
to SIP.js, francis...@gmail.com

In theory you could send SIP INFO message over websocket and ask pbx to record audio. I never tried, but it should work with Asterisk or Freeswitch

Reply all
Reply to author
Forward
0 new messages