Skip to content

Releases: yasir-rasheed-dev/web_rtc_dialer

Release list

1.0.2

Choose a tag to compare

@yasir-rasheed-dev yasir-rasheed-dev released this 19 Sep 14:34
frontend: translate raw SIP error codes into agent-readable messages

Dial/registration failures were surfacing the wire protocol text
verbatim — "Call failed: 487 Request Terminated", a bare "404" — which
agents don't know how to act on.

lib/sipErrors.js: friendlyCallError(reason, fallback) maps the common SIP
response codes (404 not reachable, 486 busy, 487 ended before connecting,
408 timed out, 480/603 unavailable/declined, 5xx carrier/server issue,
...) and recognizable WebRTC/browser exceptions (mic permission/device/
network) to a plain sentence; anything still code- or exception-shaped
falls back to a generic "please try again" instead of leaking raw text.

Wired into Softphone.jsx's onCallRejected, the call() setup catch, and
onRegistrationRejected (401/403 get a specific "check the password"
message). Single shared component, so this covers the web UI and the
Electron call window.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

1.0.1

Choose a tag to compare

@yasir-rasheed-dev yasir-rasheed-dev released this 04 Sep 11:07
Onboarding stepper: fix alignment across all step states

The <button>-as-flex-column layout was collapsing inconsistently (done
steps dropped a row below the active/upcoming ones) and the progress line
extended past the first icon. Rebuilt it:
- each step button is a fixed-width slot; a .si span does the
  icon-over-label stacking, so button flex quirks can't offset it
- the track/fill run exactly between the first and last icon centres
  (--pad = side padding + half a step), and the JS progress fill uses the
  same --pad so it always lines up with the icons
- consistent vertical alignment for visited / active / upcoming

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>