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.
New behavior with enforce-1pcc-inbound=true will be as following: if username in the header "From:" of initial INVITE request can be matched with the name of existing DN in CME and address in the first header "Via:" is matched address mentioned in the internal-call-domains than this call will be treated as internal, otherwise it will be treated as inbound.
Option 'enforce-extenal-domains' has higher priority over the new option 'enforce-1pcc-inbound'. If call is received from address mentioned in the option 'enforce-external-domain', then feature described in this document will not be applied to it.
Feature Configuration
To enable this feature:
- Set the enforce-1pcc-inbound option to true.
- Set internal-call-domains to ?
Configuration Options
enforce-1pcc-inbound
Setting: Application level >TServer section
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 satisfied:
- 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.
internal-call-domains
Setting: Application level >TServer section
Default Value: An empty string
Valid Values: A list of IPv4 CIDR blocks or FQDN separated by semicolon (;). 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 arrived from the addresses that match the specified list as internal calls. All other 1ppc calls are treated as inbound calls. If the option is empty, all 1pcc calls are treated as inbound calls.
