/
Events and Methods

Events and Methods

API generates events for situations like incoming call or hangup. You can listen to these events and trigger custom functions for your business needs.


ActionEventFunctionButton IDMessage
Incoming Call

_IncomingCall

N/A
Calling number
Show Ringing_ShowRingingN/A
Calling number
Answer Incoming Call

_Answer

answer_click

agent-softphone-answer

true / false
Auto Answer Incoming Call_AutoAnsweranswer_click
true / false
Reject_Rejectreject_click
true / false
Place Call_Dialdial_clickagent-softphone-dialCalled number
Hangup_Hanguphangup_clickagent-softphone-hanguphangup
Hold_Holdhold-clickagent-softphone-holdhold
Talking_HoldCallSetActive(line-id)
talking
Mute / Unmute_MuteMicToggleMuteMicToggleagent-softphone-mutetrue / false
Call connected_AcceptN/A
accept
Agent status change_AgentStatusN/A
New status / Status could not be changed
Connecting_ConnectingN/A
true
Connected_ConnectedN/A
true
Disconnected_DisconnectedN/A
true
Registered_RegisteredN/A
true
Unregistered_UnregisteredN/A
true
RegistrationFailed_RegistrationFailedN/A
true

Related content