简体   繁体   中英

RingCentral Embeddable Voice inWeb Application

I am working in MVC C# Web Application. I am implementing RingCentral Embeddable Voice in my application. I want to paste the number when clicking on call to the Dial pad field which is inside the iFrame of RingCentral. Please help. Thanks.

Post a message to Embeddable Voice inside iframe:

function postMessage(data) {
    document.getElementsByTagName('iframe')[0].contentWindow.postMessage(data, '*');
}


postMessage({
    type: 'rc-adapter-new-call',
    phoneNumber: number,
    toCall: false,
});

Ref: https://github.com/ringcentral/ringcentral-js-widgets/issues/350#issuecomment-325078638

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM