docs: function notifyAboutCallState(type) {
      var self = this;
      var messageTo;
  
      if (currentDialog.type === 3) {
          messageTo = QB.chat.helpers.getRecipientId(currentDialog.occupants_ids, currentUser.id);
      } else {
          messageTo = currentDialog.xmpp_room_jid;
      }
  
      QB.chat.send(messageTo, {
          type: currentDialogType(),
          extension: {
              notification_type: type,
              dialog_id: currentDialog._id
          }
      });
  }