4.10 Sample Phonebook File for a Demand-dial Connection

This example illustrates the settings associated with a Demand-Dial connection "dd1". The description for each key/value pair is given in the following table. The format of the phonebook file is defined in section 2.2.2. The phonebook entry for "dd1" is stored inside the file router.pbk present under the path %windir%\system32\ras on the RRAS server. The following table describes the sample phonebook settings associated with "dd1". The first column in the following table is the sample phonebook file representing the settings for "dd1" connection. The second column is the description of the values for all of the settings.

Phonebook file

Meaning

[dd1]\CR\LF

Name of the Demand-Dial connection is "dd1"

Encoding=1\CR\LF

Encoding format is UTF-8

Type=1\CR\LF

Type of connection is dial-up

AutoLogon=0\ CR\LF

Ignored

UseRASCredentials=0\CR\LF

Ignored

LowDateTime=-300171584\CR\LF

Ignored

HighDateTime=30015653\CR\LF

Ignored

DialParamsUID=700993612\CR\LF

A unique number

Guid=ECFE1B3644EBB744A7562E43091795ED\CR\LF

A unique identifier of the Demand-Dial connection "dd1"

BaseProtocol=1\CR\LF

Ignored

VpnStrategy=0\CR\LF

Ignored for Modem connection type

ExcludedProtocols=0\CR\LF

Negotiate IPv4 and IPv6

LcpExtensions=1\CR\LF

Enable LCP extensions

DataEncryption=8\CR\LF

Request data encryption

SwCompression=1\CR\LF

Enable software compression

NegotiateMultilinkAlways=0\CR\LF

Don't negotiate multilink

SkipNwcWarning=0\CR\LF

Ignored

SkipDownLevelDialog=0\CR\LF

Ignored

SkipDoubleDialDialog=0\CR\LF

Ignored

DialMode=1\CR\LF

Dial all Modems

DialPercent=75\CR\LF

Ignored since DialMode is 1

DialSeconds=120\CR\LF

Ignored since DialMode is 1

HangUpPercent=10\CR\LF

Ignored since DialMode is 1

HangUpSeconds=120\CR\LF

Ignored since DialMode is 1

OverridePref=32\CR\LF

Read CallbackMode from this entry

RedialAttempts=0\CR\LF

Redial attempts is set to 0

RedialSeconds=60\CR\LF

Redial seconds is set to 60

IdleDisconnectSeconds=300\CR\LF

Idle disconnect seconds is set to 300

RedialOnLinkFailure=0\CR\LF

Do not redial the connection on link failure

CallbackMode=0\CR\LF

No callback

CustomDialDll=\CR\LF

The key does not have a value

CustomDialFunc=\CR\LF

Ignored

CustomRRASDialDll=\CR\LF

Ignored

ForceSecureCompartment=0\CR\LF

Ignored

DisableIKENameEkuCheck=0\CR\LF

Ignored. This is not applicable since Type is "1".

AuthenticateServer=0\CR\LF

Server authentication is disabled

ShareMsFilePrint=0\CR\LF

NetBT is disabled

BindMsNetClient=0\CR\LF

Microsoft Net client is disabled

SharedPhoneNumbers=1\CR\LF

Phone numbers are shared for all the subentries

GlobalDeviceSettings=0\CR\LF

Do not use the device settings present in the phonebook file

PrerequisiteEntry=\CR\LF

Ignored

PrerequisitePbk=\CR\LF

Ignored

PreferredPort=COM3\CR\LF

Preferred port name is "COM3"

PreferredDevice= Compaq 56K USB External Fax Modem \CR\LF

Preferred device name is "Compaq 56K USB External Fax Modem"

PreferredBps=115200\CR\LF

Maximum transfer speed is 115200 bits per second for preferred modem

PreferredHwFlow=1\CR\LF

Hardware flow control is enabled for preferred modem

PreferredProtocol=1\CR\LF

Cyclic Redundancy Check (CRC) is enabled for preferred modem

PreferredCompression=1\CR\LF

Enable hardware compression for preferred modem

PreferredSpeaker=1\CR\LF

Enable modem speaker for preferred modem

PreferredMdmProtocol=0\CR\LF

Ignored

PreviewUserPw=1\CR\LF

Ignored

PreviewDomain=1\CR\LF

Ignored

