Header	"Sample Surcharge File, NBR96 Rate schedule as of 3.Sept.97.^^"							
! 								
! Edit this file with a spreadsheet program.  Do NOT use NotePad or WordPad.  This file contains								
! fields delimited by <tab> characters.  Attempting to edit it with an inappropriate editor								
! will almost certainly result in damage to the file.  A sample file in Microsoft Excel format								
! is available on the PAL web site.								
!								
"! From the spreadsheet, save this file, complete with comments and headers as a tab-delimited"								
! ASCII file for use by PAL95.								
!								
! The rules in this file are based on the NBR96 rate schedule.  								
!								
! Comment lines begin with an exclamation point.								
!								
"! MS-Excel likes to enclose some lines or items in double quotes ("").  Don't worry about removing the"								
! quotes.  PAL will remove them for you.								
!								
"! Rows may contain comments, rules or messages.  The first rule that matches the selected number "								
! with the indicated values determines which message will be displayed.  The last rule in the  								
! file is the default rule.  It contains the message to display if the surcharge file has no								
! information about the selected phone number.								
!								
"! If the ""Message"" column starts with ""MSG="", it refers to a message name.  Otherwise it"								
! contains the actual message.  Message names are mapped to actual messages at the 								
! bottom of the file.  This scheme allows you to change the messages for a related group								
! of rules with a single edit.								
!								
! Here's an example of how PAL95 will process this file.								
!								
"! The user has picked the CompuServe 800 number in Canada.  PAL searches the file from top to bottom,"								
"! looking for the first ""Rule"" line which matches.  It will stop when it hits the rule with"								
"! Provider=""CompuServe"", Country=""Canada"" and AreaCode=""800"".  Next, PAL95 looks at the message column"								
"! for that rule.  In this case, the Message column starts with ""MSG="", which instructs PAL95"								
"! to look for the actual text of the message further in the file.  PAL95 continues reading ""surcharg.txt"","								
"! this time looking for for a message named ""1-800 Access Canada"""								
!								
"! Further in the file, PAL95 will find the row with Type=""Msg"" and Provider=""1-800 Access Canada""."								
"! This row refers to another message, named ""Generic"".  Still further in the file is a row"								
"! with Type=""Msg"" and Provider=""Generic"".  This row contains the actual message for 1-800 access"								
! from Canada.								
!								
"! This scheme, although somewhat complicated, allows an administrator to change the wording"								
! for whole groups of messages with a single edit.  It also makes it very easy for an administrator								
"! to override the message for a single network, while leaving the generic messages in place."								
!								
"! The role of ""priccode.txt"":"								
!								
"! With some providers, most notably Equant and CompuServe, the billing code depends on the"								
"! country.  This information might be subject to change, so PAL95"								
"! first tries to look up a billing code using the Provider and Country.  The file named ""priccode.txt"""								
"! contains the lookup table. Unlike ""surcharg.txt"", ""priccode.txt"" will be refreshed whenever"								
"! you download a new phone directory.  PAL95 uses the billing code from ""priccode.txt"" to match the"								
"! the ""Provider"" column in ""surcharg.txt"".  Thus, the ""Provider"" column in ""surcharg.txt"""								
"! can contain either a provider code from PAL95, or a billing code from ""priccode.txt""."								
!								
"! Example lookup using ""priccode.txt"" and ""surcharge.txt"""								
!								
"! 1... You select the Equant number in Moscow, Russia."								
"! 2... PAL95 scans ""priccode.txt"" and finds that Equant in Russia is billed under ""EURONET"""								
"! 3... PAL95 starts scanning ""surcharg.txt"" until it finds Provider=""EURONET"""								
"! 4... The message for EURONET is named ""EURONET""."								
"! 5... PAL95 continues scanning ""surcharg.txt"" until it finds a row with Type=Msg, Msg=EURONET, which"								
"          points to another message named ""Generic"""								
"! 6... PAL95 continues scanning ""surcharg.txt"" until it finds Type=Msg, Msg=Generic.  This message"								
"          doesn't refer to any other message, so the text is displayed to the user."									
!									
! A generic message can be coded in such a way that it includes information from some some of the									
"! columns of ""surcharg.txt"".  PAL95 will replace the following special characters in message strings:"									
!									
!	^	Newline							
!	%C	Country Name column							
!	%B	Billing Description column							
!	%P	Value from Cost/Hour (Price) Column							
!	%%	A % sign							
!	%^	A caret symbol							
!									
! Row Type	Provider	Country	City	State.Abrv	AreaCode	Phone No	CNS Billing Designator	Cost/Hour	Message to User
Rule		Thailand						Per Byte	MSG=The Thai government imposes a tax on each kilobyte transferred.^^This may result in substantial surcharges.
Rule	AlaskaNet						AlaskaNet		MSG=AlaskaNet
Rule	ARG-Net						Argentina-Connect		MSG=Argentina-Connect
Rule	BT						BT		MSG=BT
Rule	CServe-IPDial	United States			800		1-800 Access USA		MSG=1-800 Access USA
Rule	CServe-IPDial	United States					"CompuServe, USA"		"MSG=CompuServe, USA"
Rule	CompuServe		CPS Caribbean 800				800 Access Caribbean		MSG=800 Access Caribbean
Rule	CompuServe		CompuServe WATS				800 Access Caribbean		MSG=800 Access Caribbean
Rule	CompuServe	United States			800		1-800 Access USA		MSG=1-800 Access USA
Rule	CompuServe	Canada			800		1-800 Access Canada		MSG=1-800 Access Canada
!									
"! If you are connecting to a computer outside the United States, Canada or Puerto Rico, you "									
! may incur a network access surcharge even when calling from the otherwise surcharge-free									
"! numbers in the USA or Canada.  However this is an unusual traffic pattern, and most"									
! users prefer not to be bothered with warnings about use of the CompuServe numbers									
! in the US and Canada.									
!									
Rule	CompuServe			AK			CNS USA Non-Cont		MSG=No Message
Rule	CompuServe			HI			CNS USA Non-Cont		MSG=No Message
Rule	CompuServe			VI			CNS USA Non-Cont		MSG=No Message
Rule	CompuServe	Puerto Rico					CNS USA Non-Cont		MSG=No Message
Rule	CompuServe	United States					"CompuServe, USA"		"MSG=CompuServe, USA"
Rule	CompuServe	Canada					"CompuServe, Canada"		"MSG=CompuServe, Canada"
Rule	CompuServe	Mexico	Nationwide				800 Access Mexico		MSG=800 Access Mexico
Rule	CompuServe	Mexico					CNS Mexico		MSG=CNS Mexico
Rule	CompuServe	Australia					Australia-Connect		MSG=Australia-Connect
Rule	CompuServe	New Zealand					Australia-Connect		MSG=Australia-Connect
Rule	CompuServe	Hungary					Hungary-Connect		MSG=Hungary-Connect
Rule	CompuServe	China (Hong Kong)					CNS Hong Kong		MSG=CNS Hong Kong
Rule	CompuServe	Japan					CNS Japan		MSG=CNS Japan
Rule	CompuServe	Singapore					CNS Singapore		MSG=CNS Singapore
Rule	DataPac						Canada-Connect		MSG=Canada-Connect
Rule	Datex-J						Deutsche Telekom		MSG=Deutsche Telekom
Rule	EIRPAC						Ireland-Connect		MSG=Ireland-Connect
Rule	FENICS II						Japan-Connect		MSG=Japan-Connect
Rule	Fr-Tele						Global One Europe		MSG=Global One Europe
Rule	FTT						France Telecom Transpac		MSG=France Telecom Transpac
Rule	GBL 1/FTCon						Global One FT-Connect		MSG=Global One Europe
Rule	GBL 1/SprNt						Global One/SprintNet		MSG=SprintNet
Rule	GridNet-IP						GridNet-IP		MSG=GridNet-IP
Rule	GridNet/X.28						GridNet/X.28		MSG=GridNet/X.28
Rule	Ji Tong						Ji Tong		MSG=Ji Tong
Rule	PacNet						Guam-Connect		MSG=Guam-Connect
Rule	Plus Net						Swiss PlusNet		MSG=Swiss PlusNet
Rule	Pos-Srv LL						S.Korea-Connect		MSG=S.Korea-Connect
Rule	SEVA						Italy-Connect		MSG=Italy-Connect
Rule	Satyam Info.						Satyam/India Connect		MSG=Satyam/India Connect
Rule	SprintNet	Kuwait					SprintNet		MSG=SprintNet
Rule	SprintNet	Indonesia					SprintNet		MSG=SprintNet
Rule	SprintNet	Columbia					SprintNet		MSG=SprintNet
Rule	SprintNet	Peru					SprintNet		MSG=SprintNet
Rule	SprintNet	Bulgaria					SprintNet		MSG=SprintNet
Rule	SprintNet	Hungary					SprintNet		MSG=SprintNet
Rule	SprintNet	United States					SprintNet USA		MSG=SprintNet USA
Rule	SprintNet						SprintNet		MSG=SprintNet
Rule	TrendLine						Israel-Connect		MSG=Israel-Connect
Rule	TTN-Net						Taiwan-Connect		MSG=Taiwan-Connect
Rule	Tymnet	United States					MCI/BT USA (Continental)		MSG=MCI/BT USA
Rule	Tymnet	Oman					MCI/BT Oman		MSG=MCI/BT Oman
Rule	UUNet-IPDial						UUNet-IPDial		MSG=No Message
Rule	UUNet/X.28						UUNet/X.28		MSG=UUNet/X.28
Rule	VNZ-Net	Venezuela					Venezuela-Connect		MSG=Venezuela-Connect
Rule	VNZ-Net	Colombia					Colombia-Connect		MSG=Venezuela-Connect
!									
"! Pricing for the Equant and InfoNet networks is broken down by country.  There is an associated file,"									
"! ""priccode.txt"", which maps provider + country to a pricing code."									
!									
Rule	CNS EURO						CNS %C		MSG=CNS EURO
Rule	AFRICANET						AFRICANET		MSG=AFRICANET
Rule	LATINET						LATINET		MSG=LATINET
Rule	PACIFICNET						PACIFICNET		MSG=PACIFICNET
Rule	WORLDNET						WORLDNET		MSG=WORLDNET
Rule	EURONET						EURONET		MSG=EURONET
Rule	InfoNt-Eu						EURO-Connect		MSG=EURO-Connect
Rule	InfoNt-World						World-Connect		MSG=World-Connect
!									
! Here's the default rule.  DON'T ADD ANY MORE RULES AFTER THIS ONE.									
!									
Rule							Unknown Provider		The surcharge file does not have any details about the provider and phone number you selected.^^Please consult your rate schedule for current pricing.
!									
"! Message codes can map to other message codes, provided the generic message codes"									
! follow the references in the file.									
!									
Msg	1-800 Access Canada	MSG=Generic						
Msg	1-800 Access USA	MSG=Generic						
Msg	800 Access Caribbean	MSG=Very Substantial						
Msg	800 Access Mexico	"There may be a surcharge for use of this 800 number in addition to the network access charges for points both inside Mexico and elsewhere.^^Consult your rate schedule under ""%B"" for details."						
Msg	AFRICANET	MSG=Generic						
Msg	AlaskaNet	MSG=Generic						
Msg	Argentina-Connect	MSG=Substantial						
Msg	Australia-Connect	MSG=Generic						
Msg	BT	MSG=Generic						
Msg	Canada-Connect	"If you intend to perform bulk data transfers, you may find it more to your advantage to use CompuServe's 1-800 number.^^Consult your rate schedule under ""%B"" for details."						
Msg	CNS EURO	"There is no network surcharge if you are connecting to a computer in Western Europe.^^Connections to computers outside Western Europe may be subject to a network access surcharge.^^Consult your rate schedule under ""CNS %C"" for details."						
Msg	CNS Hong Kong	MSG=Generic						
Msg	CNS Japan	MSG=Generic						
Msg	CNS Singapore	MSG=Generic						
Msg	CNS Mexico	MSG=Generic						
Msg	"CompuServe, Canada"	MSG=No Message						
Msg	"CompuServe, USA"	MSG=No Message						
Msg	Deutsche Telekom	MSG=Generic						
Msg	EURO-Connect	MSG=Generic						
Msg	EURONET	MSG=Generic						
Msg	France Telecom Transpac	MSG=Generic						
Msg	Global One Europe	MSG=Generic						
Msg	GridNet-IP	MSG=Generic						
Msg	GridNet/X.28	MSG=No Message						
Msg	Guam-Connect	MSG=Substantial						
Msg	Hungary-Connect	MSG=Generic						
Msg	Ireland-Connect	MSG=Generic						
Msg	Israel-Connect	MSG=Generic						
Msg	Italy-Connect	MSG=Generic						
Msg	Japan-Connect	MSG=Generic						
Msg	Ji Tong	MSG=Generic						
Msg	LATINET	MSG=Generic						
Msg	MCI/BT Oman	MSG=Substantial						
Msg	MCI/BT USA	MSG=Use 800 Number						
Msg	PACIFICNET	MSG=Generic						
Msg	Satyam/India Connect	MSG=Substantial						
Msg	S.Korea-Connect	MSG=Generic						
Msg	SprintNet	MSG=Substantial						
Msg	SprintNet USA	MSG=Use 800 Number						
Msg	Swiss PlusNet	MSG=Generic						
Msg	Taiwan-Connect	MSG=Generic						
Msg	UUNet/X.28	"There is no network surcharge if you are connecting to a computer in Western Europe.^^Connections to computers outside Western Europe may be subject to a network access surcharge.^^Consult your rate schedule under ""UUNet/X.28"" for details."						
Msg	USA Non-Cont	There is no network surcharge if you are connecting to a computer in the United States.^^Connections to computers outside the United States may be subject to a network access surcharge.^^Consult your rate schedule for details.						
Msg	Venezuela-Connect	MSG=Generic						
Msg	World-Connect	MSG=Generic						
Msg	WORLDNET	MSG=Generic						
!								
! Here are some generic messages								
!								
MSG	Generic	"There may be a network access surcharge for use of this number.^^Consult your rate schedule under ""%B"" for details."						
MSG	Substantial	"There may be a substantial network access surcharge for use of this number.^^Consult your rate schedule under ""%B"" for details."						
MSG	Very Substantial	"There may be a very substantial network surcharge for use of this number.^^Consult your rate schedule under ""%B"" for details."						
MSG	Use 800 Number	"You may find it more to your advantage to use CompuServe's 1-800 number.^^Consult your rate schedule under ""%B"" for details."						
MSG	No Message							
