Treating 1pcc calls via trunks as external
Starting with version 8.1.103.32, SIP Server can treat 1pcc calls from external callers 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 enforce-1pcc-inbound=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
If set to true, SIP Server treats 1pcc calls from external callers as inbound calls. Caller is considered as internal if both conditions are satisfied: 1) username in "From:" matches with Extension DN configured in the SIP Switch; 2) Network address of caller in the first "Via:" header matches with on of IPv4 CIDR blocks or FQDN listed in the option 'internal-call-domains'.
If option 'internal-call-domains' is empty, all received 1pcc calls will be treated as inbound.
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 ';'.
IP address without wildcard means host address, for example, "1.2.3.0" meaning "1.2.3.0/32".
Changes take effect For the next call
If option enforce-1pcc-inbound set to true, 1pcc calls from addresses which matched with this list will be treated as internal, all other 1ppc calls will be treated as inbound. If the option is empty, all 1pcc calls will be treated as inbound.
