Line Class Callback Event Methods
The following are the Line class callback event methods.
Syntax
onAlternating(event)
Description
Fires when alternating the call.
Syntax
onAnswering(event)
Description
Fires when answering the call.
Syntax
onAttachingUD(event)
Description
Fires when attaching user data.
Syntax
onCallDataChanged(event)
Description
Fires when the call data on the call is changed.
Syntax
onCapabilitiesChanged(event)
Description
Fires when the capabilities changed.
Syntax
onClearing(event)
Description
Fires when clearing the conference.
Syntax
onCompleting(event)
Description
Fires when completing the two-step transfer/conference.
Syntax
onConferencing(event)
Description
Fires when conferencing the call.
Syntax
onDialing(event)
Description
Fires when there is an outgoing call.
Syntax
onDropped(event)
Description
Fires when the call is released.
Syntax
onError(event)
Description
Fires when there is error.
Syntax
onGrabbing(event)
Description
Fires when grabbing a call from a queue.
Syntax
onHeld(event)
Description
Fires when the call is on hold.
Syntax
onHolding(event)
Description
Fires when holding the call.
Syntax
onJoining(event)
Description
Fires when joining a call or a conference.
Syntax
onMuted(event)
Description
Fires when a call is muted.
Syntax
onOffHook(event)
Description
Fires when the line is off hook.
Syntax
onOnHook(event)
Description
Fires when the line is on hook.
Syntax
onParking(event)
Description
Fires when parking the call.
Syntax
onPartyAdded(event)
Description
Fires when a new call party coming.
Syntax
onPartyChanged(event)
Description
Fires when the call party has changed.
Syntax
onPartyRemoved(event)
Description
Fires when a call party is removed.
Syntax
onReconnecting(event)
Description
Fires when reconnecting the call.
Syntax
onRejected(event)
Description
Fires when call is rejected.
Syntax
onRejecting(event)
Description
Fires agent rejects an incoming call.
Syntax
onReleasing(event)
Description
Fires when releasing the call.
Syntax
onRetrieving(event)
Description
Fires when retrieving the call.
Syntax
onRinging(event)
Description
Fires when there is an incoming call.
Syntax
onSetcallresult(event)
Description
Fires when there is a request for setting call result.
Syntax
onSetcallresultDNC(event)
Description
Fires when there is a request for do not call.
Syntax
onSetcallresultReschedule(event)
Description
Fires when there is a request to reschedule a call.
Syntax
onTalking(event)
Description
Fires when the call is established.
Syntax
onTransfering(event)
Description
Fires when transferring the call.
Syntax
onUnmuted(event)
Description
Fires when call is unmuted.
Syntax
onUpdatingCD(event)
Description
Fires when updating the call data.
Syntax
onUserDataChanged(event)
Description
Fires when the user data attached on the call is changed.