can a voice & fax modem detect DTMF

Status
Not open for further replies.

mdanh2002

Member
With a PC modem (voice/fax) can I write a program that monitors the phone line for incoming calls, answers every calls after, say, 5 rings, and, most importantly, turns my phone line into something like the toll-free 1800-xxxx service? I am expecting it to play a voice message 'Welcome to..... Press 1 to.... Press 2 to....' then respond to each digit pressed by the caller accordingly. I know that this has something to do with detecting the DTMF generated when each digit is pressed. But when looking at the modem manual, especially the ATx instructions, I could not find anything useful...

I found in another forum that it is difficult to detect DTMF using a modem but still wonder if this is possible?
 
Some modems can do this, and actually come with suitable software as well, but such phone systems generally really piss people off - I know they do me!.
 
nigel,
I subscribe to the p*ss off bit.

When I phone my Doctor for an urgent appointment, I go thru at least 4 levels of options, only to be told at the end, 'the surgery is now closed'
 
you need something called IVR (interactive voice response) software. a voice modem is required, as it passes along voice channel frequencies over its serial connection, including the dtmf. the modem itself is not used in decoding the dtmf, that is done by the IVR software.

check out asterisk it's a great and powerful PBX package, and includes lots of IVR abilities.
 
ericgibbs said:

good link for DTMF decoder circuit. I am thinking of feeding the telephone line input into this decoder circuit, and feed the output to the PC (via parallel port) then write a software to control the process. However, would there be a problem when the modem and my circuit are sharing the same telephone line as input?


great suggestion for a software approach. Especially when it's under GNU. I am still trying it.
 
if u hv a voice modem try and download a software called supervoice...i hd some years back written some routines for a internal modem....also chk out google for sdk

as far as my knowledge goes...u can use any voice capable modem which comes in very cheap these days. All of them can / hv dtmf tone generators built into it. As they modem has a built in dialer.

If u need to go for multiport IVR, then look for products like Dialogic or IBM Wave etc...they are multiport and more expensive.
 
I'm trying out Asterisk. Wasting a lot of money calling my fix line from my mobile phone to test the software.

@dandy: what do you refer to my multiport IVR?
 
dialogic et all are commercial substitutions for asterisk.

if you're working on this for fun, there's no point in buying a commercial ivr package. as far as multiport, how many ports do you need?

there used to be a dirt cheap Intel soft-modem that worked as an FXO port for asterisk (connected telephone line to computer). I think it's discontinued, but never hurts to search. it should be mentioned on the various asterisk sites.
 
justDIY said:
dialogic et all are commercial substitutions for asterisk.

if you're working on this for fun, there's no point in buying a commercial ivr package. as far as multiport, how many ports do you need?

sorry I don't get what you meant by multiport IVR. Search google but it doesn't seem to helpful. How does multiport IVR differ from single port?

Tested it on my fixed line today. The software picks up the phone but doesn't seem to respond to the key pressed. Also, can I use an infrared modem (named as 'Standard Modem over IR link' by Windows) simulated by a Nokia 6101 handphone for this purpose?
 
multiport, as in, multiple phone lines.

many businesses would use PRI cards to route 24 voice channels (equivalent to phone lines) into the pbx at a time.

smaller businesses can use 4 or 8 port FXO cards to connect standard analog phone lines to a pbx.

if asterisk isn't responding to key presses, most likely your modem cannot function as an FXO card, or it's not setup properly. You'll have to look at your initialization strings to make sure the voice modem features are enabled.
 
justDIY said:
multiport, as in, multiple phone lines.

Then I'm pretty sure I don't need multiport; just working on this for fun . I have gotten it working with my Motoralla v56 modem. There was an option in the modem configuration that interconnects the modem speaker to the sound card and plays the voice through the sound card. I discover that this option somehow distorts the original voice, making asterisk unable to detect the DTMF. Disabling the option makes everything work fine.

Btw, in some toll-free 1800 services, there's an option saying 'Press 0 to speak to our customer service officer'. How do I go about implementing this using asterisk? I want something like 'If you hate this system, press 0 to speak to me directly'

Thanks for the useful suggestions!
 
look at extensions.conf ... this file is where you put all your 'menus'. there's two options for playing back voice prompt files, one doesn't allow interruption, one does.
 
Me too

Actually I was looking for the exact same thing. I too will research Astrix and let you know soon.

My HP laptop has a BroadCom DATA / FAX 56k modem, but not sure if its the "voice" type. I am kinda confused about that. Can anyone clear that?

The main reason of doing that was to accept calls, have a Voice Interface and then ask the user to enter commands (numbers) to control any external device connected to my PC.

So, right now I'm just on the part of trying to accept the call and answer back.
 
hi ,
i am new to this thread .i wanted to know:
1.whats the output of voice modem if the input is DTMF ?
2.If i want to run ivr ,this output of voice modem should be put through serial port into pc?
3. if i want speaker out (from pc)to voice modem can i do that (i.e can voice modem take output of speaker from pc as input in its port)?
4.for ivr system which what is suggested voice modem/dialogic card?and which specific modem should i buy?(we have a final year project ,to be submitted in a few days)
 
1) The output is specified in its data sheet.
2) The output is specified in its data sheet.
3) The output is specified in its data sheet.
4) The output is specified in its data sheet.

Any more questions?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…