Contents
Treating 1pcc calls via trunks as external
Starting with version 8.1.103.32, SIP Server can treat 1pcc calls from external callers (agents behind SIP trunks) as inbound calls. Previously, if the username in the From header of the initial INVITE request matched the name of the existing DN in the SIP Switch, SIP Server treated that inbound call as an internal call.
Feature Configuration
To enable this feature:
- Set the enforce-1pcc-inbound option to true.
- Set the internal-call-domains option to a list of IPv4 CIDR blocks or FQDN separated by semicolons (;).
Configuration Options
enforce-1pcc-inbound
Setting: TServer section, Application level
Default Value: false
Valid Values: true, false
Changes Take Effect: For the next call
When set to true, SIP Server treats 1pcc calls from external callers as inbound calls. A caller is considered as internal if both conditions are met:
- A username in the From header matches the Extension DN configured in the SIP Switch.
- A network address of the caller in the first Via header matches the IPv4 CIDR blocks or FQDN listed in the internal-call-domains option.
If the internal-call-domains option is empty, all received 1pcc calls are treated as inbound calls.
Note: The enforce-external-domains option has higher priority over the enforce-1pcc-inbound option. If a call is received from the address specified in the enforce-external-domains option, this feature is not applied.
internal-call-domains
Setting: TServer section, Application level
Default Value: An empty string
Valid Values: A list of IPv4 CIDR blocks or FQDN separated by semicolons (;). The IP address without a wildcard means the host address—for example, "1.2.3.0" means "1.2.3.0/32".
Changes Take Effect: For the next call
If the enforce-1pcc-inbound option is set to true and the internal-call-domains option is set to a list of IP addresses, SIP Server treats 1pcc calls arriving from the addresses that match the specified list as internal calls. All other 1pcc calls are treated as inbound calls. If the option is empty, all 1pcc calls are treated as inbound calls.
Feature Limitations
- IPv6 addresses are not supported in the list of the internal-call-domains option.
