[Top][All Lists]

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

[Linphone-developers] Linphone Push Notification Problem Using Pushkit (

From: GQ
Subject: [Linphone-developers] Linphone Push Notification Problem Using Pushkit (IOS)
Date: Wed, 24 Mar 2021 10:08:08 +0000 (UTC)


I am using FusionPBX in conjunction with Pushkit.

When an inbound call is received the relevant push notification is sent by pushkit to wake up up the App on IOS.

The call is received however when I answer the call, it disconnects.

I have run some debugs and tests

I believe that the problem relates to the following:

When we receive the push notification for audio call……..,”CallManager.instance().callByCallId” method always return nil …

let call = CallManager.instance().callByCallId(callId: callId)
if (call != nil) {

let displayName = FastAddressBook.displayName(for: call?.remoteAddress?.getCobject) ?? "Unknow"
let video = UIApplication.shared.applicationState == .active && (lc!.videoActivationPolicy?.automaticallyAccept ?? false) && (call!.remoteParams?.videoEnabled ?? false)
displayIncomingCall(call: call, handle: (call!.remoteAddress?.asStringUriOnly())!, hasVideo: video, callId: callId, displayName: displayName)

} else {

displayIncomingCall(call: nil, handle: "Calling", hasVideo: true, callId: callId, displayName: "Calling")


Can anybody assist with resolving this problem?


reply via email to

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