toGetExtensionResponse method
Implementation
GetExtensionResponse toGetExtensionResponse() {
final sipServer = SipServer(
id: 1,
domain: registerServer,
port: port ?? 5060,
outboundProxy: outboundServer,
wss: wssUrl,
transport: 0,
createdAt: '',
project: '',
userAgent: userAgent ?? '',
);
final getExtResponse = GetExtensionResponse(
id: 1,
sipServer: sipServer,
username: accountName,
password: authPass,
displayName: displayName,
enabled: true,
);
return getExtResponse;
}