File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ class SIPUAHelper extends EventManager {
103103 _settings.display_name = uaSettings.displayName;
104104 _settings.authorization_user = uaSettings.authorizationUser;
105105 _settings.user_agent = uaSettings.userAgent ?? DartSIP_C .USER_AGENT ;
106+ _settings.register_expires = uaSettings.register_expires;
106107 _settings.register_extra_contact_uri_params =
107108 uaSettings.registerParams.extraContactUriParams;
108109
@@ -552,6 +553,13 @@ class UaSettings {
552553 String webSocketUrl;
553554 WebSocketSettings webSocketSettings = WebSocketSettings ();
554555
556+ /// May not need to register if on a static IP, just Auth
557+ /// Default is true
558+ bool register;
559+
560+ /// Default is 600 secs in config.dart
561+ int register_expires;
562+
555563 /// Mainly used for RFC8599 Push Notification Support
556564 RegisterParams registerParams = RegisterParams ();
557565
You can’t perform that action at this time.
0 commit comments