IOSOR Learn
SIP REFER Notify Subscription Leak Detection Gate
Verify REFER-triggered NOTIFY subscriptions terminate cleanly across carriers to prevent orphaned dialogs that consume trunk capacity and distort ASR metrics before live routing via Decision Brief partner comparison.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers auditing attended-transfer flows must confirm that every REFER-triggered NOTIFY subscription receives a terminating NOTIFY with Subscription-State: terminated and reason=noresource or timeout, ensuring no dialog remains in pending state. Orphaned subscriptions silently consume trunk licenses and inflate ASR denominators, masking real quality degradation.
Subscription Lifecycle Validation
Capture full SIP traces for attended transfers across each carrier interconnect. Verify the REFER initiator sends NOTIFY with Event: refer and Subscription-State: active;expires=X, then a final NOTIFY with Subscription-State: terminated within 32 seconds per RFC 3515. Any subscription lacking termination within 35 seconds flags a leak candidate.
Dialog State Machine Conformance
Cross-reference each NOTIFY transaction against the dialog state machine: early, confirmed, terminated. Confirm no dialog lingers in confirmed without BYE or NOTIFY termination. Use the dialog-state audit to correlate leaked subscriptions with specific carrier SIP stack behaviors.
During pre-flight verification, validate that automatic failover thresholds trigger deterministic rerouting without duplicating outbound segments or exhausting retry backoff budgets under peak regional load.
Trunk Capacity Impact Quantification
Measure leaked subscriptions per 10k calls per carrier. Multiply by average dialog hold time (seconds) and trunk cost per second to compute hidden capacity tax. Prioritize carriers where leak rate exceeds 0.3% of attended transfers.
ASR Distortion Analysis
Recalculate ASR excluding calls with orphaned NOTIFY dialogs. Compare baseline ASR vs. leak-adjusted ASR per carrier. A delta >1.5 pp indicates metric distortion requiring immediate carrier escalation before traffic routing decisions.
Carrier Escalation & Remediation Matrix
Document leak pattern per carrier: missing terminated NOTIFY, expired subscription timer without cleanup, or 481/408 on final NOTIFY. Attach PCAP excerpts and demand SLA-backed fix timeline. Block carrier from live routing until remediation verified in staging.
Start with IOSOR
Compare verified partner routes for your channel and corridor using the Decision Brief compare tool to route live traffic only through carriers with zero subscription leaks. Cross-reference with SIP REFER Replaces Attended Transfer Interop Audit, SIP REFER Transfer Notify Subscription Audit, and SIP Dialog State Machine Conformance Audit for complete coverage.
IOSOR takeaway
Capture full SIP traces for attended transfers across each carrier interconnect. Block carrier from live routing until remediation verified in staging (/tools/brief · DLR / webhook).
Was this guide helpful?
Related guides
- SIP Registration Expiry Recovery: Failover Gate for Route Selection
Verify how each SIP route handles registration expiry, re-registration storms, and failover to a secondary registrar without dropping active dialogs before you commit traffic.
- SIP Route Cost-Band Verification Before Partner Comparison
Verify quoted SIP termination cost bands against real per-minute, per-DID, and per-channel economics before you commit to a partner route comparison.
- SIP OPTIONS Ping Liveness: Separating False Positives From Real Failover
Decide if your SIP OPTIONS keepalive signal is trustworthy for failover or masking dead routes as healthy. Verify response-code handling and partner readiness.












