C.0 Editing the dialing.xml File

This section applies only to those clusters that are running a voice bridge.

The role of the dialing.xml file is to specify the rules whereby a given phone number is transformed into the set of digits dialed by the voice server. For example, default area codes that must be appended to all 7-digit phone numbers. Most of the file consists of a collection of attributes and their values. The following table lists the attributes and their roles:

Table C-1 Dialing.xml Attributes

Attribute

Description

areaCode

This attribute is a default area code to use when none is present in a phone number.

tollPrefix

This attribute is the prefix to dial in order to place a long-distance call. In the US, it is a 1.

i18nPrefix

This attribute is the prefix to use when placing international calls. In the US, 011.

country

A short description of the country the bridge is located in (such as US).

countrycode

This is the international country code of the voice bridge. This code is used to decide whether a number requires that an international call be placed. For the US, the value is 1.

dialingMode

The attribute can be one of the following values:

  • normal: Do not dial an area code except for long distance calls.

  • dialAreaCodeAlways: The phone numbers always have an area code. The area code of the bridge can be used to supply missing area codes.

  • DialAreaCodeOnLD: Only dial an area code for long distance numbers (see areaCodes/exchanges lists below).

The remaining components of the file are two lists: area codes and exchanges. The role of these lists is to determine whether a specified phone number requires a long-distance call by specifying a default condition (either local or long-distance) for area codes or exchanges. The list itself is a set of exceptions to the default. For instance, to specify that all area codes are long-distance except for 978, the following can be used:

<areaCodes default="ld">
	<local>978</local>
</areaCodes>

Similarly with exchanges, you could, for example, specify that most exchanges are long-distance, but 865 is local:

<exchanges default="ld">
	<local>865</local>
</exchanges>