Skip to content

Commit 82f4152

Browse files
committed
Fix INVITE request URI from REFER message
When receiving a REFER with a Refer-To header field, the outgoing INVITE was missing such the Refer-To URI parameters.
1 parent 55d406a commit 82f4152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RTCSession.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2306,7 +2306,7 @@ module.exports = class RTCSession extends EventEmitter {
23062306
options.extraHeaders.push(`Replaces: ${replaces}`);
23072307
}
23082308

2309-
session.connect(request.refer_to.uri.toAor(), options, initCallback);
2309+
session.connect(request.refer_to.uri, options, initCallback);
23102310
}
23112311

23122312
function reject() {

0 commit comments

Comments
 (0)