ReadonlycodecThe negotiated codec (set from the constructor codec option; default OPUS/16000).
ANSWER an inbound INVITE; resolves to the live (inbound) call session.
Place an OUTBOUND call to a number; resolves to the live (outbound) call session.
OptionaldestroyBest-effort teardown of the registration / underlying socket (not all versions expose this).
Subscribe to softphone-level events ('invite' for inbound calls).
REGISTER the SIP device so the softphone can place + receive calls.
The
Softphonedefault export — the subset the handle drives. Construction options are passed to the real constructor; we only callregister/call/answer/decline/onand readcodec.