PreviewPhoneNumber=0\CR\LF

Ignored

ShowDialingProgress=0\CR\LF

Ignored

ShowMonitorIconInTaskBar=1\CR\LF

Ignored

CustomAuthKey=0\CR\LF

Ignored since AuthRestrictions not configured to negotiate EAP

AuthRestrictions=544\CR\LF

Negotiate authentication protocols Challenge Handshake Protocol (CHAP) and Microsoft Challenge Handshake Protocol Version 2 (MSCHAPv2)

IpPrioritizeRemote=1\CR\LF

Ignored

IpInterfaceMetric=0\CR\LF

Ignored

IpHeaderCompression=1\CR\LF

Enable IPv4 header compression

IpAddress=0.0.0.0\CR\LF

Ignored since IpAssign is 1

IpDnsAddress=0.0.0.0\CR\LF

Ignored since IpNameAssign is 3

IpDns2Address=0.0.0.0\CR\LF

Ignored since IpNameAssign is 3

IpWinsAddress=0.0.0.0\CR\LF

Ignored since IpNameAssign is 3

IpWins2Address=0.0.0.0\CR\LF

Ignored since IpNameAssign is 3

IpAssign=1\CR\LF

RRAS assigns the IPv4 address

IpNameAssign=3\CR\LF

RRAS assigns the IPv4 DNS and WINS address

IpDnsFlags=0\CR\LF

Do not register the client IPv4 address with DNS

IpNBTFlags=0\CR\LF

Disable NetBT

TcpWindowSize=0\CR\LF

Ignored

UseFlags=2\CR\LF

Ignored

IpSecFlags=0\CR\LF

Ignored since Type is 1.

IpDnsSuffix=\CR\LF

Ignored

Ipv6PrioritizeRemote=1\CR\LF

Ignored

Ipv6InterfaceMetric=0\CR\LF

Ignored

Ipv6NameAssign=1\CR\LF

RRAS assigns the IPv6 DNS address

Ipv6DnsAddress=::\CR\LF

Ignored since Ipv6NameAssign is 1

Ipv6Dns2Address=::\CR\LF

Ignored since Ipv6NameAssign is 1

Ipv6InterfaceId=0000000000000000\CR\LF

Ignored

NETCOMPONENTS=\CR\LF

Ignored

ms_msclient=0\CR\LF

Ignored

ms_server=0\CR\LF

Ignored

MEDIA=serial\CR\LF

Media name is serial

Port=COM3\CR\LF

Communication port name is COM3

Device=Compaq 56K USB External Fax Modem\CR\LF

Device name is "Compaq 56K USB External Fax Modem"

ConnectBPS=115200\CR\LF

Maximum transfer speed is 115200 bits per second

DEVICE=switch\CR\LF

Device type is pre-connect switch

Terminal=1\CR\LF

Display terminal window

DEVICE=modem\CR\LF

Device type is modem

PhoneNumber=2006034\CR\LF

Primary local phone number to dial is 2006034

AreaCode=\CR\LF

Ignored as UseDialingRules is 0

CountryCode=91\CR\LF

Ignored as UseDialingRules is 0

CountryID=91\CR\LF

Ignored as UseDialingRules is 0

UseDialingRules=0\CR\LF

Do not use the dialing rules

Comment=\CR\LF

Ignored

FriendlyName=\CR\LF

Ignored

PhoneNumber=2006035\CR\LF

Alternate local phone number is 2006035

AreaCode=\CR\LF

Ignored because UseDialingRules is 0

CountryCode=91\CR\LF

Ignored as UseDialingRules is 0

CountryID=91\CR\LF

Ignored as UseDialingRules is 0

UseDialingRules=0\CR\LF

Do not use the dialing rules

Comment=\CR\LF

Ignored

FriendlyName=\CR\LF

Ignored

LastSelectedPhone=0\CR\LF

Ignored

PromoteAlternates=0\CR\LF

Do not promote alternate numbers

TryNextAlternateOnFail=1\CR\LF

Try alternate number on failure of the primary number

HwFlowControl=1\CR\LF

Hardware flow control is enabled

Protocol=1\CR\LF

Cyclic Redundancy Check (CRC) is enabled

Compression=1\CR\LF

Enable hardware compression

Speaker=0\CR\LF

Disable modem speaker

MdmProtocol=0\CR\LF

Ignored