![]() |
Hello. Sorry if I’ve made repost, but I didn’t find the answer to my question in archives. All that I want is my modem (IDC-2814BXL/VR+) plays voice message to callee before fax transmission, “receive fax please” for example. After scrutinizing “AT Commands for Rockwell (RCV336Acx) Modems” I suggest I’ve found the reasonable command sequence. Here’s the log from terminal program (cu): OK ats7=50 OK at&k3#cls=8 OK >hat#vrn=0#vbt=1 OK at#vsr=7200 OK at#vbs=8 OK atdp5555555 VCON at#vls=4 OK at#vts=[1100,1100,4] OK at#vtx CONNECT >u>u>u>u>u>u>u>u>u This log shows that modem have changed its mode to “Voice Online Mode” (VCON) and after AT#VTX to “Voice Transmit Mode” and have been waiting for audio data. So I add this string to etc/config.cuaag: ModemDialCmd: "ATS7=50\nAT&K3#CLS=8\nAT#VRN=0#VBT=1\nAT#VSR=7200\nAT#VBS=8\nATDP%s\n AT#VLS=4\nAT#VTX\n<waitfor:CONNECT><play:1><waitfor:OK>” And then invoke sendfax: sendfax -n -d 5555555 -h cuaag@localhost /home/paul/fax/bill.pdf. The log shows: Jul 14 12:22:40.14: [45534]: <-- [12:AT+FCLASS=1\r] Jul 14 12:22:40.15: [45534]: --> [2:OK] Jul 14 12:22:40.15: [45534]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled Jul 14 12:22:40.15: [45534]: DIAL 5555555 Jul 14 12:22:40.15: [45534]: <-- [8:ATS7=50\r] Jul 14 12:22:40.17: [45534]: --> [2:OK] Jul 14 12:22:40.17: [45534]: <-- [12:AT&K3#CLS=8\r] Jul 14 12:22:40.19: [45534]: --> [2:OK] Jul 14 12:22:40.19: [45534]: <-- [15:AT#VRN=0#VBT=1\r] Jul 14 12:22:40.21: [45534]: --> [2:OK] Jul 14 12:22:40.21: [45534]: <-- [12:AT#VSR=7200\r] Jul 14 12:22:40.23: [45534]: --> [2:OK] Jul 14 12:22:40.23: [45534]: <-- [9:AT#VBS=8\r] Jul 14 12:22:40.25: [45534]: --> [2:OK] Jul 14 12:22:40.25: [45534]: <-- [12:ATDP5555555r] Jul 14 12:22:54.94: [45534]: --> [2:^Ph] Jul 14 12:22:54.94: [45534]: --> [4:VCON] Jul 14 12:23:24.95: [45534]: MODEM TIMEOUT: reading line from modem Jul 14 12:23:24.95: [45534]: MODEM <Timeout> Jul 14 12:23:24.96: [45534]: SEND FAILED: JOB 1 DEST 9597216 ERR Unknown problem Jul 14 12:23:24.96: [45534]: <-- [5:ATH0\r] Jul 14 12:23:26.53: [45534]: --> [2:OK] Jul 14 12:23:26.53: [45534]: MODEM set DTR OFF Jul 14 12:23:26.53: [45534]: SESSION END It’s seems to me that DTE sleeps (or something bad happens) after VCON response from DCE. Please, have you any suggestions to help me? -- Best regards, Paul mailto:dddpaul@xxxxxxxxx ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*