Skip to content

Commit 0eb206e

Browse files
authored
sip_ua_helper: add sendOptions (#476)
1 parent 23c2595 commit 0eb206e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/sip_ua_helper.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import 'event_manager/event_manager.dart';
1414
import 'event_manager/subscriber_events.dart';
1515
import 'logger.dart';
1616
import 'message.dart';
17+
import 'options.dart';
1718
import 'rtc_session.dart';
1819
import 'rtc_session/refer_subscriber.dart';
1920
import 'sip_message.dart';
@@ -413,6 +414,10 @@ class SIPUAHelper extends EventManager {
413414
return _ua!.sendMessage(target, body, options, params);
414415
}
415416

417+
Options sendOptions(String target, String body, Map<String, dynamic>? params) {
418+
return _ua!.sendOptions(target, body, params);
419+
}
420+
416421
void subscribe(String target, String event, String contentType) {
417422
Subscriber s = _ua!.subscribe(target, event, contentType);
418423

0 commit comments

Comments
 (0)