Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what AT command to send DMTF dial tone

Status
Not open for further replies.

honggo

Programmer
Nov 3, 2003
4
0
0
SG
Hi

I'm new to Hayes AT command
I read some of the reference and still have some doubts
to clarify

What i wanted to do is using
1. use Hyper Terminal to dial a certain number
I manage to do it using ATD97600000;
2. I will be prompted to sort of IVR/electronic system
whereby i need to dial DMTF Tone (keypad) to continue. I've tried all sort of combination of ATDT or ATD but to no avail


I will be very grateful if someone could enlight me with some simple code in AT Command syntax

regards,
Honggo
 
Do a Google on "hayes AT"

The first returned gave me this:
It's a full syntax and command list

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
You send a string of characters using the MSComms Control
There is an example in VB6 help
Remember to finish each output string of characters with VbCr

Set the Comms control to 9600,n,8,1
comInputModeText
Dim PhoneNumbers as string
Then-
Enter the numbers into the string
PhoneNumbers=EnterBox.Text
MSComm1.Output = "ATDT" & PhoneNumbers & " L3" & Chr(13) 'dial out
 
Hi tedsmith,

I appreciate your help
but the problem I'm facing is how to send out
DMTF dial tone after i successfully Dial a phone number

for example after dialing electronic system / IVR
I would like to key in digit '1' followed by PIN digit. How am I going about doing that? Any idea will be greatly appreciated

This is what i did equivalently in Hyper Terminal:
ATD97600000;
ATDT1,,22312312;

I can dial successfully
But the problem is I still hit some errors with 2nd part
which is to key in digit '1', wait for a while and key in
all the PIN digits.

regards,
Honggo

but the thing is
 
Once you have the called party connected, I would think trying again to dial might hang up the line.
One way would be to make a wav file of each digit and play it (using MCI control) from the sound card output connected to the modem mic input with the modem mode in speakerphone mode
 
there are 2 ways to do what you are trying to do:

1 "atdt9,7778888,,,,1,22446688" and each ',' will cause the modem to pause.

2 use a different card.. like a dialogic card that will do call progress detection.

the use of a comma in the dial string can yeld flaky results because of timeing issues

david
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top