CountryOrRegion

CountryOrRegion specifies the geo-code for this location. This code is not the same as the country code that is used for dialing.

Region codes change over time. To find the latest region codes, follow these steps:

  1. Create a registry key that has a list of region codes by using the Phone and Modem item in Control Panel. To do this, follow these steps:

    1. On your technician computer, use the Run command to open telephon.cpl. This opens the Phone and Modem Control Panel. The first time this Control Panel item is opened, a dialog box opens and prompts you for location details. If this dialog box does not appear, close the Phone and Modem Control Panel, and then continue to step 2.

    2. Follow the on-screen prompts to enter the location information. After you have set the location information, the system writes a registry key that has an updated list of region code values.

  2. Find the list of region codes in the registry. To do this, follow these steps:

    1. Use the Run command to open regedit. This open Registry Editor.

    2. In Registry Editor, navigate to the Computer\HKEYLOCALMACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony\Country List registry key. This registry key shows the current list of region code identifiers.

Values

Region_code

Specifies the region code. Region_code is an integer.

Valid Configuration Passes

specialize

Parent Hierarchy

microsoft-windows-tapisetup- | TapiUnattendLocation | CountryOrRegion

Applies To

For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-tapisetup-.

XML Example

The following example shows how to set the location that you are calling from.

<TapiUnattendLocation>
   <AreaCode>123</AreaCode>
   <CountryOrRegion>246</CountryOrRegion>
   <DisableCallWaiting>7</DisableCallWaiting>
   <InternationalCarrierCode>123456789</InternationalCarrierCode>
   <LongDistanceAccess>11</LongDistanceAccess>
   <LongDistanceCarrierCode>123456789</LongDistanceCarrierCode>
   <Name>MyLocation</Name>
   <OutsideAccess>9</OutsideAccess>
   <PulseOrToneDialing>1</PulseOrToneDialing>
</TapiUnattendLocation>

TapiUnattendLocation