Version: 10.2.1c and 10.2.1c SP3 |
Responder Overview > Optional Functionality > Web Server > Add Fields or Customize Existing Fields > Configure Telephone Numbers |
Responder allows you to determine the minimum and maximum length for the phone number as well as the default area code and other properties.
These settings reside in the web.config file at this location: C:\Inetpub\wwwroot\Responder. Open Web.config and look for the following bit of XML.
<appSettings> <add key="phoneNumbers.MinNumberLength" value="7"/> <add key="phoneNumbers.MaxNumberLength" value="10"/> <add key="phoneNumbers.MaxExtensionLength" value="5"/> <add key="phoneNumbers.AppendPrefixIfLengthEquals" value="7"/> <add key="phoneNumbers.NumberExtensionSplitter" value="x"/> <add key="DefaultAreaCode" value = "970" /> </appSettings>
If you do not want to use one of these settings, use comment marks to disable it. For example:
<appSettings>
<!--<add key="DefaultAreaCode" value = "307" /> -->
</appSettings>
To change the display format for phone numbers, there are two files to modify:
C:\Inetpub\wwwroot\responder\App_GlobalResources\strings.resx - This file contains the PhoneNumberFormat name. Its value must be set to the phone format of the locale.
C:\Inetpub\wwwroot\responder\web.config - This file contains the AcceptedNumberLength configuration. The value of this configuration must be set according to the following example:
Set to 11 = the entire phone number including area code, 1-970-223-1888
Set to 7 = the last 7 digits of the phone number, 223-1888
Set to 4 = the last 4 digits of the phone number, 1888