phones(4) Kernel Interfaces Manual phones(4)NAME
phones - File containing the remote host phone number database
SYNOPSIS
/etc/phones
The /etc/phones file contains the system-wide private phone numbers for the tip(1) program.
DESCRIPTION
This file is normally unreadable, and so may contain privileged information. The format of the file is a series of lines of the form: sys-
temname phone-number
where systemname is defined in the /etc/remote file and phone-number is the system phone number terminated only by a comma or by the end of
the line. Only one phone number per line is permitted. However, if more than one line in the file contains the same system name, tip will
attempt to dial each one in turn, until it establishes a connection.
EXAMPLES
The following example shows the entry in /etc/phones for the system, zeus: zeus 9=555-9898
In this example, the = sign (or an asterisk) forces the autocall units to pause and wait for a second dial tone, when going through an
exchange. The = is required by the DF02-AC (an asterisk would be required by the BIZCOMP 1030).
RELATED INFORMATION
Commands: tip(1).
Files: remote(4). delim off
phones(4)
Check Out this Related Man Page
phones(4) File Formats phones(4)NAME
phones - remote host phone number database
SYNOPSIS
/etc/phones
DESCRIPTION
The file /etc/phones contains the system-wide private phone numbers for the tip(1) program. /etc/phones is normally unreadable, and so may
contain privileged information. The format of /etc/phones is a series of lines of the form:
<system-name>[ ]*<phone-number>.
The system name is one of those defined in the remote(4) file and the phone number is constructed from [0123456789-=*%]. The `=' and `*'
characters are indicators to the auto call units to pause and wait for a second dial tone (when going through an exchange). The `=' is
required by the DF02-AC and the `*' is required by the BIZCOMP 1030.
Comment lines are lines containing a `#' sign in the first column of the line.
Only one phone number per line is permitted. However, if more than one line in the file contains the same system name tip(1) will attempt
to dial each one in turn, until it establishes a connection.
FILES
/etc/phones
SEE ALSO tip(1), remote(4)SunOS 5.10 14 Jan 1992 phones(4)
Dos someone know of a simple phone dialer I can use to paste in a phone number, and dial it? It's a lazy habit I got into using Dos, and Windows.
Sonshyne5 (10 Replies)
I have the file with the records like
4234234 US phone
3244234 US cup
2342342 CA phone
8947234 US phone
2389472 CA cup
2348972 US maps
3894234 CA phone
I want the records with (US,phone) as record to be in one file, (Us, cup) in another file and (CA,cup) to be in another
I mean all... (12 Replies)
txt file like this,
1 2 3 4456
a bb c d 3 f e
1 k 32 d m f e
123 m 2 k
every line contains 3 or more columns, all the columns are separated by space, and every column includes 1 to 3 character.
what I wanna do is deleting the first three columns, and keep the rest no matter how long... (7 Replies)
Hi!
Suppose I am at a location xyz:/abc1/abc2/abc3
Is it possible to move to another location xyz:/mnl1/mnl2/mnl3
by some coding within a script? (5 Replies)
We have a 7028 p series server that has a lapsed hardware service contract, and I was attempting to create a billable tech support phone call, and IBM said that they do on site billable only. Is anybody out there aware of reputable third party support companies I might be able to contact. I have... (7 Replies)
say I have a file named phones
in that file every line is like that
lastname^firstname^phone
how can I make a program in cshell that searches for a specific string
in phones and echos the result (if found) like that:
lastname1
firstname1
phone1
------------------
lastname2
firstname2... (8 Replies)
hi if would like to get the phone number as an output, can you guide me here please
<A>213444555</A><B><B>ABCDEFG</B>
I just want to get the phone number from the file in between <A> and </A>
Thanks (9 Replies)
I'm writing a program that takes input from the user of a phone number or a name then either tells them if that entry doesn't exist in a text document or returns the entry if it does exist. But if they enter a name AND number it either returns the entry if it exists or adds it to the document.
To... (17 Replies)
Hi All,
I am doing a perl script validation for Phone numbers.
The normal phone number format is 01-32145.
I need to do two validations for the phone number
1) A valid phone number can have at least two digits as prefix and at least five digits as postfix. e.g. 01-01011
2) A... (5 Replies)
I'm about to make the switch over to Android OS for my mobile phone. I'm thinking my first Android phone might be something like a Samsung Galaxy S or an HTC Desire HD, or I might wait for one of the new Android tablets coming out later this year (like the Samsung 7" tablet on Android).
Was... (10 Replies)
Hi, My animal ID's have two zeros in them and are also converting to asterisk. I only need to change the zero values in columns two and three. I would appreciate any help.
This is my data structure:
head phendata.txt
201008809 0.0 0.0
201008810 0.0 0.0
201008813 0.0 0.0
201014103... (6 Replies)
Hello all
I have a data base of information that is formatted like so:
JSD4863 XXX-XX-XXXX DOE, JOHN C JR-II BISS CPSC BS INFO TECH 412/779-9445
I need the last four digits of the phone number. However, many lines contain
'garbage data' that I'm not interested in. So i used a 'for loop'... (7 Replies)
Hello All,
I have a project I'm working on which involves a linux PC and a USB (*dialup) Modem in a remote location for telnet'ing to that
PC by phone when the Ethernet connection is down.
I have already purchased the USB modems I need and some dumb phones for line testing... Now I'm trying... (7 Replies)