modem

C++ api for understanding tone signals on a phone line

Deadly 提交于 2019-12-08 09:10:48
问题 Is there any good c++ source codes or api for handling phone lines like understanding tone signals. For example i like to find out if the person enters 3 (it's likely that this is done using it's tone sound). Do i need a special modem for this purpose or it can be done using only standard modems. 回答1: DTMF is the term you are looking for: http://en.wikipedia.org/wiki/Dual-tone_multi-frequency Whether you can process incoming DTMF tones with a particular modem depends on whether the modem

List all System Modems

别等时光非礼了梦想. 提交于 2019-12-07 07:05:27
问题 Is there a way in managed code to list the Modem/Telephony devices installed on the system? If .Net does not have a way, could you point me in a direction? 回答1: WMI will contain all the information you need in the Win32_POTSModem class. In C# or .Net, you can utilize the System.Management namespace to query WMI. Within .Net, you can use MgmtclassGen.EXE from the platform SDK to generate a class object representing the WMI class. The command line would be like this: C:\Program Files\Microsoft

List all System Modems

天涯浪子 提交于 2019-12-05 16:06:23
Is there a way in managed code to list the Modem/Telephony devices installed on the system? If .Net does not have a way, could you point me in a direction? WMI will contain all the information you need in the Win32_POTSModem class. In C# or .Net, you can utilize the System.Management namespace to query WMI. Within .Net, you can use MgmtclassGen.EXE from the platform SDK to generate a class object representing the WMI class. The command line would be like this: C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\mgmtclassgen.exe Win32_POTSModem /L CS /P c:\POTSModem\Win32_POTSModem.cs and then

Free Modem Dialer

巧了我就是萌 提交于 2019-12-05 12:06:37
Is there a telephone application for modems that can receive a phone number as a parameter and manage the call for themselves? I ask because in my application I must implement a click2call functionality and may be is a free software out there that I can use and I do not have to fight with TAPI. Thanks! Here are a few wrappers available to abstract away the complicated parts of using TAPI. TAPI Wrapper http://www.vbrad.com/article.aspx?id=61 Normally, the domain of C/C++ programmers, this wrapper code will allow you to skip all the complexity and get to work straight away. ATAPI - Managed TAPI

How to I detect whether a tty belonging to a gsm/3g-modem is a data or control port?

久未见 提交于 2019-12-05 06:07:02
I'm currently writing a small tool for a linux router that sets up a wwan (gsm/3g) connection when I plug an appropriate modem into its USB port. When the device is plugged in several ttys are registered and I currently maintain a list of manufacturers and devices and which of their registered ttys is the control / data port. If possible I want to get rid of this list and find a way to somehow probe the registered ttys directly to check if they are a control port or a data port. I examined the sourcecode of wvdial and modem-manager to see how these tools detect the right port but was unable to

Receiving SMS with GSM modem

╄→гoц情女王★ 提交于 2019-12-04 18:35:25
I read that a GSM modem can only receive up to 30 SMS per minute. What would you do if you need to receive more than that? Is there another technology? 3G Telecoms I think you might want something different to those answers listed at What are the best practices for building an SMS server If you just have one service that is running where you want to receive many SMS then it would be most cost effective (and simplest) to avoid integrating with a mobile network operator and instead use a SMS aggregator. These often call themselves SMS gateways, but they are independent companies and not a mobile

Sending SMS AT commands to 3G modem using PHP

怎甘沉沦 提交于 2019-12-04 13:35:16
问题 I'm having trouble sending commands to a 3G modem connected on COM5. The modem is accepting the connection and receiving the commands. But there is something wrong (I think it is in my syntax/AT commands). In hyperterminal the commands are returning errors. If anyone can help I would gladly appreciate it. -------CODE BELOW------- <? exec("mode COM5 BAUD=9600 PARITY=N data=8 stop=1 xon=off"); $fp = fopen ("\\.\COM5:", "r+"); //$fp = dio_open('COM5:', O_RDWR | O_NOCTTY | O_NONBLOCK); if (!$fp)

How can I communicate with a 3G modem via pySerial while it is connected?

白昼怎懂夜的黑 提交于 2019-12-04 12:55:59
I'm running Ubuntu 11.04 and a ZTE 3G modem. The modem is dialed with WvDial When the modem is not in use by WvDial I can send AT commands to the modem, and get information like signal strength: AT+ZCSQ +ZCSQ: 1, -87 OK But when WvDial is using the modem, /dev/ttyUSB0 is locked and I can't query it. Am I missing something obvious? Is there any way I can configure the modem, WvDial , or pyserial so I can send AT commands to the modem while it's connected? Ah. Apparently this modem exposes a couple of ttys to work with. I was able to use /dev/ttyUSB1 to sent AT commands while WvDial was

What is the best design for polling a modem for incoming data?

安稳与你 提交于 2019-12-04 11:20:53
问题 I have a GSM modem connected to my computer, i want to receive text messages sent to it using a python program i have written, am just wondering what is the best technique to poll for data. Should i write a program that has a infinite loop that continuously checks for incoming sms's i.e within the loop the program sends the AT commands and reads the input data. or do modems have a way of signaling an application of an incoming data(sms). Am trying to imagine a cellphone is just a GSM modem,

how to get balance by USSD commands?

ε祈祈猫儿з 提交于 2019-12-04 10:24:23
I have tired to search how to send USSD command on Google. I want to check may balance from operator. All of the samples I have seen use commands like this: "AT+CUSD=1,\"*140*1#\"\r\n"; It seems to be correct. I am using something like this that I think works. I have a D-Link GSM modem, and when I send this command using it, it makes some noise on my speaker, which I believe tells me something happened. my modem have it's own windows application when i disconnected modem by my own application,i check it by modem's application and in USSD tab i can found the result of my commands that i sent by