Going to give this AT command code a try tomorrow.
One good thing about it is the VLS=0....if I use anything but that, I can't dial out for some reason.
But, I have a question about the <DATA> part of the code and <DLE><ETX> for that matter....as I'm not at all familiar with that syntax and how to use it.
Using VB.NET, how do I write the data? < stuff here? >
Especially if the goal is to send a WAV file....
<"my.computer.audio.play(C:\folder\wavfile"> ?
I realize now that raw analog audio is out of the picture...the modem actually can stream WAV audio itself? (With AT+VSM setup and AT+VTX)?
But anyway, an interesting find (on the Rockwell page) --
Code:Table 8-13, Originate a Call, Send Answerer a Message DTE to Modem to Description and Interpretation Modem DTE #CLS=3 Configure the modem for Voice Mode. OK The modem agrees, and is now set up for Voice. #BDR=16 The DTE knows that compression requires a 38,400 bps speed, so it forces this as the new speed. OK This OK message is sent at 2400 bps, but the modem then switches to 38,400 bps. #VLS=0 This ensures that the telephone line is selected. OK The modem agrees. #VRA=45 The DTE allows 4.5 seconds for ringback to stop before assuming that the modem thinks that the remote has answered. OK The modem agrees with the DTE's assumption. DT6307 The DTE makes a telephone call, and the modem dials and goes through call progress. BUSY or NO DIALTONE can be detected, but in this example, the modem gets ringback. VCON This message is sent 4.5 seconds after the third ringback cadence is detected by the modem. The modem is in effect assuming that the remote telephone was answered on the third ring because no forth ringback was detected before the #VRA time-out. The modem enters Online Voice Command Mode, and DTMF and answer tone detection is enabled. (Note that during this period, the modem might have detected answer tone from a data modem. In this case, the appropriate <DLE> shielded code has to be sent prompting the DTE to pursue a data handshake.) #VTX The DTE has a message to send. CONNECT The modem says: "send it." <Data> The DTE sends the message: "Hi Dave. Your mother called." <DLE><ETX:> Procedure complete. VCON DTMF still active. H The DTE has completed its forwarding task.


Reply With Quote