Documentation

Events

Full list of events:

Event Description
BackgroundCallCard::initialized Triggered upon creating a call card; passes phone number to callback function after creating a call card.
BackgroundCallCard::addCommentButtonClick Triggered upon saving a comment in call card. Passes comment text in the callback function.
BackgroundCallCard::muteButtonClick Triggered upon clicking on microphone disabling button. Passes boolean value to the callback function: true - awaiting disabling, false - awaiting enabling,.
BackgroundCallCard::holdButtonClick Upon clicking a call hold button. Passes boolean value to the callback function: true - awaiting for enabled hold, false - awaiting for disable hold.
BackgroundCallCard::closeButtonClick Upon clicking call ending button. Passes nothing to the callback function.
BackgroundCallCard::transferButtonClick Upon selecting an operator to receive forwarded call from the current operator. Passes object with properties phoneNumber to callback function: current call number and target - Bitrix24 user identifier.
BackgroundCallCard::cancelTransferButtonClick Upon clicking at "Continue call" button. Passes nothing to the callback function.
BackgroundCallCard::completeTransferButtonClick Upon clicking at "Redirect" button. Passes nothing to callback function.
BackgroundCallCard::hangupButtonClick Upon clicking at "Hang up". Passes nothing to callback function.
BackgroundCallCard::nextButtonClick Upon clicking at "Next" button. Passes nothing to callback function.
BackgroundCallCard::skipButtonClick Upon clicking at "Skip" button. Passes nothing to callback function.
BackgroundCallCard::answerButtonClick Upon clicking at "Reply" button. Passes nothing to callback function.
BackgroundCallCard::entityChanged Triggered in call card when changing currently called agent. Passes nothing to callback function.
BackgroundCallCard::makeCallButtonClick Upon clicking at "Redial". Passes nothing to callback function.
BackgroundCallCard::qualityMeterClick Upon rating a call quality. Passes an integer from 1 to 5 to callback function.
BackgroundCallCard::dialpadButtonClick Upon clicking on at one of phone digital buttons. Passes clicked dialpad character in the callback function.
BackgroundCallCard::notifyAdminButtonClick Upon clicking at "Notify administrator". Passes nothing to callback function.


© «Bitrix24», 2001-2024