Information générale
Catégorie:
Contrôles ActiveX en VFP
Dennis,
>Hi Jim,
>
>I went to the message ID you said but wasnt able to find any code in it. Anyway, this is what I did:
>
>.PortOpen = .T.
>.Output = "ATDT" + lcTelNo + ";" + CHR(13)
In essence, that is what Len suggested to drop the modem back to command mode.
>MESSAGEBOX( "Pick up phone." )
>.Output = "ATH" + CHR(13)
Why are you now hanging up the modem?
>I tried issuing "+++" (as per modem's manual) but it doesnt seem to get back online, i.e., the modem's speakers did not generate sound from the conversation. Is there another command to check if it's online?
Check and see if the modem is returning "OK" after issuing your dial command. If so, send any other vaild "AT" command and recheck for an "OK" response. This should prove that the modem is indeed in command mode.
>After dialing, I am supposed to have a commandbutton to hit to start recording the conversation. I noticed that my modem has a speaker jack. Could I link that up to the LINEIN slot of my sound card?
Speaker out to line in should be a valid setup. Check your modem manual for #CLS and #VLS commands. These combinations define the audio routing available to youe specific modem.
As Craig suggested, a third party control could ease the process a lot. I don't know of any for free. If this is a one of a kind app, go for it.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement