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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

laptop with 3CCM756 modem card: voice connection Hayes commands

Status
Not open for further replies.

mclifford

Programmer
Jan 10, 2001
1
0
0
CA
I have a DELL Latitude CPx laptop with an ESS Maestro-3i sound card and a 3Com Megahertz 3CCM756 56K modem PC card. An external dual-jack PC headset (speaker and microphone, hands-free) is plugged into the sound card. The laptop is to be used to contact individuals in remote areas (with landline phone access, but no Internet or cellphone access).

Using the 3Com Speaker Phone utility that came with the modem, I am able to establish a voice connection over an analog phone line, but would like to do it without using the utility.

Can the voice connection be established using the laptop, as configured, just by issuing a series of AT Hayes commands. If it can, what is the command sequence? If not, how does Speaker Phone establish the call?

Madison
 
Now that is what I am looking for as well, so far I have no clue.
Any ideas would be welcome.

Boudewijn Lutgerink
 
here you go then:

some assumptions first:
I have a form with :
1- a textbox for numberinput
2- the commcontrol named ocxComm


*** dblclick method of the textbox ***
Code:
   with thisform.ocxComm
      .sThreshold = 1
      .rThresHold = 1
      .PortOpen = .T.
      thisform.dialnumber( this.value )
   endwith


***form dialnumber function ***
Code:
LPARAMETER tcPhonenumber
tcPhonenumber = alltrim(tcPhonenumber)

with this.ocxcomm
    if not .portopen
	    .portopen = .T.
    endif

	.output = "AT&FE0V1S0=0&C1&D2+MR=2;+DR=1;+ER=1;W0"+chr(13)
    inkey(.1)
    
	.output = "ATS7=60M1+ES=3,0,2;+DS=3;+IFC=2,2;X4"+chr(13)
    inkey(.1)

	.output = "at+fclass=8"+chr(13)
    inkey(.1)

	.output = "at+vls=0"+chr(13)
    inkey(.1)

	.output = "at+vrn=0"+chr(13)
    inkey(.1)

	.output = "at+vtd=10"+chr(13)
    inkey(.1)

	.output = "at+vsm=130,8000,0,0"+chr(13)
    inkey(.1)

	.output = "at+vit=6"+chr(13)
    inkey(.1)

	.output = "at+vsp=1"+chr(13)
    inkey(.1)

	.output = "ATX3DT"+tcPhoneNumber+chr(13)

endwith

the trick was to let the modem tell it. I opened the modem properties through the config screen.
Asked it to show the logbook.
I cleared the book.
Did my trick in outlook.
Opened the logbook again.
Some cut and paste.
after that, some finetuning (resulting in the inkey() use.)

Hope this'll help you out.

BL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top