Skip to content

PhoneCall

Adnan Elezović edited this page Feb 7, 2025 · 4 revisions

extends Call



options()

Description

Returns the options this call was started with.

Arguments

  • none

Returns

Example

let infobipRTC = createInfobipRtc('2e29c3a0-730a-4526-93ce-cda44556dab5', {debug: true});
let phoneCall = infobipRTC.callPhone('41793026727', PhoneCallOptions.builder()
    .setAutoReconnect(true) // Required in order to receive RECONNECTING and RECONNECTED events
    .setFrom('33712345678')
    .build());
console.log(`Call options: ${JSON.stringify(phoneCall.options())}`);

Tutorials

Migration guides

Reference documentation

Clone this wiki locally