CountryOrRegionCountryOrRegion

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. 在技术人员计算机上使用运行命令,以打开telephon.cplOn 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. 如果未显示此对话框中,关闭电话和调制解调器控制面板,然后继续到步骤 2。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. 使用运行命令,以打开regeditUse the Run command to open regedit. 此打开注册表编辑器。This open Registry Editor.

    2. 在注册表编辑器中,导航到计算机\HKEYLOCALMACHINE\软件\Microsoft\Windows\CurrentVersion\电话\国家/地区列表注册表项。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_codeRegion_code

指定的区域代码。Specifies the region code. Region_code是一个整数。Region_code is an integer.

有效配置阶段Valid Configuration Passes

专用化specialize

父层次结构Parent Hierarchy

microsoft-windows-tapisetup- | TapiUnattendLocation | CountryOrRegionmicrosoft-windows-tapisetup- | TapiUnattendLocation | CountryOrRegion

适用于Applies To

有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅microsoft-windows-tapisetup-For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-tapisetup-.

XML 示例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>

TapiUnattendLocationTapiUnattendLocation