pjsua_acc_get_default method

int pjsua_acc_get_default()

Get default account to be used when receiving incoming requests (calls), when the destination of the incoming call doesn't match any other accounts.

@return The default account ID, or PJSUA_INVALID_ID if no default account is configured.

Implementation

int pjsua_acc_get_default() {
  return _pjsua_acc_get_default();
}