Builds an SDP offer for an MSRP message session (active setup).
The offer advertises TCP/MSRP with a=setup:active, so the Worker dials the peer's MSRP path from the answer rather than listening (Workers cannot accept inbound TCP).
TCP/MSRP
a=setup:active
The local MSRP path, accept-types, and address/port placeholders.
The SDP body text (CRLF-delimited).
1.0.3
import { buildMsrpOffer } from 'edgeport/sip';const offer = buildMsrpOffer({ path: 'msrp://client.invalid:2855/abcd;tcp', sessionId: '1' }); Copy
import { buildMsrpOffer } from 'edgeport/sip';const offer = buildMsrpOffer({ path: 'msrp://client.invalid:2855/abcd;tcp', sessionId: '1' });
Builds an SDP offer for an MSRP message session (active setup).
The offer advertises
TCP/MSRPwitha=setup:active, so the Worker dials the peer's MSRP path from the answer rather than listening (Workers cannot accept inbound TCP).