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 MOJAVE
regexp::common::uri::tel
Regexp::Common::URI::tel(3) User Contributed Perl Documentation Regexp::Common::URI::tel(3)
NAME
Regexp::Common::URI::tel -- Returns a pattern for telephone URIs.
SYNOPSIS
use Regexp::Common qw /URI/;
while (<>) {
/$RE{URI}{tel}/ and print "Contains a telephone URI.
";
}
DESCRIPTION
$RE{URI}{tel}
Returns a pattern that matches tel URIs, as defined by RFC 2806. Under "{-keep}", the following are returned:
$1 The complete URI.
$2 The scheme.
$3 The phone number, including any possible add-ons like ISDN subaddress, a post dial part, area specifier, service provider, etc.
$RE{URI}{tel}{nofuture}
As above (including what's returned by "{-keep}"), with the exception that future extensions are not allowed. Without allowing those future
extensions, it becomes much easier to check a URI if the correct syntax for post dial, service provider, phone context, etc has been used -
otherwise the regex could always classify them as a future extension.
REFERENCES
[RFC 1035]
Mockapetris, P.: DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION. November 1987.
[RFC 2396]
Berners-Lee, Tim, Fielding, R., and Masinter, L.: Uniform Resource Identifiers (URI): Generic Syntax. August 1998.
[RFC 2806]
Vaha-Sipila, A.: URLs for Telephone Calls. April 2000.
SEE ALSO
Regexp::Common::URI for other supported URIs.
AUTHOR
Damian Conway (damian@conway.org)
MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be).
BUGS AND IRRITATIONS
Bound to be plenty.
LICENSE and COPYRIGHT
This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail.
This module is free software, and maybe used under any of the following licenses:
1) The Perl Artistic License. See the file COPYRIGHT.AL.
2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
3) The BSD Licence. See the file COPYRIGHT.BSD.
4) The MIT Licence. See the file COPYRIGHT.MIT.
perl v5.18.2 2013-03-08 Regexp::Common::URI::tel(3)