Pale fails closed for emergency numbers when the emergency call plan is not ready. That is intentional: unsafe routing is worse than a blocked call.
GET /v1/emergency/plan?number=911 (authenticated) returns:
| Field | Meaning |
|---|---|
emergency |
Number matches 911/112/933 or user assignment list |
allowed |
May proceed to gateway |
reason |
Why blocked or routable |
location |
Validated emergency location for the caller |
gateway |
Selected SIP gateway |
Hard blockers today:
- No emergency location assignment for the caller
- Location not marked
validated - Enterprise integration
e911not available - Enterprise integration
pstn_sbc_operator_connectnot available - No matching emergency/SIP gateway route
SIP INVITE to emergency numbers receives 403 with
Warning: 399 pale "emergency_not_ready:…".
-
Admin → Emergency
- Create a location with street/city/region/postal/country
- Mark it validated only after you have a real civic address policy
- Assign the location to test users
-
Admin → Enterprise integrations
- Enable
e911with your provider endpoint notes - Enable
pstn_sbc_operator_connect
- Enable
-
Admin → SIP gateways
- TLS gateway with prefix
+or empty catch-all - Probe TCP reachability
- TLS gateway with prefix
-
Dial test (lab only)
- Use carrier test numbers or a lab SBC that does not place live 911
- Confirm non-ready tenants get 403
- Confirm ready tenants get 302 toward the gateway
Pale does not certify E911. Operators must:
- Contract a certified E911 / NG911 provider
- Provision locations and callbacks per jurisdiction
- Test with the provider’s acceptance suite
- Keep audit logs of location changes
# Plan for a user session
curl -sS "$BASE/v1/emergency/plan?number=911" \
-H "Authorization: Bearer $TOKEN" -H "User-Agent: Pale/admin"
# Validation report includes emergency-related capabilities
curl -sS "$BASE/v1/admin/enterprise-integrations/validation" \
-H "Authorization: Bearer $TOKEN" -H "User-Agent: Pale/admin"See pstn-lab.md for SBC trunk setup.