Version 5.2 331 September 2007
SIP User's Manual 6. ini File Configuration
Table 6-12: Number Manipulation and Routing Parameters
ini File Field Name
Web Parameter Name
Valid Range and Description
PhoneContext
Defines the Phone Context table.
Format for this ini file parameter table:
[PhoneContext]
FORMAT PhoneContext_Index = PhoneContext_Npi,
PhoneContext_Ton, PhoneContext_Context;
[\PhoneContext]
Where,
 Npi = Number Plan
 Ton = Number Type
 Context = Phone-Context value
When a call is received from the ISDN, the NPI and TON are compared
against the table, and the Phone-Context value is used in the outgoing
SIP INVITE message. The same mapping occurs when an INVITE with
a Phone-Context attribute is received. The Phone-Context parameter
appears in the standard SIP headers where a phone number is used
(Request-URI, To, From, Diversion).
For example:
[PhoneContext]
PhoneContext 0 = 0,0,unknown.com
PhoneContext 1 = 1,1,host.com
PhoneContext 2 = 9,1,na.e164.host.com
[\PhoneContext]
Notes:
 For an explanation on ini file parameter tables, refer to 'Structure of
ini File Parameter Tables' on page 269.
 This parameter can appear up to 20 times.
 Several entries with the same NPI-TON or Phone-Context are
allowed. In this scenario, a Tel-to-IP call uses the first match.
 Phone-Context '+' is a unique as it doesn't appear in the Request-
URI as a Phone-Context parameter. Instead, it's added as a prefix to
the phone number. The '+' isn't removed from the phone number in
the IP-to-Tel direction.
 To configure Phone Context table using the Embedded Web Server,
refer to 'Mapping NPI/TON to Phone-Context' on page 118.