11-19-2002
R. Prabhu,
if this is home work , You have missed FAQ and rules of this site. check them out first.
Simply speaking , pstn networks can use unix "gateways" to transmit voice over I.P.
that is if u have backbone for pstn ready , than this is what happens:
caller A picks up a phone , gets dial tone (from PSTN backbone)
dial a no of reciver B. The gateway server uses TCP /IP , which sends this signal as packet based ,to another Gateway node in IP world , which than looks at this package , decides which destination gateway can handle this package (or telephone no),
forwards it there , than that gateway sends that package to reciver B. and call is completed. As I.P is Packed based ,there is no dedicated connection , that is every one can use same connection . where as in PSTN pure network , one a link is established , it can not be used untill free.
regarding coding , i dont know. But You got to write a code , how to connect to or "dial in" ( i think using cu "tel no" command)to a getway server.
good luck
7 More Discussions You Might Find Interesting
1. IP Networking
Unix and windows XP on a IBM rs6000 server.
I can't approche the server from the pc with XP.
Can somebody tell me something about this problem?:confused: (4 Replies)
Discussion started by: charley
4 Replies
2. IP Networking
hai to all,
that i came to know all telephone exchanges
use unix.i want to know wheather we can connect telephones
uaeing unix,if it possible means how&and also i need about
more information about "telephones in unix"
... (1 Reply)
Discussion started by: radheesh
1 Replies
3. UNIX for Dummies Questions & Answers
Hello There,
I configure my Modem as follow.
Step1.
# admintool &
Then from Browse --> Serial Port
i select tta port and Edit --> Modify
From that i select Template : Modem:Dial Out
Baud Rate: 9600
Ok
Step 2
# tip /dev/cua/a
connected (1 Reply)
Discussion started by: abidmalik
1 Replies
4. Shell Programming and Scripting
my code is
nawk ' BEGIN { RS = "<CRM";
FS = ".;-"
}
' file_name
even when i have explicitly defined the record separator as <CRM. Still the system is taking new line as record separator. please help
Thanks in advance.
Regards
Rochit (1 Reply)
Discussion started by: rochitsharma
1 Replies
5. UNIX for Dummies Questions & Answers
I have a problem using uucp. I have Ubuntu 10.4 and i installed the 'uucp' package.
In my LAN there are a desktop pc, a laptop, and the router
the desktop local ip is: 192.168.0.2
the laptop local ip is: 192.168.0.4
Here are the /etc/uucp/config and the /etc/uucp/sys i used on the desktop.... (4 Replies)
Discussion started by: mghis
4 Replies
6. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi, here is my other assignment for the week.
Create a shell script for a telephone book application. ... (7 Replies)
Discussion started by: Jagst3r21
7 Replies
7. Shell Programming and Scripting
How can I script to check telephone number entered by user in a uniz script:
print -n "Enter telephone number to check ? " ; read telno
How do I script to :
1) Check if entered without dashes or with dashes
2) If without dashes how can I check:
if telno is only 10... (2 Replies)
Discussion started by: mrn6430
2 Replies
LEARN ABOUT OPENDARWIN
ct
ct(1C) Communication Commands ct(1C)
NAME
ct - spawn login to a remote terminal
SYNOPSIS
ct [options] telno...
DESCRIPTION
The ct utility dials the telephone number of a modem that is attached to a terminal and spawns a login process to that terminal. The telno
is a telephone number, with equal signs for secondary dial tones and minus signs for delays at appropriate places. (The set of legal char-
acters for telno is 0 through 9, -, =, *, and #. The maximum length telno is 31 characters). If more than one telephone number is speci-
fied, ct will try each in succession until one answers; this is useful for specifying alternate dialing paths.
ct will try each line listed in the file /etc/uucp/Devices until it finds an available line with appropriate attributes, or runs out of
entries.
After the user on the destination terminal logs out, there are two things that could occur depending on what type of port monitor is moni-
toring the port. In the case of no port monitor, ct prompts: Reconnect? If the response begins with the letter n, the line will be dropped;
otherwise, ttymon will be started again and the login: prompt will be printed. In the second case, where a port monitor is monitoring the
port, the port monitor reissues the login: prompt.
The user should log out properly before disconnecting.
OPTIONS
The following options are supported:
-h Normally, ct will hang up the current line so that it can be used to answer the incoming call. The -h option will prevent
this action. The -h option will also wait for the termination of the specified ct process before returning control to the
user's terminal.
-sspeed The data rate may be set with the -s option. speed is expressed in baud rates. The default baud rate is 1200.
-v If the -v (verbose) option is used, ct will send a running narrative to the standard error output stream.
-wn If there are no free lines ct will ask if it should wait, and for how many minutes, before it gives up. ct will continue
to try to open the dialers at one-minute intervals until the specified limit is exceeded. This dialogue may be overridden
by specifying the -wn option. n is the maximum number of minutes that ct is to wait for a line.
-xn This option is used for debugging; it produces a detailed output of the program execution on stderr. n is a single number
between 0 and 9. As n increases to 9, more detailed debugging information is given.
FILES
/etc/uucp/Devices
/var/adm/ctlog
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbnuu |
+-----------------------------+-----------------------------+
SEE ALSO
cu(1C), login(1), uucp(1C), ttymon(1M), attributes(5)
NOTES
The ct program will not work with a DATAKIT Multiplex interface.
For a shared port, one used for both dial-in and dial-out, the ttymon program running on the line must have the -r and -b options specified
(see ttymon(1M)).
SunOS 5.10 14 Sep 1992 ct(1C)