[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Help required in Linphone IOS

From: ios developer
Subject: Re: [Linphone-developers] Help required in Linphone IOS
Date: Sun, 1 Nov 2020 22:35:25 +0530

@varun , could please let me know are you able to get the push notification when the app is in the background or terminated, i am getting the problem when the app is in this state

On Sun, Nov 1, 2020 at 1:50 PM varun pratapsingh <> wrote:
Hi All,

I am able to compile the iOS Linphone application and run it on my device. But I want to record each outgoing and incoming calls and then upload the recordings to a custom location. I am able to do outgoing calls and receive incoming calls as well but then below call states are never called by the iOS Linphone framework which makes my job impossible. 

In file CallView.m the states in the below functions are not called. 

(void)callUpdate:(LinphoneCall *)call state:(LinphoneCallState)state animated:(BOOL)animated {


    switch (state) {
        case LinphoneCallStateConnected:
        case LinphoneCallStateStreamsRunning:
        case LinphoneCallOutgoingInit:
            [self generateCallData];
            [self saveCallData];
            [self startRecording];


        case LinphoneCallPausing:
        case LinphoneCallPaused:
        case LinphoneCallStatePausedByRemote:
            [self pauseResumeRecording:TRUE];


        case LinphoneCallStateResuming:
            [self pauseResumeRecording:FALSE];



        case LinphoneCallEnd:
        case LinphoneCallError:
            [self stopRecording];
            [self nullCallData];



Please help me in finding the solution for this. 

Thanks in advance!

Thanks and Regards

Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]