Sends a single pager-mode MESSAGE in one call: connect, (auth on challenge), send, close.
MESSAGE
This needs no registration - the server challenges the MESSAGE, the client authenticates, and the proxy routes it - so it fits a normal request-scoped Worker.
Connection/identity options plus the recipient and text.
The final response.
If the credentials are rejected.
On a non-2xx result.
1.0.3
import { sendMessage } from 'edgeport/sip';await sendMessage({ hostname: 'sip.example.com', username: 'alice', password: env.SIP_PW, to: 'bob', text: 'one-shot SIP message from the edge'}); Copy
import { sendMessage } from 'edgeport/sip';await sendMessage({ hostname: 'sip.example.com', username: 'alice', password: env.SIP_PW, to: 'bob', text: 'one-shot SIP message from the edge'});
Sends a single pager-mode
MESSAGEin one call: connect, (auth on challenge), send, close.This needs no registration - the server challenges the MESSAGE, the client authenticates, and the proxy routes it - so it fits a normal request-scoped Worker.