Skip to main content

Select ringtone

Ringtone selection using API

info

The following functionalities are only available if the operator starts SoftPhone.

Get information about the currently selected ringtone

window.ucsOperator.state().ringingSound // 'default' | 'christmas' | 'lovingYou' | 'quest' | 'rush'

Ringtone selection

window.ucsOperator.selectRingingSound('quest'); // 'default' | 'christmas' | 'lovingYou' | 'quest' | 'rush'

Test selected ringtone

window.ucsOperator.testRingingSound()

Shutting down the test

window.ucsOperator.stopRingingSoundTest()