Skip to content

Commit 7121e8c

Browse files
authored
Add realm option to SIPUAHelper settings (#331)
When using digest authentication with a stored ha1, the UA is requiring the realm to be also set.
1 parent c4a41de commit 7121e8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/src/sip_ua_helper.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ class SIPUAHelper extends EventManager {
119119
uaSettings.webSocketUrl, uaSettings.webSocketSettings);
120120
_settings.sockets = <WebSocketInterface>[socket];
121121
_settings.uri = uaSettings.uri;
122+
_settings.realm = uaSettings.realm;
122123
_settings.password = uaSettings.password;
123124
_settings.ha1 = uaSettings.ha1;
124125
_settings.display_name = uaSettings.displayName;
@@ -683,6 +684,7 @@ class UaSettings {
683684
/// `User Agent` field for sip message.
684685
String? userAgent;
685686
String? uri;
687+
String? realm;
686688
String? authorizationUser;
687689
String? password;
688690
String? ha1;

0 commit comments

Comments
 (0)