Configuring STIR/SHAKEN
PortSIP PBX allows you to enforce STIR/SHAKEN-based call handling on a per-trunk basis. You can:
Drop inbound calls based on Caller ID verification status provided by the SIP trunk
Sign outbound calls using your own STIR/SHAKEN certificate
Inbound verification is performed using parameters passed in the P-Asserted-Identity (PAI) SIP header, while outbound signing adds an Identity header to SIP INVITE messages.
Dropping Inbound Calls Based on Verification Status
Configuration Steps
Navigate to Call Manager > Trunks.
Double-click the SIP trunk you want to configure.
Select the Inbound Parameters tab.
In the STIR/SHAKEN section, configure the options described below.
These settings apply only to inbound calls received on this trunk.

PAI Header Parameter Name
Default value: verstat
Used to extract the verification status from the P-Asserted-Identity header
The parameter name may vary depending on your trunk provider
Example:
Enable STIR/SHAKEN Validation
Enables or disables inbound STIR/SHAKEN verification on this trunk
Must be enabled to enforce call dropping based on verification status
Drop Calls with Verification Status
Select one or more verification statuses that should cause the PBX to drop inbound calls
When enabled, the PBX parses the PAI header and compares the verification result
If a match is found, the call is immediately rejected.
Supported Verification Status Values
No-TN-Validation
TN-Validation-Failed
TN-Validation-Passed-B
TN-Validation-Passed-C
TN-Validation-Failed-A
TN-Validation-Failed-B
TN-Validation-Failed-C
Note Verification status values are case-insensitive. For example:
No-TN-Validation,NO-TN-VALIDATION, andNo-tn-Validationare treated the same.
Verification Logic Example
Inbound SIP header:
Explanation:
verstatindicates the verification resultAttestation level (
A,B, orC) is provided separately
Scenario
If the following values are selected in Drop Calls with Verification Status:
TN-Validation-Failed-B
No-TN-Validation
The call will be dropped, because:
The verification result is
TN-Validation-PassedThe attestation indicator is
BCombined, this matches
TN-Validation-Passed-B
If no attestation indicator is present, the PBX requires an exact match in the PAI header, for example:
Signing Outbound Calls with STIR/SHAKEN
To sign outbound calls on a trunk, you must follow the process of obtaining your own STIR/SHAKEN certificate. This involves the following steps:
Acquire a US FCC 499-A Filer ID and an Operating Company Number (OCN).
After securing these, you can then proceed to apply for your STIR/SHAKEN token and certificate, which are required for authenticating calls.
Obtaining a STIR/SHAKEN Certificate
To implement STIR/SHAKEN, follow these steps:
Obtain an FCC 499 ID Apply for and receive an FCC 499-A Filer ID, which is necessary for companies providing telecom services in the U.S.
Get an Operating Company Number (OCN) An OCN is a 4-character identifier assigned to telecom companies in North America. You’ll need this to proceed with certification.
Acquire Your iConnectiv Token iConnectiv is the designated policy administrator for the STIR/SHAKEN framework. Obtain your token through their portal.
Partner with a Certificate Authority (CA) Collaborate with a trusted Certificate Authority (CA) to issue your STIR/SHAKEN certificate, enabling you to sign and authenticate your outbound calls.
Uploading the STIR/SHAKEN Certificate
Certificates can be uploaded at either the System Administrator or Tenant Administrator level.
Certificate Scope
System Administrator certificate Used to sign calls on trunks created by the System Administrator
Tenant certificate Used to sign calls on trunks created by the Tenant Administrator
Uploading at the System Administrator Level
Navigate to Advanced > Settings.
Select the STIR/SHAKEN Certificates tab.
Open the public certificate file and paste its contents into Public Certificate.
Open the private key file and paste its contents into Private Key.
Click OK to save.
Uploading at the Tenant Administrator Level
Navigate to Advanced > STIR/SHAKEN.
Paste the public certificate into Public Certificate.
Paste the private key into Private Key.
Click OK to save.

Enabling STIR/SHAKEN Signing on a Trunk
To enable call signing for a specific trunk:
Navigate to Call Manager > Trunks.
Double-click the trunk to edit.
Select the Options tab.
Enable STIR/SHAKEN Signature Required.
Click OK to save.

Outbound Call Signing Behavior
When an outbound call is placed over a trunk with STIR/SHAKEN Signature Required enabled:
PortSIP PBX signs the call using the uploaded certificate
An Identity header is added to the SIP INVITE
The signature allows downstream carriers to verify the caller ID
Example SIP INVITE
Last updated