Bitrix API

Agent

Class Agent

Table of Contents

Constants

TYPE_AGENT_B24  = 'b24'
TYPE_AGENT_CRON  = 'cron'
TYPE_AGENT_CRON_OL  = 'cronol'
TYPE_AGENT_HIT  = 'hit'

Methods

closeByTime()  : string
Session closing agent by time.
correctionStatusClosedSessionsAgent()  : string
Agent sets correct status for closed sessions
deleteBrokenSession()  : string
Agent clears broken session data.
dismissedOperator()  : string
The agent returns to the queue of the session that were left on fired employees.
getTimeOutTransferToNextInQueue()  : int
Returns the timeout time for agents, depending on the context.
getTypeRunAgent()  : string
Returns the type of the agent run.
mailByTime()  : string
The agent is sending mail messages at the time.
replacementUserAgent()  : string
sendAutomaticMessage()  : string
sendMessageNoAnswer()  : string
Send notification about unavailability of the operator.
transferToNextInQueue()  : string
The agent of change in charge at the chat.

Constants

TYPE_AGENT_B24

public mixed TYPE_AGENT_B24 = 'b24'

TYPE_AGENT_CRON

public mixed TYPE_AGENT_CRON = 'cron'

TYPE_AGENT_CRON_OL

public mixed TYPE_AGENT_CRON_OL = 'cronol'

TYPE_AGENT_HIT

public mixed TYPE_AGENT_HIT = 'hit'

Methods

closeByTime()

Session closing agent by time.

public static closeByTime([mixed $nextExec = 0 ]) : string
Parameters
$nextExec : mixed = 0
Return values
string

correctionStatusClosedSessionsAgent()

Agent sets correct status for closed sessions

public static correctionStatusClosedSessionsAgent() : string
Return values
string

deleteBrokenSession()

Agent clears broken session data.

public static deleteBrokenSession() : string
Return values
string

dismissedOperator()

The agent returns to the queue of the session that were left on fired employees.

public static dismissedOperator([mixed $nextExec = 0 ]) : string
Parameters
$nextExec : mixed = 0
Return values
string

getTimeOutTransferToNextInQueue()

Returns the timeout time for agents, depending on the context.

public static getTimeOutTransferToNextInQueue() : int
Return values
int

getTypeRunAgent()

Returns the type of the agent run.

public static getTypeRunAgent() : string
Return values
string

mailByTime()

The agent is sending mail messages at the time.

public static mailByTime([mixed $nextExec = 0 ]) : string
Parameters
$nextExec : mixed = 0
Return values
string

replacementUserAgent()

public static replacementUserAgent(int $replaceId, int $searchId) : string
Parameters
$replaceId : int
$searchId : int
Return values
string

sendAutomaticMessage()

public static sendAutomaticMessage() : string
Return values
string

sendMessageNoAnswer()

Send notification about unavailability of the operator.

public static sendMessageNoAnswer() : string
Return values
string

transferToNextInQueue()

The agent of change in charge at the chat.

public static transferToNextInQueue([mixed $nextExec = 0 ][, int $offset = 0 ]) : string
Parameters
$nextExec : mixed = 0
$offset : int = 0
Return values
string

        
On this page

Search results