RingQ Customer Centric Communications

SIP Trunk Advanced Settings


RingQ

SIP Trunk Advanced Settings

Administrator Guide

June 2026 | Advanced Configuration Reference

RingQ keeps advanced SIP trunk configuration straightforward. This guide covers every parameter in the Advanced Setting dialog, the Inbound Settings panel, and the Outbound and Emergency rule advanced options — so you can match your carrier's requirements without guesswork.

Who this is for: Administrators configuring SIP trunks, outbound routes, or emergency rules in the RingQ portal. Basic familiarity with SIP concepts (From header, DID routing, codecs) is helpful but not required.

1. General Parameters Top of Advanced Setting dialog

Figure 1 — Advanced SIP Trunk Setting dialog showing General Parameters, Codec Priority, and Inbound Setting

Calls Allowed

Sets the maximum number of simultaneous calls this trunk can carry. Set to 0 for unlimited. Your carrier's channel limit applies regardless — use it to prevent over-subscription or reserve bandwidth for other trunks.

Expiry Seconds

How long each SIP registration is valid before RingQ sends a refresh REGISTER. Default is 3600 seconds (1 hour). Some carriers require shorter intervals (e.g. 300 s). Match whatever your carrier documentation specifies.

Re-register Timeout

How often RingQ proactively sends a re-REGISTER before expiry. Default is 180 seconds. Keeping this shorter than Expiry Seconds ensures the trunk stays registered even if a packet is dropped.

Transport Protocol

The network protocol used for SIP signalling.

OptionDescription
UDPMost common. Stateless, low overhead. Use unless your carrier requires otherwise. [Default]
TCPConnection-oriented. Reliable delivery; preferred for long-distance or lossy links.
TLSEncrypted SIP signalling. Required for SRTP-encrypted media and enterprise security.

2. Codec Priority Ordered preference list

Codecs are listed in the order RingQ will offer them during SIP negotiation. The carrier picks the first codec from your list that it also supports. Drag to reorder using the Arrange button, or remove with the trash icon.

1 PCMA

2 PCMU

3 iLBC

4 G722

5 G729

6 OPUS

CodecBandwidthQualityTypical Use
PCMA (G.711a)64 kbpsGoodEMEA carriers, legacy PSTNs
PCMU (G.711u)64 kbpsGoodNorth American carriers
iLBC15-16 kbpsGoodPacket-loss-tolerant links
G72264 kbpsHDWideband HD voice, internal trunks
G7298 kbpsAcceptableLow-bandwidth WAN links
OPUS6-510 kbpsExcellentWebRTC, modern SIP carriers

Tip: Put the codec your carrier prefers at position 1. If your calls use G729 for international DID trunks, place it first to avoid transcoding overhead on the carrier side.

3. Inbound Settings How RingQ reads incoming SIP headers

These three fields tell RingQ where to look inside an incoming SIP INVITE to find the caller identity and the dialled number (DID). Different carriers write this information into different SIP headers — these settings let you match exactly.

Why this matters: If your carrier puts the CLI in the To header but RingQ is reading From, caller ID will be blank or incorrect. If the DID appears in the From header instead of the Invite URI, calls may not route to the right destination. Matching these to your carrier's SIP trace eliminates 90% of inbound routing issues.

From User

Controls which SIP header field RingQ uses to extract the caller's user part (the number or SIP username of the person calling in).

OptionDescription
From UserReads the user part of the From: header. Standard; most carriers use this. [Default]
From DisplayReads the display name portion of the From: header instead of the URI user part.
To UserReads the user part of the To: header. Used by some wholesale carriers.
InviteReads the user part of the Request-URI (the INVITE line itself).

From Display

Controls which SIP header field RingQ uses to extract the caller's display name (shown on the recipient's phone screen).

OptionDescription
From UserUses the user part of the From: URI as the display name.
From DisplayUses the display name of the From: header. Most common source for caller name. [Default]
To UserUses the To: header user part as the display name.
InviteUses the Request-URI user part as the display name.

DID Match Type

Tells RingQ which SIP header contains the dialled DID number. RingQ compares this against your inbound routes to decide where to send the call.

OptionDescription
InviteMatches the DID against the user part of the Request-URI. SIP standard, most widely used. [Default]
From UserMatches the DID against the From: header user part. Some APAC carriers write the DID here.
From Display NameMatches the DID against the display name in the From: header.
To UserMatches the DID against the To: header user part.

4. Outbound Settings Per-route SIP header construction

These settings appear inside each Outbound Rule. They apply per route — so Route 1 can use different SIP header behaviour from Route 2 on the same trunk.

Why per-route? A single trunk may carry local, national, and international traffic through different provider routes. Each route may have its own caller ID requirements, which is why RingQ exposes this control at the route level.

Figure 2 — Outbound Rules dialog showing Outbound Calls Setting and Outbound Setting (Advance Setting) sections

Sip From User & Sip From Display Name

These two fields share the same set of 10 options. Sip From User populates the user part of the SIP From: URI. Sip From Display Name populates the display name portion of the From: header.

