refreshRegistration method
Refreshes the registration with the SIP server.
Call this when the device's network changes (e.g. WiFi to cellular handoff) so the SDK re-registers over the new network interface.
Parameters:
expires: Registration expiry in seconds; 0 keeps the previously negotiated expiry and forces an immediate re-register (default: 0)
Returns 0 on success, negative error code on failure.
Implementation
Future<int> refreshRegistration({int expires = 0}) async {
throw UnimplementedError('refreshRegistration has not been implemented.');
}