Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Voice call through GSM modem

Tags:

ivr

modem

gsm

I would like to use a GSM modem to make a voice call to a phone number, play a recorded message, wait for a digit to be pressed and then disconnect the call. The system needs to know if the line was busy, if the user answered and which digit was pressed by user (if any). It should drop the line if nothing is pressed in 30 seconds. If user presses the digit before the question is completed then the voice should stop (user doesn't have to wait). Also, it would be nice if system could handle invalid digits (play "invalid digit" message, play original message and wait for input). Multiple calls in parallel would be nice, but I guess this is not possible?

I have found this article which explains low-level interface quite nicely. However, this question is more pragmatic - which libraries and which GSM modem would you recommend? OS is Linux, modem can be either RS232 or USB. I would prefer Python, but C(++) is ok too.

BTW: this is not telemarketing, it is a notification system. Not that it matters... ;)

EDIT: I learned this system is known by keyword "IVR" (added for future searchers).

like image 550
johndodo Avatar asked Aug 18 '11 12:08

johndodo


People also ask

Can GSM module make a call?

A GSM Module is used for making a Voice Call. Arduino is used here for controlling the whole process, and a Numeric Keypad is used in this circuit which is used for Entering, for Deleting Mobile Number and Dialing the Entered Number.

How do you make a call with GSM?

AT commands used to make call using gsm module : ” AT+CHFA = 1″ This command is used to select Audio channel. “AT+CMIC = 1” This command is used to select gain of Audio. Its value can be between 0-15. “ATD092341434445” This command is used to make call to required number.

What is the use of GSM modem?

A GSM modem or GSM module is a device that uses GSM mobile telephone technology to provide a wireless data link to a network. GSM modems are used in mobile telephones and other equipment that communicates with mobile telephone networks. They use SIMs to identify their device to the network.

How can I use my phone as a GSM modem?

Install free GSM Modem Emulator for Android Click menu 'Configure Default App' to configure app as default SMS app. 2. Click menu 'Start/stop control panel' to start working. Attention: Please enable WIFI on Android phone then SMSDeliverer is able to connect android phone by local intranet IP address.


2 Answers

A modem is generally used for data transmission but it sounds like you are actually transmitting voice, albeit prerecorded voice, and tones.

Although you can achieve this with the extra voice capability of a voice modem as you have identified, it might actually be easier to use a GSM to VoIP gateway, unless you actually need the modems data capability for some reason.

You could connect the VoIP to GSM gateway to a low cost or free open source PABX (such as Asterisk) and use this to build your particular application.

Some gateways even support multiple SIMS so you can target the SIM which gives the lowest call rate for the number you are calling - for example if you know that the number you want to call is on a particular operator, then that operator may offer free 'on network' calls between it's SIMs. This might be an advantage if you are expecting to make a large number of calls.

If you do a web search for 'VoIP GSM gateways' you will find some examples.

The following link provides an overview also: http://www.voip-info.org/wiki/view/VOIP+GSM+Gateways

like image 111
Mick Avatar answered Sep 19 '22 14:09

Mick


I am no expert in this field but it is something of a personal project that I have wanted to dive into.

Here is what I think will be the best way to do this.

  • 1 Get yourself a VOIP GSM Gateway like this: VOIP+GSM+Gateways
  • 2 Link into an existing PABX system or download a free one like asterisk

Then you will need to follow the instructions of the PABX development to create your dial plans and routing. I don't know if there are any already out there but I'm sure you will find many examples of the bits and pieces you need.

like image 25
Talon Avatar answered Sep 19 '22 14:09

Talon