Auto call answering machine using arduino

Hello everybody...

I want to make a device based on Arduino, that can respond to calls by using recorded voices and forward them.

for example, when someone calling, the machine picks up the phone line and tell:

if you want to talk with manager press 1
if you want to talk with sells department press 2
and if you want to send the fax press 3

when the user send number 1 (DTMF sounds), system forward the caller to the specific number
or when number 2 pressed call forward to another number that you defined it before
and the same process for number 3 and ...

(for example, someone calls the number 337-27-67, machine answering..., and caller want to talk with sells department, so he/she pressing number 2..., in our program code, after pressing number 2, the calls will forward to the number 521-66-26)

Well, I want to know for setting up a device like this, what kind of modules should use?
Also, I mean of this project is not mobile networks or VoIP... But I mean that landline telephone (with rj11 socket).

Those types of devices have been around for a long long time. You don't need to invent this. Just find a working version that does what you want and copy it. Or if you want to save a bunch of time and money, buy one.

If you are connecting this to the telco's line, you will need certification.
Sounds like a legal headache is coming.

.

Thank you...
But I don't want to invent it since I know many kinds of this machines are exist...
I want to have a platform for develope and controls custom events at the feature.

Delta_G:
Those types of devices have been around for a long long time. You don't need to invent this. Just find a working version that does what you want and copy it. Or if you want to save a bunch of time and money, buy one.

Thank you...
But I don't want to invent it since I know many kinds of this machines are exist...
I want to have a platform for develope and controls custom events at the feature.

larryd:
If you are connecting this to the telco's line, you will need certification.
Sounds like a legal headache is coming.

No, Actually there is no any illegal things... Simply I am using my workplace phone line that is registered for my name and my workplace.

What country are you in? Most don't allow uncertified devices on telco lines.

You know you really don't need an Arduino or to build any device. I was trying to get you to do a little research and realize that all you need is a PC computer and some software to handle the phone. The modem on the PC will be certified so no worries hooking illegal home built equipment up.

larryd:
If you are connecting this to the telco's line, you will need certification.
Sounds like a legal headache is coming.

.

Any device connected to the public telephone network must be registered with the FCC and have the FCC registration number on the device. By law, if your device causes damage to the phone network, you are financially responsible and may encounter criminal prosecution.

Look at any device that connects to the phone network and it will have an FCC registration number.

About 15 years ago my business partner thought we should build a fax/modem switch for sale to the public. We hired an electronic engineer to design and build a prototype. He took more than 6 months, including the programming of the micro controller. It worked, but did not proceed with registration and production. Do you have the time to dedicate to the project?

Paul

Paul_KD7HB:
Any device connected to the public telephone network must be registered with the FCC and have the FCC registration number on the device. By law, if your device causes damage to the phone network, you are financially responsible and may encounter criminal prosecution.

Look at any device that connects to the phone network and it will have an FCC registration number.

About 15 years ago my business partner thought we should build a fax/modem switch for sale to the public. We hired an electronic engineer to design and build a prototype. He took more than 6 months, including the programming of the micro controller. It worked, but did not proceed with registration and production. Do you have the time to dedicate to the project?

Paul

Sure, my telephone number already registered on TCWA (Telecommunication of West Azerbaijan). Look, guys, I do not sell any phone lines or something else... looks you misunderstanding my notes!

In some companies, they use Panasonic central phone systems (like tes824 Panasonic. you can google it) that they have built-in auto-answering and auto-forwarding calls system instead of the secretary person! (alive person) Just play a recorded voices like "You want to talk with boss press 1, you want to talk with operator press 2 and so on..." It is simple!!! do not worry :slight_smile:

Be sure there are no any illegal things!

active:
Sure, my telephone number already registered on TCWA (Telecommunication of West Azerbaijan). Look, guys, I do not sell any phone lines or something else... looks you misunderstanding my notes!

In some companies, they use Panasonic central phone systems (like tes824 Panasonic. you can google it) that they have built-in auto-answering and auto-forwarding calls system instead of the secretary person! (alive person) Just play a recorded voices like "You want to talk with boss press 1, you want to talk with operator press 2 and so on..." It is simple!!! do not worry :slight_smile:

Be sure there are no any illegal things!

I think you misunderstand. It isn't selling them that is the problem. It's just connecting something that you built to a phone line that is the problem. Just making that connection. The Panasonic central phone system you mention is certified and is legal to connect to a phone line. Anything you built yourself is NOT.

But that's all a red herring anyway. You don't need to build anything. Why are you wanting to build this out of an Arduino? Arduino is terribly underpowered to try to handle audio, the voice would sound like hell, this will cost a lot more than just getting a central phone system for your computers, there are so many reasons not to try to build this yourself. Why do you want to build an inferior and more expensive version with Arduino when you could have a superior system for cheaper if not free?

Look at this scheme...

I mean was this kind of things... This device controls everything inside the internal and local network.

I just want to implement Central Part using Arduino!

active:
I just want to implement Central Part using Arduino!

Again, why? The Arduino is not really capable of handling the Audio so you're going to have something that barely works and sounds really crappy and costs too much. If you just want to throw money away then please, send it to me instead.

Also, notice how that central thing in your picture is connected to the outside phone line? That means it must be certified. You can't legally do this with a home built device.