OptionDescription
Extension NameSends the calling extension's friendly name. Default for Emergency Rules.
Extension NumberSends the calling extension's number.
Trunk NameSends the trunk's configured name.
SIP Auth IDSends the SIP authentication ID of the trunk.
SIP UsernameSends the SIP username configured on the trunk.
Outbound Rule NameSends the name of the outbound rule being used for this call.
Caller ID from ExtensionSends the Caller ID set on the originating extension.
Caller ID from TrunkSends the Caller ID configured on the trunk itself.
Caller ID from Outbound RuleSends the Outbound Caller ID on this route. Default for Outbound Rules. [Default]
CustomEnter a fixed string to use regardless of the caller or route.

Sip From Host

Defines what appears as the host/domain part of the SIP From: URI (e.g. from:1234@yourdomain.com).

OptionDescription
DomainUses your RingQ system domain. Standard for most SIP carriers. [Default]
Default IPUses the system's public IP address. Required by carriers that authenticate by IP.
CustomEnter a specific hostname or IP when the carrier requires a particular host value.

CID Type

Controls which SIP header carries the authoritative caller ID used for billing and CLI presentation.

OptionDescription
PAIUses the P-Asserted-Identity header. Standard for trusted, network-verified CLI. Most modern carriers prefer this. [Default]
RPIDUses the Remote-Party-ID header. Required by older carriers that pre-date the PAI standard.
NoneNo extra identity header. CLI is taken only from the From: header.

5. Emergency Rules — Advance Setting

The Advance Setting section inside Emergency Rules exposes the same four SIP header fields as Outbound Rules. However, the defaults differ: for emergency calls, RingQ sends the Extension Name so dispatchers can identify the caller, rather than a generic outbound caller ID.

Figure 3 — Emergency Rules dialog showing Emergency Calls Setting and Advance Setting sections

Important: Do not set the Emergency Rule Route to BLOCK in a production environment. BLOCK prevents all calls matching that pattern from going out. Use it only in testing or when the trunk is not licensed for emergency calls.

Dropdown Options — Screenshots

The screenshots below show all available options for each dropdown in the Emergency Rules Advance Setting section.

Sip From User — options

Figure 4a — Sip From User dropdown (10 options: Extension Name through Custom)

Sip From Display Name — options

Figure 4b — Sip From Display Name dropdown (same 10 options)

Sip From Host — options

Figure 4c — Sip From Host dropdown (Domain, Default IP, Custom)

CID Type — options

Figure 4d — CID Type dropdown (PAI, RPID, None)

Emergency vs Outbound — Default Comparison

FieldEmergency DefaultOutbound DefaultReason
Sip From UserExtension NameCaller ID from Outbound RuleEmergency services need to identify who called
Sip From Display NameExtension NameCaller ID from Outbound RuleDispatcher screen shows real person's name
Sip From HostDomainDomainSame — domain identifies your system to PSAP
CID TypePAIPAISame — PAI is the trusted identity standard for E911

6. Common Configuration Scenarios

These ready-made configurations cover the situations administrators encounter most often.

North American SIP Carrier (standard)

Carriers like Twilio, Bandwidth, Vonage — From header carries the CLI, INVITE URI carries the DID.

FieldSetting
From UserFrom User
From DisplayFrom Display
DID Match TypeInvite
CID TypePAI
TransportUDP

Asia-Pacific Carrier (DID in From header)

Some APAC carriers send the DID in the From User rather than the Request-URI.

FieldSetting
From UserFrom User
From DisplayFrom Display
DID Match TypeFrom User
CID TypePAI
TransportUDP

Legacy ITSP (RPID + To header DID)

Older carriers using RPID for CLI and placing the DID in the To header.

FieldSetting
From UserFrom User
From DisplayFrom Display
DID Match TypeTo User
CID Type (Outbound)RPID
Sip From HostDefault IP
TransportTCP

Encrypted Enterprise Trunk (TLS + SRTP)

Secure trunks for HIPAA, finance, or government environments requiring encrypted signalling.

FieldSetting
TransportTLS
DID Match TypeInvite
CID TypePAI
Codec Priority #1OPUS
Expiry Seconds300

7. Quick Field Reference All fields across all dialogs

FieldDialogDefaultNotes
Calls AllowedAdvanced Setting0 (unlimited)Set to limit concurrent calls
Expiry SecondsAdvanced Setting3600Match carrier registration interval
Re-register TimeoutAdvanced Setting180Must be less than Expiry Seconds
Transport ProtocolAdvanced SettingUDPUse TLS for encrypted signalling
Codec PriorityAdvanced SettingPCMA, PCMU, iLBC, G722, G729, OPUSArrange per carrier preference
From UserInbound SettingFrom UserSource for caller's user part
From DisplayInbound SettingFrom DisplaySource for caller's display name
DID Match TypeInbound SettingInviteSource for matching inbound DID
Sip From UserOutbound / EmergencyCaller ID from Rule / Extension Name10 options incl. Trunk Name, SIP Auth ID, Custom
Sip From Display NameOutbound / EmergencyCaller ID from Rule / Extension NameSame 10 options as Sip From User
Sip From HostOutbound / EmergencyDomainDomain, Default IP, or Custom
CID TypeOutbound / EmergencyPAIPAI, RPID, or None