<?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: I have an issue with conferenceCallout. enableAce and enableDice params don't work in Discussion Forum</title>
    <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12864#M358</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Roland_Ian!&lt;BR /&gt;Any updates on my issue?&lt;BR /&gt;Is there any other way to implement this call to get all the events in webhooks?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 15:17:39 GMT</pubDate>
    <dc:creator>valentinpazushko</dc:creator>
    <dc:date>2023-10-26T15:17:39Z</dc:date>
    <item>
      <title>I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12698#M321</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I’m trying to make a phone-to-app call.&amp;nbsp;On ICE event of incoming PSTN call I response SVAML :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "action": {
    "name": "ConnectConf",
    "conferenceId": "InAppToPSTN",
    "moh": "ring"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I use&lt;SPAN&gt;&amp;nbsp;the Voice / Calling API ConferenceCallout request to add the InApp client to the same conference:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;$this-&amp;gt;httpClient
    -&amp;gt;requestAsync('POST', 'https://calling.api.sinch.com/calling/v1/callouts', [
        RequestOptions::HEADERS =&amp;gt; [
            'x-timestamp' =&amp;gt; $now,
            'Authorization' =&amp;gt; "application {$appId}:{$authorizationSignature}",
        ],
        RequestOptions::JSON =&amp;gt; [
            'method' =&amp;gt; 'conferenceCallout',
            'conferenceCallout' =&amp;gt; [
                'destination' =&amp;gt; [
                    'type' =&amp;gt; 'username',
                    'endpoint' =&amp;gt; 'user-698',
                ],
                'conferenceId' =&amp;gt; 'InAppToPSTN',
                'cli' =&amp;gt; '+E.164',
                'maxDuration' =&amp;gt; 3600,
                'enableAce' =&amp;gt; true,
                'enableDice' =&amp;gt; true,
        ],
    ])
    -&amp;gt;then(function(ResponseInterface $response): ?array {
        if ($response-&amp;gt;getStatusCode() === 204) {
            return null;
        }

        return json_decode($response-&amp;gt;getBody()-&amp;gt;getContents(), true);
    });&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I removed the generation of $authorizationSignature to save space.&lt;BR /&gt;&lt;BR /&gt;The problem is that I am not receiving ACE and DICE callbacks of second call leg.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 09:40:02 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12698#M321</guid>
      <dc:creator>valentinpazushko</dc:creator>
      <dc:date>2023-10-05T09:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12703#M324</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Sorry for the delay in responding here.&lt;/P&gt;
&lt;P&gt;Currently we do not support ACE or DICE for connectConf towards an inApp destination.&lt;/P&gt;
&lt;P&gt;If this changes I will update on this thread.&lt;/P&gt;
&lt;P&gt;We will alter the documentation to make this a bit clearer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am checking if&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 17:14:26 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12703#M324</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-10-03T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12705#M325</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;Thank you for your answer.&lt;BR /&gt;&lt;SPAN&gt;Is there any other way to make phone-to-app call?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 08:23:27 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12705#M325</guid>
      <dc:creator>valentinpazushko</dc:creator>
      <dc:date>2023-10-04T08:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12707#M330</link>
      <description>&lt;P&gt;No, but doing this will enable you to proceed I believe:&lt;/P&gt;
&lt;P&gt;1: Dial your purchased number (DiD) and put the PSTN leg into the conference with &lt;STRONG&gt;connectConf&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The ICE from this will arrive with call-id&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;2. Use conferenceCallout to put the inApp leg into the conference&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You call Id will be returned form the API call.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;3. Verify your participants in the conference with &lt;STRONG&gt;Get Conference Info&lt;/STRONG&gt; GET&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://calling.api.sinch.com/calling/v1/conferences/id/{conference_name}" target="_blank"&gt;https://calling.api.sinch.com/calling/v1/conferences/id/{conference_name}&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in this case the conference_name being InAppToPSTN&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;LI-CODE lang="javascript"&gt;{
"participants": [
{
"cli": "+46111111111",
"id": "XXXXXXX-7859-422e-8d14-XXXXXXXXXXXX",
"duration": 22,
"muted": false,
"onhold": false
},
{
"cli": " +46222222222",
"id": "XXXXXX-c1da-49b7-b1e1-XXXXXXXXXXXX",
"duration": 11,
"muted": false,
"onhold": false
}
]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. When you recieve the DICE for the PSTN leg you can run &lt;STRONG&gt;Get Conference Info&lt;/STRONG&gt; to see if all participants have left, if the mxp leg has not hung up you can issue Kick participant&lt;/P&gt;
&lt;P&gt;DELETE&amp;nbsp;&lt;SPAN data-offset-key="8th1p-0-0"&gt;&lt;A href="https://calling.api.sinch.com/calling/v1/conferences/id/" target="_blank"&gt;https://calling.api.sinch.com/calling/v1/conferences/id/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;{confererence_name&lt;/SPAN&gt;&lt;SPAN data-offset-key="8th1p-2-0"&gt;}&lt;/SPAN&gt;&lt;SPAN data-offset-key="8th1p-2-0"&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;{callid&lt;/SPAN&gt;&lt;SPAN data-offset-key="8th1p-4-0"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;{
"participants": []
}&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the participants array is empty then the conference is finished.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Oct 2023 09:29:39 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12707#M330</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-10-04T09:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12769#M340</link>
      <description>&lt;P&gt;Sorry, I didn't understand the first step.&amp;nbsp;&lt;SPAN&gt;Can you explain more, please?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 12:07:55 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12769#M340</guid>
      <dc:creator>valentinpazushko</dc:creator>
      <dc:date>2023-10-11T12:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12774#M342</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Sure. You are already doing this part.&lt;/P&gt;
