Ionic Record Conversations in phone


#1

does someone know, how to create an app using ionic that can record conversations while phoning?
Help me~ thanks :smile:


#2

I think you’re not supposed to ask people on this forum to create things for you. But other than that, to answer your question, use google voice.


#3

thanks for answer :smile_cat:


#4

Hi,

I’m not sure if you can catch the voice when you are calling as it is a separate process. You can record from the Microphone maybe, by using cordova-media-plugin.


#5

hi @Devniz i’m a try cordova-media-plugin , but i’m confused would the caller’s voice will recorded? oh if you have another opinion help me ok? :wink:

thanks for your answer :smile:


#6

@RehatulAmbar I may be wrong but to do that I don’t think it’s achievable by only using Ionic. You probably will need to do something native and still the device witch will use you’re App will need to be root to be able to catch and redirect the internal calling sound. What I was saying it’s you only can record external audio source from the mic but internal like a call conversation, I’m not aware about any solution doing this.


#7

I have to try but yeah may be I will say to my boss that is impossible~ thanks @Devniz


#8

Hi I got a solution. We can record calls with cordova-media-plugin plugin in android.
First install the media Plugin by executing the following command
cordova plugin add cordova-plugin-media
Then goto the Plugin folder and traverse into the following file “plugins\cordova-plugin-media\src\android\AudioPlayer.java” . Here in the startRecording function we have line
this.recorder.setAudioSource(MediaRecorder.AudioSource.MIC); line number is 154
Change it to this.recorder.setAudioSource(MediaRecorder.AudioSource.VOICE_CALL);

We can replace MIC with any audio source in the following link. for example VOICE_COMMUNICATION,VOICE_DOWNLINK,VOICE_RECOGNITION etc
https://developer.android.com/reference/android/media/MediaRecorder.AudioSource.html


#9

I’d look into one-party / two-party consent laws too (if using in the US)


#10

Yes some countries have some restrictions to record conversations
Below link have some brief explantion.
http://www.dmlp.org/legal-guide/recording-phone-calls-and-conversations

If you have good knowledge in this share with us here.


#11

In the US, the majority of states (around 32-38) are one-party consent states. that means only one person in a conversation needs to know that a recording is being made.

In two party states, both individuals need to be aware that they are being recorded.

BUT, it is illegal in all states to record a conversation that you are not personally involved in.

That’s as much as I know my friend


#12

Citation needed. I know Illinois in particular had a law that was used to prosecute people who were recording police activity and it was shot down by the courts. My understanding is that in most jurisdictions, you can record anything that takes place in a public space, whether you’re involved in it or not. Not that that’s particularly relevant for what’s being discussed here unless the app is being deployed in some sort of kiosk environment.

PS: I find EPIC pretty reliable for these sorts of things, and this looks like a pretty comprehensive resource.


#13

I’ll rephrase to it is illegal to record any telephone conversation you are not taking part in. This = wiretapping.

Conversations that take place in daily life, yes, are subject to reasonable expectation of privacy.

Further, because it is a state by state issue, if an individual in TN (one party consent) records a phone conversation with someone in California (two party consent) they may be in breach of the law because the California native was not made aware.

These laws , as @rapropos mentioned, are further complicated when police activity is involved. Landlords too (personal experience citation goes here). Probably also not particularly relevant, but interesting nonetheless

Choppy waters