Add ZRTP/SRTP encryption, direct accountless calling, and alphanumeric input fix to SIP client
This commit is contained in:
1 parent
e92f7e9d96
commit
61768fa88e
15 files changed
+1468
-203
No files matched your search
@@ -230,10 +230,10 @@ All twenty-three phone applications are compiled as shared-object plugins (`/usr
|
||||
16. **SIP VoIP client (`sip.so` / `xsip`)**:
|
||||
- **Open**: select **SIP VoIP** from the System or Applications menu, or run `xsip`.
|
||||
- **Three tabs (`1:Dialer`, `2:Accounts`, `3:History` — switch with `Left`/`Right`)**:
|
||||
- **`1:Dialer`**: enter a SIP URI (`user@domain`) or extension (`1001`) using multi-tap input (`*` cycles input mode) or select a recent peer with `Up`/`Down`, and press **Call (green)** or **Center `OK`** to place an outgoing SIP call.
|
||||
- **`2:Accounts`**: add or edit SIP accounts (`~/.config/sxmo/sip_accounts.tsv`: Label, Username, Password, Domain, Port, UDP/TCP/TLS transport, Enabled). Enabled accounts maintain RFC 3261 `REGISTER` keepalives with Digest MD5 authentication in the background even when `xsip` is closed.
|
||||
- **`1:Dialer`**: enter a SIP URI (`user@host[:port]` or `sip:user@host[:port]`) or account extension (`1001`) using multi-tap alphanumeric input (`*` or `#` cycles `[abc]` / `[ABC]` / `[123]` / `[Sym]` / `[Abc]`) or select a recent peer with `Up`/`Down`, and press **Call (green)** or **Center `OK`** to place an outgoing SIP call. Outbound calls work both with a registered SIP account and directly without any configured account (`Direct URI` mode, selectable via `Menu -> Switch Account` when accounts are also present).
|
||||
- **`2:Accounts`**: add or edit SIP accounts (`~/.config/sxmo/sip_accounts.tsv`: Label, alphanumeric Username, Password, Domain, Port, UDP/TCP/TLS transport, ZRTP toggle, Enabled). Enabled accounts maintain RFC 3261 `REGISTER` keepalives with Digest MD5 authentication in the background even when `xsip` is closed.
|
||||
- **`3:History`**: browse incoming, outgoing, and missed SIP calls (`~/.local/share/sxmo/sip_history.tsv`) and press **Call (green)** or **Center `OK`** to redial.
|
||||
- **CallScreen (`xcallscreen`) and RTP audio integration**: incoming `INVITE` requests wake the phone, trigger the ringtone/vibrator, and open `xcallscreen` with a `[SIP]` badge; answering streams bidirectional 8 kHz G.711 (`PCMU`/`PCMA`) RTP audio and RFC 2833 DTMF tones.
|
||||
- **ZRTP / SRTP encryption and CallScreen (`xcallscreen`) integration**: supports RFC 6189 **ZRTP** (`DH3k` 3072-bit / `DH2k` 2048-bit Diffie-Hellman key agreement with `a=zrtp-hash` SDP signaling and persistent 96-bit `ZID`) and RFC 3711 **SRTP** (`AES-128-CM` + `HMAC-SHA1-80`/`32`) encrypted voice media (`ON` by default per account and for direct accountless calls via `Menu -> Toggle Direct ZRTP`). Incoming `INVITE` requests wake the phone, trigger the ringtone/vibrator, and open `xcallscreen` with a `[SIP]` badge; once ZRTP completes its handshake, the 4-character Short Authentication String (`SAS`) is displayed in both `xsip` (`ZRTP SECURE | SAS: <sas>`) and `xcallscreen` (`[ZRTP:<sas>]`) while streaming bidirectional 8 kHz G.711 (`PCMU`/`PCMA`) RTP/SRTP audio and RFC 2833 DTMF tones.
|
||||
|
||||
17. **Email client (`email.so` / `xemail` / `xmail`)**:
|
||||
- **Open**: select **Email** from the System or Applications menu, or run `xemail` / `xmail`.
|
||||
|
||||
Reference in new issue
Block a user