473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Telephony project

I'm new to Python and need to do a (low level, I think) telephony
project ( POTS, all local calling) in WinXp.
1. Fetch phone number from my ASCII data.
2. Dial (always a local number) phone (through USRobotics 56K? ).
3. Ask @3 questions to called phone number. Y/N Y/N Y/N
4. Save answers to ASCII file.
5. Say 'Thanks', hang up.
Repeat till eof()
And...I've not seen any telephony books in/for Python. Any and all
help, suggestions, directions, etc. would be *GREATLY* appreciated.

TIA

Sep 26 '05 #1
6 1960
"Roger" <ma***********@googlemail.com> writes:
1. Fetch phone number from my ASCII data.
2. Dial (always a local number) phone (through USRobotics 56K? ).
3. Ask @3 questions to called phone number. Y/N Y/N Y/N
4. Save answers to ASCII file.
5. Say 'Thanks', hang up.
Repeat till eof()


There is an excellent graphic on the web showing how to do this phone
spamming with Python. It used to be at http://goatse.cx but I don't
know where it is now.
Sep 26 '05 #2
"CheckOn" is the working name for my project. Our church
community has many elderly who are at home but close to assisted living
placements. Many do not have family and rely on volunteer caretakers
and lunch providers for their socialization. We are trying to make
phone contact with these members to check on their needs, wellbeing,
and ability to take care of themselves. In sharing that information
with other denominations in our city, we discovered that others were
having identical issues. The numbers are larger than we anticipated.
Thus the project. Thanks for your interest.

Sep 27 '05 #3

I was able to do something like this in Python a while back. You'll need one
of:
(a) A telephone line dialer/monitor & DTMF I/O board that works through the
serial port, and a phone audio tap that mixes the soundcard I/O to the phone
(b) A TAPI-compliant modem that does everything you need
(c) A digital POTS phone that is controllable through serial, USB or your
LAN, or a TAPI interface.
(d) VOIP software and service than uses SIP, etc. (I found this I found
this:
http://softphones.globaliptel.com/(c...e844bcd86b2955,
but am in no way endorsing it. Also check out http://www.sipfoundry.org/)

I used method (a) -- (b) tends to be a pain (as most OEM TAPI modems have
some fatal flaw or three...) and (c/d) may be more possible now that before.
I used voice reco on the input side rather then DTMF, but I was doing it
from local phone exensions on the same loop, not for outside calls, and not
for the elderly, so DTMF is probably better anyway. (If you need to know the
exact hardware I used, I can find out.)

The other option is to not have your own hardware at all and use a
service -- there are companies provide web services that let you
write/generate markup (VoiceXML or other) to make the calls, wait for DTMF
or voice input, etc. (Though I had trouble Googling one at the moment -
there were more a few years ago...)

m

"Roger" <ma***********@googlemail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
"CheckOn" is the working name for my project. Our church
community has many elderly who are at home but close to assisted living
placements. Many do not have family and rely on volunteer caretakers
and lunch providers for their socialization. We are trying to make
phone contact with these members to check on their needs, wellbeing,
and ability to take care of themselves. In sharing that information
with other denominations in our city, we discovered that others were
having identical issues. The numbers are larger than we anticipated.
Thus the project. Thanks for your interest.

Sep 27 '05 #4
It will be much easier to use asterisk, there's a win32 version aterisk
available but it does not support hardware phone, voip only.
A clone FXO card only cost $15 on ebay.

"Roger" <ma***********@googlemail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
I'm new to Python and need to do a (low level, I think) telephony
project ( POTS, all local calling) in WinXp.
1. Fetch phone number from my ASCII data.
2. Dial (always a local number) phone (through USRobotics 56K? ).
3. Ask @3 questions to called phone number. Y/N Y/N Y/N
4. Save answers to ASCII file.
5. Say 'Thanks', hang up.
Repeat till eof()
And...I've not seen any telephony books in/for Python. Any and all
help, suggestions, directions, etc. would be *GREATLY* appreciated.

TIA

Sep 27 '05 #5
Hello Roger,
1. Fetch phone number from my ASCII data. Trivial in Python.
2. Dial (always a local number) phone (through USRobotics 56K? ). Can't recall that. 3. Ask @3 questions to called phone number. Y/N Y/N Y/N You can use flite (http://www.speech.cs.cmu.edu/flite/) for Text-To-Speech.
(e.g. system("flite -t 'how are you?'"))
4. Save answers to ASCII file. You need to get the audio, maybe you can use portaudio
(http://www.portaudio.com/)
5. Say 'Thanks', hang up. flit again.
Repeat till eof()

Trivial.

HTH.
--
------------------------------------------------------------------------
Miki Tebeka <mt*****@qualcomm.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDOorp8jAdENsUuJsRAqcdAJ4g+PK/IngBFKEIHBzUfdnFCBw1VQCgu4Cv
fkv6Mdc7TfS+1oEVaDN0dbk=
=iT+3
-----END PGP SIGNATURE-----

Sep 28 '05 #6
Thanks for all the helpful postings! A clearer specification for
my project is that the CALLER speaks directly to list_member. And
enters, thru GUI checkbox(s), answering: r_u_ok?; Send chuch member to
visit list_member; call Social Worker, help needed, etc. An important
element is to verify that the elderly member has been called. When,
and by whom. And if additional care, contact is needed.
After reading replys I think I can do all Python work. I'm
looking at pySerial to manage the phone calls. The s/w needs to be
GUI, ez to use (elderly volunteers) and work on donated (read 'old')
hardware. Thank you all for your advice, pointers, and suggestions. rm

Sep 29 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Manjeet Singh | last post by:
Hi there I was browsing around the java.sun website and was looking at Java telephone technology. I discovered that there are two different kinds of Java telephone technologies. One is...
0
by: Paul Kinsella | last post by:
---------------------------------------------------------------------- NEWS BULLETIN - http://www.companywire.net ---------------------------------------------------------------------- Company...
3
by: Emily | last post by:
Hi, I'm trying to develop an application for monitoring incoming telephone calls. I have caller ID on my telephone line and would the application to make use of that. For example, I would it to...
1
by: XTRAN | last post by:
Hi everybody, I ran into some problems when I installed Microsoft Speech Server(MSS) 2004: 1- Before installing MSS, I can use WebApplication template provided by VS 2003 professional. After...
0
by: New Devil | last post by:
i am working on TAPI and when i use microsoft telephony it gives me error "Can't load telephony information. you must hev the version 4 of the api installed." Plz help if u can.... ----==...
2
by: Rudy Ray Moore | last post by:
How can I modify the project build order of a multi-project workspace under "Visual Studio .net 2003 7.1 c++"? I tried to modify the .sln by hand to influence the build order, but it didn't seem...
8
by: dgk | last post by:
I need to write a fairly simple Voice Information System that answers the phone, plays messages, and detects touchtones. Maybe sends a fax. Is there anything built into .Net to handle this stuff or...
2
by: Tony M | last post by:
Anyone know of any SDK for VB .net 2005 (or I can buy higher version) for telephony boards and Intel HMP? I've looked at, Pronexus InventLab CTI32 Diva (Free but no support for what answered...
3
by: JDCyrus | last post by:
Hi. I'm new here, so sorry if I do something wrong. I'm trying to write a script that dials into a PBX (presumably using normal telephony) and plays an audio file into the phone. I've been looking...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.