IOSOR Learn
Validating SIP Privacy Header Handling During Migration
Verify P-Asserted-Identity and Privacy header parity across providers to prevent caller ID leakage and regulatory violations before voice cutover.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers must confirm that P-Asserted-Identity and Privacy headers behave identically across old and new carriers to avoid exposing caller identity or breaching privacy regulations during migration. Mismatched header handling can leak PSTN numbers, violate STIR/SHAKEN attestation, or trigger regulatory fines.
Header Presence and Format Validation
Capture live INVITEs from both providers using SIP traces. Verify P-Asserted-Identity appears only when Privacy is absent or set to 'none'. Confirm header value matches E.164 format without extra parameters. Any deviation indicates a normalization gap that must be fixed before cutover. Reject traces where PAI exceeds 64 characters or contains non-digit/non-plus characters. Verify DLR webhook delivery within 5 seconds of INVITE receipt; flag any webhook returning non-2xx status.
Privacy Value Enumeration Check
Enumerate all Privacy header values each provider emits: 'none', 'header', 'session', 'user', 'critical', 'id'. Map each to the corresponding P-Asserted-Identity behavior. Document cases where one provider suppresses the identity while another passes it — these are leakage vectors. Log Privacy value distribution per 1000 calls; alert if 'header' or 'id' exceeds 5% of traffic. Verify webhook payloads include Privacy value and match SIP trace within 2-second tolerance.
Interworking with Diversion and History-Info
Test calls involving call forward, transfer, or voicemail. Ensure Diversion and History-Info headers respect the same Privacy semantics. A provider that strips Privacy on Diversion but keeps it on INVITE creates inconsistent caller ID presentation downstream. Reject any Diversion header lacking Privacy when INVITE Privacy is 'id' or 'critical'. Confirm DLR webhook fires for each diverted leg with matching call-id.
STIR/SHAKEN Attestation Impact
Confirm that Privacy header handling does not degrade attestation level. A 'header' or 'id' Privacy value should not cause the signing provider to drop PAI and downgrade to 'C' attestation. Run test calls through the verification chain and inspect Identity headers. Require 'A' attestation on 99% of test calls; investigate any 'B' or 'C' within 15 minutes. Verify webhook delivery of attestation results with HMAC signature validation.
Regulatory Compliance Spot-Check
Cross-reference header behavior with local regulations: GDPR caller ID suppression, FCC CPNI rules, Ofcom CLI guidelines. Build a matrix of corridor → required Privacy value → provider actual behavior. Flag any corridor where the new provider cannot meet the mandate. Require 100% matrix coverage; no corridor may launch with unresolved gaps. Log webhook verification failures and retry up to 3 times with exponential backoff.
Start with IOSOR
Compare verified partner routes for your voice corridors using the route comparison tool. Checklist: 1) Capture SIP traces from both providers. 2) Validate PAI/Privacy parity per corridor. 3) Confirm STIR/SHAKEN attestation holds. 4) Sign off regulatory matrix. 5) Schedule cutover only after all gates pass. Related: SIP Header Normalization Gate, SIP INVITE Header Parity Gate, Validating Carrier Route Diversity Before Cutover.
IOSOR takeaway
Capture live INVITEs from both providers using SIP traces. Flag any corridor where the new provider cannot meet the mandate (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- Verifying Suppression List Portability Before Migration Cutover
Pre-cutover checks for opt-outs, bounces, complaints, and consent suppressions: export/import fidelity, DLR and webhook evidence, and partner route comparison.
- Stale Webhook Endpoint Replay Safety During Provider Migration
Decide if legacy webhook endpoints can replay or re-emit events after cutover without duplicating downstream actions, then compare partner webhook and DLR semantics.
- Sender ID Ownership Continuity Audit Before Cutover
Verify alphanumeric sender IDs, short codes, and originating numbers keep ownership proof and carrier registration parity across providers before any message leaves the new route.












