cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Call is not getting initiated in terminated state.

himanshu
New Contributor

Cannot initiate call if app is in closed state in iPhone.
If app is in background, i am receiving call but if app is in closed state then notification is received from server but call is not getting initiated.

2 REPLIES 2

Roland_Ian
Employee
Employee

Hi Himanshu,

Sorry to hear you are having issues, 

Please ensure you are 

Top Tips

Check the debug area / Console in XCode for the incoming push payload. (example below)

2023-03-23 13:25:20.162672+0100 SinchCallKit[336:7799] [AppDelegate] didReceiveIncomingPushWithPayload: {
    aps =     {
        alert =         {
            "loc-key" = "SIN_INCOMING_CALL";
        };
    };
    sin = "{\"domain\":\"mxp\",\"flags\":0,\"public_headers\":{},\"session_id\":\"XXXXXXXXX-F4E9-XXXX-BE44-XXXXXXXXXXX\",\"timestamp\":1679574319,\"type\":1,\"user_id\":\"test_user\",\"version\":4}";
}
2023-03-23 13:25:20.162733+0100 SinchCallKit[336:7795] [push] -[PKPushRegistry pushRegistry:didReceiveIncomingPushWithPayload:forType:withCompletionHandler:]
2023-03-23 13:25:20.163340+0100 SinchCallKit[336:7799] [SINCallKitMediator] reportNewIncomingCallToCallKit: ckid:XXXXXXXXX-D3FE-XXXX-97DD-XXXXXXXXXXXXX callId:XXXXXXXXXX-F4E9-XXXXX-BE44-XXXXXXXXXXXXXX
2023-03-23 13:25:20.189542+0100 SinchCallKit[336:7634] [AppDelegate] handlePushNotification -> createClientIfNeeded()

 

Should you face further issues and require more clarification, may I suggest you open a ticket via our portal:  https://tickets.sinch.com/plugins/servlet/desk/portal/31.

Please include call-ids so we can troubleshoot in detail for you.

 

 

Roland-Ian Clothier, Developer Support Engineer

Shahzad_Ismail
Community Manager
Community Manager

Hi Himanshu,

If the above information helped you solve your issue - please mark the response above as an Accepted Solution by clicking the Accept as Solution button below the above post.

Thanks and kind regards,

 

Shahzad Ismail
Head of Knowledge Management and Community Engagement, Sinch