IOSOR Learn
SIP SUBSCRIPTION State Event Package Audit
Verify SUBSCRIBE/NOTIFY dialog state machines and event package interoperability across providers to prevent silent subscription failures before partner route comparison.
Lead Telecom & Routing Architect · Lausanne, CH
Engineers validate SUBSCRIBE/NOTIFY dialog state machines and event package interoperability across providers to catch silent subscription failures before triggering partner route comparison via IOSOR.
Subscription Dialog State Machine Conformance
Each SUBSCRIBE request must transition through Trying, Proceeding, and Terminated states per RFC 6665. Verify that 200-class responses include Expires headers matching requested durations and that NOTIFY bodies carry correct event package identifiers. Log every state transition timestamp to detect stuck dialogs that never reach Terminated.
For "Subscription Dialog State Machine Conformance", validate strict E.164 number normalization, country prefix rules, and route eligibility before increasing production send volume.
Event Package Identifier & Version Negotiation
Confirm Accept headers in SUBSCRIBE match supported event packages (presence, dialog, message-summary, conference). Test version negotiation via Event header parameters; reject subscriptions with unsupported versions using 489 Bad Event. Capture mismatched package identifiers that cause silent NOTIFY drops.
NOTIFY Delivery Reliability & Retransmission Logic
NOTIFY requests must follow RFC 3261 retransmission timers (T1, T2, Timer F). Measure end-to-end NOTIFY latency from trigger to 200 OK receipt; flag paths exceeding 2 s. Verify that NOTIFY bodies include Subscription-State with accurate expires values and reason codes (timeout, giveup, noresource).
Subscription Expiration & Refresh Handling
Track Expires header values in SUBSCRIBE and 200 OK responses. Ensure automatic refresh SUBSCRIBE requests are sent at 80% of expires interval. Audit for premature expiration caused by clock skew or missing Contact header updates. Record every refresh cycle to build subscription lifetime histograms.
Cross-Provider Interoperability Matrix
Build a matrix of provider pairs testing each event package combination. Execute automated SUBSCRIBE/NOTIFY flows capturing SIP ladder diagrams, state transitions, and error codes. Flag asymmetric behaviors where Provider A accepts subscriptions but Provider B silently discards NOTIFY. Document results in machine-readable format for CI gating.
Start with IOSOR
Run the audit suite against live traffic, then compare verified partner routes for your channel or corridor using IOSOR Decision Brief. Cross-reference findings with SIP Dialog State Machine Conformance Audit, SIP REFER Transfer NOTIFY Subscription Audit, and SIP 100rel Provisional Reliability Interop Gate to close coverage gaps.
IOSOR takeaway
Each SUBSCRIBE request must transition through Trying, Proceeding, and Terminated states per RFC 6665. Document results in machine-readable format for CI gating (/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.