&lt;P&gt;When you issue&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "action": {
    "name": "ConnectConf",
    "conferenceId": "InAppToPSTN",
    "moh": "ring"
  }
}&lt;/LI-CODE&gt;
&lt;P&gt;You will have recieved a call-id in the ICE&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;event: 'ice',
callid: '9ae753-nnnn-481c-nnnn-8dc81c1f8287',
callResourceUrl: 'https://calling-euc1.api.sinch.com/calling/v1/calls/id/9ae753-nnnn-481c-nnnn-8dc81c1f8287',
timestamp: '2023-10-04T08:47:56Z',
version: 1,
userRate: { currencyId: 'USD', amount: 0.2 },
cli: '4611111111',
to: { type: 'did', endpoint: '+4622222222 },
domain: 'pstn',
applicationKey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
originationType: 'PSTN',
rdnis:&lt;/LI-CODE&gt;
&lt;P&gt;In the ICE is contained the call-id &lt;FONT face="andale mono,times"&gt;9ae763...&lt;/FONT&gt; in the example above&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It will be used in the portion of the call-id in kick participant.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developers.sinch.com/docs/voice/api-reference/voice/tag/Conferences/#tag/Conferences/operation/Calling_KickConferenceParticipant" target="_blank"&gt;https://developers.sinch.com/docs/voice/api-reference/voice/tag/Conferences/#tag/Conferences/operation/Calling_KickConferenceParticipant&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;DELETE&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-offset-key="8th1p-0-0"&gt;&lt;A href="https://calling.api.sinch.com/calling/v1/conferences/id/" target="_blank" rel="noopener noreferrer"&gt;https://calling.api.sinch.com/calling/v1/conferences/id/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;{myconference}&lt;/SPAN&gt;&lt;SPAN data-offset-key="8th1p-2-0"&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;{9ae753-nnnn-481c-nnnn-8dc81c1f8287&lt;/SPAN&gt;&lt;SPAN data-offset-key="8th1p-4-0"&gt;} for the pstn leg&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 10:22:12 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12774#M342</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-10-13T10:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12776#M343</link>
      <description>&lt;P&gt;Yes, I've already done it. I have only problem with `ace` and `dice` callbacks for call that I initiate by `conferenceCallout` command.&amp;nbsp;I need to control this call on my backend&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 12:35:04 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12776#M343</guid>
      <dc:creator>valentinpazushko</dc:creator>
      <dc:date>2023-10-13T12:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12864#M358</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Roland_Ian!&lt;BR /&gt;Any updates on my issue?&lt;BR /&gt;Is there any other way to implement this call to get all the events in webhooks?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 15:17:39 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12864#M358</guid>
      <dc:creator>valentinpazushko</dc:creator>
      <dc:date>2023-10-26T15:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12867#M360</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Unfortunately when the destination is &lt;FONT face="andale mono,times"&gt;type "username"&lt;/FONT&gt; in the&amp;nbsp;&lt;SPAN&gt;Voice / Calling API ConferenceCallout&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT face="andale mono,times"&gt;enableACE&lt;/FONT&gt; and &lt;FONT face="andale mono,times"&gt;enableDICE&lt;/FONT&gt; are not supported for this type currently.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I will request an update to the documentation to make this clearer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;To monitor the inApp conference leg as mentioned before I would recommend.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Verify your participants in the conference with&amp;nbsp;&lt;STRONG&gt;Get Conference Info, i&lt;/STRONG&gt;mplementing logic to kick from the conference once you have verified one leg has left the conference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is the current recommended solution to manage the inApp conference leg.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 06:38:51 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12867#M360</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-10-27T06:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12879#M361</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I have a problem with VOIP push notifications. They don't come to the device.&lt;BR /&gt;I'm executing a conferenceCallout command with the username in the destination:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;$this-&amp;gt;httpClient
    -&amp;gt;requestAsync('POST', 'https://calling.api.sinch.com/calling/v1/callouts', [
        RequestOptions::HEADERS =&amp;gt; [
            'x-timestamp' =&amp;gt; $now,
            'Authorization' =&amp;gt; "application {$appId}:{$authorizationSignature}",
        ],
        RequestOptions::JSON =&amp;gt; [
            'method' =&amp;gt; 'conferenceCallout',
            'conferenceCallout' =&amp;gt; [
                'destination' =&amp;gt; [
                    'type' =&amp;gt; 'username',
                    'endpoint' =&amp;gt; 'user-698-staging',
                ],
                'conferenceId' =&amp;gt; 'InAppToPSTN',
                'cli' =&amp;gt; '+E.164',
                'maxDuration' =&amp;gt; 3600,
        ],
    ])
    -&amp;gt;then(function(ResponseInterface $response): ?array {
        if ($response-&amp;gt;getStatusCode() === 204) {
            return null;
        }

        return json_decode($response-&amp;gt;getBody()-&amp;gt;getContents(), true);
    });&lt;/LI-CODE&gt;&lt;P&gt;From the Voice logs in your dashboard I see that the connectMxp command is called and&amp;nbsp;immediately the call ends with Failed status and Congestion reason. Call id -&amp;nbsp;1a194bf5-f909-4d5f-b867-fa2b852e0689&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 11:53:25 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12879#M361</guid>
      <dc:creator>valentinpazushko</dc:creator>
      <dc:date>2023-10-30T11:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: I have an issue with conferenceCallout. enableAce and enableDice params don't work</title>
      <link>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12888#M366</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have looked and&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-php"&gt;&lt;CODE&gt;user-698-staging&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Does not have any push token registered.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please review&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&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;&amp;nbsp;and you can also inspect the sample applications with the SDK for this functionality.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 09:54:53 GMT</pubDate>
      <guid>https://community.sinch.com/t5/Discussion-Forum/I-have-an-issue-with-conferenceCallout-enableAce-and-enableDice/m-p/12888#M366</guid>
      <dc:creator>Roland_Ian</dc:creator>
      <dc:date>2023-11-01T09:54:53Z</dc:date>
    </item>
  </channel>
</rss>

