linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] Error: You must fill a reason when changing call s


From: Lindsey Vastola
Subject: [Linphone-developers] Error: You must fill a reason when changing call state (from LinphoneCallIncomingReceived o LinphoneCallError)
Date: Tue, 15 Aug 2017 08:30:47 -0400

I am trying to decline an incoming call with the following code: 

func declineCall() {

NSLog("LinphoneManager : declineCall")

linphone_core_decline_call(lc, linphone_core_get_current_call(lc), LinphoneReasonDeclined)

self.stopRelay()

}


and I am getting the following errors:

2017-08-15 08:28:23:321 ortp-message-Call 0x1560cc600: moving from state LinphoneCallIncomingReceived to LinphoneCallError

2017-08-15 08:28:23:323 ortp-message-Resetting the current call

2017-08-15 08:28:23:323 ortp-error-linphone_call_set_state(): You must fill a reason when changing call state (from LinphoneCallIncomingReceived o LinphoneCallError).

2017-08-15 08:28:23.324080-0400 Setec[12482:501027] callStateChanged: LinphoneCallError

2017-08-15 08:28:23:324 ortp-message-Linphone core [0x156057800] notifying [call_state_changed]

2017-08-15 08:28:23:327 ortp-message-Call 0x1560cc600: moving from state LinphoneCallError to LinphoneCallReleased

2017-08-15 08:28:23.328112-0400 Setec[12482:501027] callStateChanged: Default call state

2017-08-15 08:28:23:328 ortp-message-Linphone core [0x156057800] notifying [call_state_changed]

2017-08-15 08:28:23:328 ortp-message-Call [0x1560cc600] freed.

2017-08-15 08:28:23:328 ortp-message-op [0x155d83b80] : set_or_update_dialog() current=[0x1701cb5e0] new=[0x0]

2017-08-15 08:28:23:341 ortp-message-Notifying soundcard that we don't need it anymore for calls.

2017-08-15 08:28:23:341 ortp-message-Call 0x1560cc600: moving from state LinphoneCallReleased to LinphoneCallEnd


lc and the current call aren't nil. What am I doing wrong? 


reply via email to

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