<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Call is not getting initiated in terminated  state. in Discussion Forum</title>
    <link>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11255#M124</link>
    <description>&lt;P&gt;Hi Himanshu,&lt;/P&gt;
&lt;P&gt;Sorry to hear you are having issues,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please ensure you are&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Using the latest SDK&amp;nbsp; &amp;nbsp;&lt;A href="https://developers.sinch.com/docs/in-app-calling/sdk-downloads/" target="_blank"&gt;https://developers.sinch.com/docs/in-app-calling/sdk-downloads/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Set up push correctly for iOS&amp;nbsp;&lt;A href="https://developers.sinch.com/docs/in-app-calling/ios/push-notifications-callkit/" target="_blank"&gt;https://developers.sinch.com/docs/in-app-calling/ios/push-notifications-callkit/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Have tested the functionality with our sample applications included with the SDK. In this case SinchCallKit&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Top Tips&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Check the debug area / Console in XCode for the incoming push payload. (example below)&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;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 -&amp;gt; createClientIfNeeded()&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should you face further issues and require more clarification, may I suggest you open a ticket via our portal:&amp;nbsp;&amp;nbsp;&lt;A href="https://tickets.sinch.com/plugins/servlet/desk/portal/31" target="_blank"&gt;https://tickets.sinch.com/plugins/servlet/desk/portal/31.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please include call-ids so we can troubleshoot in detail for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2023 12:39:37 GMT</pubDate>
    <dc:creator>Roland_Ian</dc:creator>
    <dc:date>2023-03-23T12:39:37Z</dc:date>
    <item>
      <title>Call is not getting initiated in terminated  state.</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11253#M123</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Cannot initiate call if app is in closed state in iPhone.&lt;BR /&gt;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.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 09:40:57 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11253#M123</guid>
      <dc:creator>himanshu</dc:creator>
      <dc:date>2023-03-24T09:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Call is not getting initiated in terminated  state.</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11255#M124</link>
      <description>&lt;P&gt;Hi Himanshu,&lt;/P&gt;
&lt;P&gt;Sorry to hear you are having issues,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please ensure you are&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Using the latest SDK&amp;nbsp; &amp;nbsp;&lt;A href="https://developers.sinch.com/docs/in-app-calling/sdk-downloads/" target="_blank"&gt;https://developers.sinch.com/docs/in-app-calling/sdk-downloads/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Set up push correctly for iOS&amp;nbsp;&lt;A href="https://developers.sinch.com/docs/in-app-calling/ios/push-notifications-callkit/" target="_blank"&gt;https://developers.sinch.com/docs/in-app-calling/ios/push-notifications-callkit/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Have tested the functionality with our sample applications included with the SDK. In this case SinchCallKit&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Top Tips&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Check the debug area / Console in XCode for the incoming push payload. (example below)&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;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 -&amp;gt; createClientIfNeeded()&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should you face further issues and require more clarification, may I suggest you open a ticket via our portal:&amp;nbsp;&amp;nbsp;&lt;A href="https://tickets.sinch.com/plugins/servlet/desk/portal/31" target="_blank"&gt;https://tickets.sinch.com/plugins/servlet/desk/portal/31.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please include call-ids so we can troubleshoot in detail for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:39:37 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11255#M124</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-03-23T12:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Call is not getting initiated in terminated  state.</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11274#M133</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Himanshu,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the above information helped you solve your issue - please mark the response above as an Accepted Solution by clicking the &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt; button below the above post.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and kind regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 09:13:16 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/Call-is-not-getting-initiated-in-terminated-state/m-p/11274#M133</guid>
      <dc:creator>Shahzad_Ismail</dc:creator>
      <dc:date>2023-03-30T09:13:16Z</dc:date>
    </item>
  </channel>
</rss>

