Licensed carrier in Costa Rica · Resolution RCS-251-2019
SIP trunks

Testing a SIP Trunk Before Go-Live: The Interop Details That Break in Production

A practical interop test plan for SIP trunks: number formats, caller ID, DTMF, early media, session timers and transfers, checked before cutover.

A SIP trunk can register, pass a test call and still fail in production. Most of the problems teams hit in the first week are not about capacity or the network; they are about two SIP implementations interpreting the same standard slightly differently. This article covers the interoperability details worth testing before you move real traffic, and a short test plan you can run against any trunk.

Number formats and caller ID

The first thing to agree on is how numbers are written on the wire. A Costa Rican number can appear as eight local digits, with a 506 prefix, or in full E.164 as +506 followed by eight digits. If your PBX sends one format and the carrier expects another, outbound calls may be rejected or misrouted, and inbound calls may not match your dial plan or CRM lookups.

Check each direction separately:

  • Outbound dialed number: how the Request-URI is built for local, mobile and international destinations.
  • Outbound caller ID: which header carries it (From, P-Asserted-Identity, or both) and whether the carrier honors privacy requests.
  • Inbound DID: which digits arrive in the Request-URI or To header, so your PBX routes to the right extension or queue.
  • Forwarded calls: whether a Diversion or History-Info header is sent, and whether the original caller ID is preserved.

Presenting only numbers you are authorized to use is not just good practice; mismatched or unowned caller IDs are a common reason outbound calls get blocked downstream.

DTMF: the most common silent failure

If callers cannot navigate your IVR, enter a PIN or reach an extension, DTMF is the first suspect. There are three ways to carry digits: RFC 4733 telephone-event packets in the RTP stream, SIP INFO messages, or in-band audio tones. Both sides must agree on one.

RFC 4733 is the usual choice. Confirm that the telephone-event payload is offered in the SDP and that the payload type number is accepted by both ends. In-band tones work tolerably over G.711 but are unreliable over compressed codecs like G.729, which distort the tones. Test digits in both directions, including long presses and fast sequences, since some systems drop or duplicate digits.

Early media, ringback and failure codes

Before a call is answered, the far end may send a 183 Session Progress with audio: ringback, a carrier announcement or an IVR greeting. If your PBX ignores early media, callers hear silence and hang up. If it generates its own local ringback while also playing early media, callers hear the wrong tone.

Also test what happens when calls fail. Busy, unallocated number and unreachable destinations should map to sensible SIP responses and Q.850 release causes, so your contact center reporting and retry logic behave correctly instead of treating every failure as a generic error.

Session timers, hold and transfers

Calls that drop at exactly 15 or 30 minutes usually point to a session timer mismatch. If one side requests periodic refreshes under RFC 4028 and the other does not respond as expected, the session is torn down. Place long test calls on purpose.

Mid-call changes deserve the same attention. Hold, resume and codec changes generate re-INVITEs, and blind or attended transfers may use REFER or be handled entirely inside the PBX. Confirm which method your platform uses and that audio survives every transition.

A short go-live test plan

Run these before cutover and keep the SIP traces:

  1. Inbound call to each DID range, verifying the digits received.
  2. Outbound calls to fixed, mobile and an international destination.
  3. Caller ID presented, withheld and forwarded.
  4. IVR navigation with DTMF in both directions.
  5. A call to a ringing number, a busy number and an invalid number.
  6. A call held longer than 35 minutes.
  7. Hold, resume, blind transfer and attended transfer.
  8. Simultaneous calls up to your planned concurrency.

Where Ring fits

Ring is a SUTEL-licensed, 100% IP carrier (resolution RCS-251-2019, operating since 2019, ASN AS274239) with direct SNT interconnection and POPs in San José and Virginia. Through sip.cr we deliver SIP trunks with +506 4600-XXXX numbering and numbers in 70+ countries. Our 24/7 support team can walk through this test plan with you, review traces and align formats before you move production traffic.

← Back to the blog

Want to build on a better network?

Talk to a sales engineer and start today.

Talk to sales