Call ID Screen
CALL_CARD placement is intended for the work with a call ID screen in CRM. Interface returns to the BX24.placement.getInterface call.
Functions
Function | Description |
---|---|
getStatus() |
Return information about the current call. Returns an object with fields:
|
disableAutoClose() | Disables automatic closure of call ID screen upon completion of the call |
Events
Method | Description |
---|---|
CallCard::EntityChanged | Resolves when the current client is changed in the call dialling mode. The following object with fields is passed to the event handler:
|
CallCard::BeforeClose | Resolves prior to closure of call ID screen. Nothing is passed the handler. |
CallCard::CallStateChanged | Resolves when the current call status is changed. The following arguments are passed to the handler:
|
Example
Calling placement method (it is important for the result to return in a callback):
BX24.placement.call('getStatus', {}, function (result) { console.log(result); }); Subscription to a placement event (it's common for event subscription): BX24.placement.bindEvent("CallCard::CallStateChanged", function (callState) { console.log(callState); });
© «Bitrix Inc.»,
2001-2021,
«Bitrix Inc.», 2021
User Comments
User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.