473,772 Members | 2,349 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Retrieving data from modem

Hi

How can I retrieve data from modem ? For ex. I have established connection
from dial-up and I want to get voice from modem and save it. Is it possible
?

Taptu¶
--
http://www.studio-spider.com
http://czarter.studio-spider.com
Nov 17 '05 #1
3 1888
"Taptu¶" <pu***@poczta.o net.pl> wrote in message
news:c5******** **@nemesis.news .tpi.pl...
How can I retrieve data from modem ? For ex. I have established connection
from dial-up and I want to get voice from modem and save it. Is it

possible

Yes. However, it is anything but easy.

When you say "dial-up" if you are referring to dial-up networking known
formally as Remote Access Services (RAS) then I think that if there is a
solution you will have to come up with one yourself.

However, if your modem uses the Unimodem TSP (telephony service provider),
and if it models its input and output units as Windows waveform devices,
then you can use the Telephony API (TAPI) to make or receive a telephone
call, ask TAPI to get the device ID of the remote party's "microphone ", and
use the waveform API (waveInOpen() etc ) to gain access to the audio stream.
That done, you can write a RIFF header to a file and append to it the
digitized audio samples that you read from the microphone.

It is not a task for the faint of heart. :-)

Regards,
Will
Nov 17 '05 #2
see TAPI
see the MSDN samples
you will find some pointers there.

--
Tarun
*************** *************** *************** *************** **********
Tarundeep Singh Kalra
(tarundeep1976_ nospam_at_yahoo _dot_nospam_dot _com)

visit:
www.tarunsadhana.com

*************** *************** *************** *************** *************
"Taptu¶" <pu***@poczta.o net.pl> wrote in message
news:c5******** **@nemesis.news .tpi.pl...
Hi

How can I retrieve data from modem ? For ex. I have established connection
from dial-up and I want to get voice from modem and save it. Is it possible ?

Taptu¶
--
http://www.studio-spider.com
http://czarter.studio-spider.com

Nov 17 '05 #3

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

Similar topics

2
2607
by: Etienne Labuschagne | last post by:
Assuming the modem is on COM5: m = open('COM5','wb+') m.write('+++\r\n') m.flush() m.write('ATQ0V1E0\r\n') m.flush() m.write('ATDT5551234;\r\n') m.flush() response = m.read()
4
3233
by: DraguVaso | last post by:
Hi, I'm experimenting with the Serial Port in VB.NET 2005. Although it isn't that easy to get any feedback from my COM-port as I thought it would be... How can I read all the Data that the port sends back? I tryed with SerialPort1.ReadLine, but that blocks the application and takes a lot of time (10 seconds!), I tryed SerialPort1.Read, but I have to read it into a buffer and has to indicate the count, but how do I know this?
1
1519
by: RD | last post by:
I had an app in VB 6 that was being used to receive data automatically from callers using a modem - not via the internet, via dedicated phone lines. I now need to do the same thing but using .Net managed code using VB.NET. Can anyone point me to sample code on how to do this? I would also like to be able to use multi-modems ie a modem that has built-in connections for several phone lines. I don't even know where to find these, does...
17
3370
by: Franc Zabkar | last post by:
My D-Link DSL-302G modem/router has a real-time clock whose settings are volatile. To avoid hand keying the date/time via the modem's JS interface, I wonder if there is a way to copy the JS code to the hard drive and modify it to automatically retrieve the PC's date/time. I could then add the hacked JS page to my browser's bookmarks. I've already successfully modified and adapted other modem menus, but I don't know how to go about this...
1
9449
by: jimmyfo | last post by:
Hi, I recently wrote an ASP.Net web application in VS2005 and published (using VS2005 Publish feature) it to a relatively clean machine with ASP.Net 2.0 and MDAC 2.8 installed on it. However, when I try to create my SQL connection in the code-behind, I get the following error. I tried to register the DLL using regsvr32 but that errored out saying, "dllregisterserver entry point was not found". Any ideas? Retrieving the COM class factory...
4
2061
by: Epictitus | last post by:
I am trying to write a script which will allow me to read the contents of an HTTP web page into memory, parse the data, and output a calculated value. The HTTP page is on a web enable appliance - I am reading some data out of a table for further calculation. I can't modify the web appliance, only read the text data. I've written a script on my Windoze PC that successful uses a MSXML2 ActiveX object to read the contents of a web page...
3
6476
by: Nutshell | last post by:
Hello everybody, in my application I'd need to know if a com port is a modem or not (and eventually its description and if it is a null modem). I get the list of com ports available with: string portList = System.IO.Ports.SerialPort.GetPortNames(); and then i set a port object like this: System.IO.Ports.SerialPort sPort = new System.IO.Ports.SerialPort(portList); Is there some property of the serial port who tells me indirectly it is a...
5
1981
by: Sanjay Pais | last post by:
I have a table with over 1.3 million rows. I am retrieving only 20 at a time using the with - over clauses In query analyser, the data is retrieved in under a second. When retrieving using the data adaptor.fill or datareader to retrieve the data it takes over 24 seconds. public System.Data.SqlClient.SqlDataReader List1(int PageIndex, int PageSize, string ItemName, string UserIDs, DateTime DateStart, DateTime DateEnd, int status,...
1
3648
by: ghjk | last post by:
I'm write code to read data from GSM modem. but it couldn't read modem response. Could you please help me? I'll post my code. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.Threading;
0
9621
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2851
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.