Reference13r1:Concept Number Adjustments (Dialing Location): Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
Line 19: Line 19:
* If the start of the number matches the prefix for national numbers, the prefix is removed and the country code is added. The resulting number is used for the lookup
* If the start of the number matches the prefix for national numbers, the prefix is removed and the country code is added. The resulting number is used for the lookup
* Fix: match for subscriber prefix
* Fix: match for subscriber prefix
== Type of number handling ==
For any calls sent to the PBX, e.g. outgoing calls from phones, the type of number of calling party number and called party number is converted to the prefixes defined in the node of the object on which the call is received. If the prefix is not defined in the node, the prefix defined in PBX/config is used. The type of number is then set to Unknown.
For SIP calls a '+' at the beginning of the number is treated as a Type international.

Revision as of 17:00, 13 April 2020

Very often numbers are not available in the standard e.164 international format, but in subscriber or national format and maybe also formated with space, bracket, hyphens ort other characters. This article defines all mechanisms in the innovaphone PBX used to adjust numbers. This can be the calling party number for display or for reverse lookup, or the called party number obtained from a directory or other purposes. These mechanisms are implemented in the PBX, the endpoints or in gateways.

PBX

Incoming Calls from Trunks

A Calling Party Numbers sent in a call from the gateway to the trunk should be formated in a way, that it can be used to call back the caller, in the "Unknown Number" format. Which means it should contain any necessary prefixes for national or international numbers.

The PBX Trunk objects adds the Trunk number as prefix.

Reverse Lookup

For reverse lookup it is assumed that a directory exists for the numbers in international format. For this reason the number is converted for the lookup to international format. The prefixes on the PBX/Config page are used for this purpose (fix: Use Prefixes configured in the Node of the user).

The reverse lookup is performed when the call is sent out to a user, so for different users there can be different results.

  • If the start of the number matches the prefix for international numbers, the prefix is removed and the resulting number is used for the lookup
  • If the start of the number matches the prefix for national numbers, the prefix is removed and the country code is added. The resulting number is used for the lookup
  • Fix: match for subscriber prefix

Type of number handling

For any calls sent to the PBX, e.g. outgoing calls from phones, the type of number of calling party number and called party number is converted to the prefixes defined in the node of the object on which the call is received. If the prefix is not defined in the node, the prefix defined in PBX/config is used. The type of number is then set to Unknown. For SIP calls a '+' at the beginning of the number is treated as a Type international.