Zoom Smart Embed ‘zp-make-call’ not working

I am using the Zoom Smart Embed in our application. It works correctly when manually used from the IFrame. If I type in a phone number and hit the call button, the Zoom Desktop App is launched and the call is placed properly.

If I send a message to the iframe to place a call, the iframe refreshes and displays the number I want to call and the call button changes from blue to red but the Zoom Desktop app never pops up.

I’m using code (callIframe) from the developer forum:

    function callIframe(iframe, number) {
	      iframe.contentWindow.postMessage(
	        {
	          type: 'zp-init-config',
	          data: {
	            enableSavingaLog: false,
	            enableAutoLog: false,
	            enableContactSearching: false,
	            enableContactMatching: false
	          }
	        },
	        'https://applications.zoom.us'
	      );

	    var delayInMilliseconds = 2000; // 2 seconds

	    setTimeout(function() {
	        iframe.contentWindow.postMessage(
	        {
	          type: 'zp-make-call',
	          data: {
	            number: number
	          }
	        },
	        'https://applications.zoom.us'
	      );
	    }, delayInMilliseconds);
    }

I have also add a message display to my page and can see that the page never receives the onZoomPhoneIframeApiReady event described in the Smart Embed Guide.

It does, however, receive a “zp-ready” message once the iframe loads.

My page also receives all the other messages the Zoom Smart Embed sends after a manually initiated call is ended. (zp-called-ended and zp-call-log-completed-event)

It looks like the Smart Embed is working and active on the page but somehow I can’t place a call with it.

I see others a have had the same issue but don’t see a resolution.
Issues with Zoom Smart Embed when using ‘zp-make-call’Can anyone help?

Thanks.