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

From innovaphone wiki
Jump to navigation Jump to search
Line 41: Line 41:


The myApps Phone App and Softphone App get the for the node of the user configured prefixes in the AttachResult or RegisterResult messages.
The myApps Phone App and Softphone App get the for the node of the user configured prefixes in the AttachResult or RegisterResult messages.
= IOS Callkit =

Revision as of 12:05, 14 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.

The type of number values for International, National and Subscriber are converted into their respective prefixes.

This way an international number obtained from a directory can be directly used for dialing.

PBX internal calls

For internal calls, esspecially when nodes are used, as calling party number the shortest possible number, which can be used for call back, is presented to the called endpoint.

PBX database used as LDAP database

The user database of the PBX can be used as a directory. In case of a configuration with nodes (e.164 configuration), at a given user only the number within the node is stored. As "otherTelephoneNumber" the complete number from the root node is provided. If the config option "Adjust LDAP results for e.164" is set, a '+' is added as prefix to this number, so that it can be directly used to be dialed as international number.

Phone App, Softphone App

The myApps Phone App and Softphone App get the for the node of the user configured prefixes in the AttachResult or RegisterResult messages.

IOS Callkit