accept_async


Description:

public async bool accept_async () throws Error

For incoming calls with state set to INITIALISED, accept the incoming call.

This changes state to ACCEPTED.

For outgoing calls with state set to PENDING_INITIATOR, actually call the remote contact; this changes state to INITIALISING.

Parameters:

this

a CallChannel

callback

a callback to call when the operation finishes

user_data

data to pass to callback