registerWithConfig static method

Future<bool> registerWithConfig(
  1. SipConfig config
)

Register using SipConfig object

Implementation

static Future<bool> registerWithConfig(SipConfig config) async {
  return register(
    domain: config.domain,
    username: config.username,
    password: config.password,
    realm: config.realm,
    callerId: config.callerId,
    displayName: config.displayName,
    port: config.port,
    useWebSocket: config.useWebSocket,
  );
}