registerAccount static method
Register a new SIP account Returns the account ID
Implementation
static Future<String> registerAccount({
required String domain,
required String username,
required String password,
String? realm,
String? callerId,
String? displayName,
int port = 5060,
bool useWebSocket = false,
String? accountId,
}) async {
if (!_initialized) {
await initialize();
}
return await MultiSipService.registerAccount(
domain: domain,
username: username,
password: password,
realm: realm,
callerId: callerId,
displayName: displayName,
port: port,
useWebSocket: useWebSocket,
accountId: accountId,
);
}