Delta_G:
I think you misunderstand. It isn't selling them that is the problem. It's just connecting something that you built to a phone line that is the problem. Just making that connection. The Panasonic central phone system you mention is certified and is legal to connect to a phone line. Anything you built yourself is NOT.

But that's all a red herring anyway. You don't need to build anything. Why are you wanting to build this out of an Arduino? Arduino is terribly underpowered to try to handle audio, the voice would sound like hell, this will cost a lot more than just getting a central phone system for your computers, there are so many reasons not to try to build this yourself. Why do you want to build an inferior and more expensive version with Arduino when you could have a superior system for cheaper if not free?

Maybe in your country this kind of devices known as illegal, but in our country, you can use any devices in own internal and private network! Just Mobile networks need to registered devices of users.
Also devices like Panasonic Central is not open source for customization. They have already some programmed commands that you just have to use them and they have so many limitations.

If you have experience with Arduino and you think Arduino is not capable of handle this, we can use some other boards like Rasberry Pi or ...

This statement of yours: "This device controls everything inside the internal and local network.", show me you do not understand the way your central unit is designed. The "device" controls the "controllers" that connect to everything internal and local network. The "device" is probably a very powerful computer running Unix or Lenix.

Even the simplest controler is more powerful than an Arduino.

Get the manuals that relate to your central device and see haw it is described.

Paul

active:
you can use any devices in own internal and private network!

Yes, but the picture you show has it connected to the public telecom system, not just your internal private network. If it isn't connected to the telecom then how can someone ever call into it?

active:
If you have experience with Arduino and you think Arduino is not capable of handle this, we can use some other boards like Rasberry Pi or ...

It really makes no sense to build this out of either. I would get an old PC with a voice modem and write (or more likely find) a piece of code to play WAV files out to it.

I am a phone engineer, sorry to be a downer, but this is absolutely terrible, you cannot do this. An Arduino would be a circuit switched telephone device - something invented in the 1950s, why would you re-invent a device of the 1950s?? 20 years ago everything switched to "packet switched". Phone lines typically go from 48-90 volts when going from onhook to ringing - an Arduino is a poor device for this.

If the Panasonic is not doing what you need dump it in the garbage, you cannot take a 1950s Chevrolet and convert it to a hybrid, forget about old technology and buy something current. Build yourself an Asterisk phone system, it can work with Voip, analog, or digital. You can build a high quality $10,000 enterprise grade phone system for under $1,500 easily.

What you need to do:
Either get VoIP service and quality internet, high speed is not important, low latency is important, and a router that can give QOS priority to Voip, or if that is not an option, convert your analog trunks to VoIP inside your office using an ATA device such as Obitalk.

Get a computer of proper server grade, something like a Dell R410 or R420 Server with H7xx RAID card, they are around $300 on ebay, does not need huge memory or CPU, 4GB RAM and a slow Xeon are fine, a small 64gb SSD, ideally 2 SSD mirrored (phone service is usually important), these also come with dual power supplies, so it could be more reliable than your panasonic if you do it right - dont try to build something less reliable, people will be mad. Install FreePBX Distro. Get Aastra 55i or Polycom 550 phones, they are very affordable used. FreePBX will allow you to easily setup automated messages and menus, music on hold using mp3s (no external music box needed), and as many voicemail boxes as you desire.

To convert up to 4 analog trunks (from phone the company), use a OBi544vs it will handle 4 trunk lines, and 4 analog extensions, use the extensions to handle things like gate opener, paging or a cordless phone. Some gate openers are designed for trunk side connection, check the current Panasonic wiring to know which side it wants - trunk or extension. Existing paging should plug right in to this also, if you dont have paging, use UAP-AC-EDU Voip paging speakers/AP. The rest of your extensions should be proper voip phones like Polycom.

This system can be programmed and customized to do ANYTHING you can imagine, if you want to use it to control relays, there are devices from Cyberdata, and others, or you can use analog extensions and products from Valcom or Viking for telephone relay control, or if you wanted to attempt Arduino integration, this is something worthy of it.

If you dont know much about computers, you could easily find someone to help you source/prep a standard server grade machine, ask them to burn the install CD and load it up, takes 5 minutes, once up and running find a VoIP engineer that knows Asterisk, posting on the FreePBX forums is a great start to see if anyone is interested in remoting in and setting it up, or there are tons of options near India.

active:
Maybe in your country this kind of devices known as illegal, but in our country, you can use any devices in own internal and private network! Just Mobile networks need to registered devices of users

What you are suggesting does seem a whole lot of work for just one system, to use on your own telecom network.

Or are you intending to install this system in other locations ?

if you do not want to invest time and money in to hardware setup, you can avoid buying a server and paying someone to set it up by using rentpbx.com for only $19 month, they provide a super high quality server preloaded with FreePBX in a hosting facility, you can still connect your analog lines, gates, paging, etc using Obi devices (internet needed at all times for phones to work).

rentpbx may not be good in your country due to long distance latency over the internet, you would want to ask them to help you test for latency to their facility, but if you searched you can probably find something much closer to you locally or in a neighboring country.

Sorry for the late response, but reading the thread just reminded me of my old project. I used the ISD voice module to record a voice and play it when a call is made.

But yes you can use i along with DTMF option to achieve what the OP intends for. Also there is noting wrong in building something on your own even when a tech exists.