Skip to content

Commit 9f37077

Browse files
Maksim Kulichenkomakstheimba
andauthored
add an ability to send custom info (#227)
Co-authored-by: makstheimba <[email protected]>
1 parent 4a6f68e commit 9f37077

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
@@ -447,6 +447,11 @@ class Call {
447447
_session.sendDTMF(tones, options);
448448
}
449449

450+
void sendInfo(String contentType, String body, Map<String, dynamic> options) {
451+
assert(_session != null, 'ERROR(sendInfo): rtc session is invalid');
452+
_session.sendInfo(contentType, body, options);
453+
}
454+
450455
String get remote_display_name {
451456
assert(_session != null,
452457
'ERROR(get remote_identity): rtc session is invalid!');

0 commit comments

Comments
 (0)