Bertie Coopersmith
2008-06-17 21:27:52 UTC
I am having problems trying to configure vgetty for a
Zoom_Hayes Accura external serial port voice modem model 15400.
This is what Ive done so far but its not good enough and and I would be
grateful for some help...
By testing with Kermit I have found that the full initialization
string that I was intending to declare in policy.h is too long:-
ATS0=0Q0&D3&C1+GCI=B4+VCID=1
responds with "ERROR"
(I was advised that +GCI=B4 is the modem's Geographic code for the UK.
+VCID=1 is the code to recognize Caller ID.)
However, if this is split up into separate AT commands, Each one replies
with "OK".
To achieve this my policy.h has:
#define MODEM_INIT_STRING "AT+VCID=1"
and in conf_mg.c I have:-
static char * def_init_chat_seq[] = { "",
"\\dATS0=0Q0&D3&C1+GCI=B4", "OK",
MODEM_INIT_STRING, "OK",
NULL };
Also, because the answerpone service is enabled/disabled by means of the
modem's power switch while vgetty runs continuously, I also have the setting:
{ "need-dsr", {TRUE}, CT_BOOL, C_PRESET }
instead of the distribution's FALSE.
mgetty-1.1.35 refused to compile
mgetty-1.1.33 compiled ok under Slackware Linux as, also, did vgetty.
However, vgetty fails in execution.
here is a log extract I think the debug level is 4:-
06/17 18:51:10 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/17 18:51:10 yS0 mgetty: interim release 1.1.33-Apr10
06/17 18:51:10 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 18:51:10 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 18:51:10 yS0 check for lockfiles
06/17 18:51:10 yS0 locking the line
06/17 18:51:10 yS0 can't get group 'modem': Success
06/17 18:51:10 yS0 lowering DTR to reset Modem
06/17 18:51:11 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/17 18:51:11 yS0 waiting for ``OK'' ** found **
06/17 18:51:12 yS0 send: AT+VCID=1[0d]
06/17 18:51:12 yS0 waiting for ``OK'' ** found **
06/17 18:51:12 yS0 mdm_send: 'ATI'
06/17 18:51:12 yS0 Generic Rockwell modem (56000)
06/17 18:51:12 yS0 Could be a Hayes Optima/Accura modem
06/17 18:51:12 yS0 mdm_send: 'ATI3'
06/17 18:51:12 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/17 18:51:12 yS0 modem quirks: 0005
06/17 18:51:12 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/17 18:51:12 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/17 18:51:12 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/17 18:51:12 yS0 detecting voice modem type
06/17 18:51:14 yS0 Rockwell detected
06/17 18:51:25 yS0 vgetty: timeout while reading character from voice modem
06/17 18:51:25 yS0 initializing ROCKWELL voice modem
06/17 18:51:25 yS0 vgetty: Modem returned ERROR
06/17 18:51:25 yS0 can't set silence period
06/17 18:51:25 yS0 vgetty: Modem returned ERROR
06/17 18:51:25 yS0 can't set transmit gain
06/17 18:51:25 yS0 vgetty: Modem returned ERROR
06/17 18:51:25 yS0 can't set record gain
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:26 yS0 can't disable silence deletion
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:26 yS0 can't set DLE responses
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:26 yS0 can't set silence threshold
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:27 yS0 waiting...
Incoming calls are not answered. Please advise.
Bertie Coopersmith
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Zoom_Hayes Accura external serial port voice modem model 15400.
This is what Ive done so far but its not good enough and and I would be
grateful for some help...
By testing with Kermit I have found that the full initialization
string that I was intending to declare in policy.h is too long:-
ATS0=0Q0&D3&C1+GCI=B4+VCID=1
responds with "ERROR"
(I was advised that +GCI=B4 is the modem's Geographic code for the UK.
+VCID=1 is the code to recognize Caller ID.)
However, if this is split up into separate AT commands, Each one replies
with "OK".
To achieve this my policy.h has:
#define MODEM_INIT_STRING "AT+VCID=1"
and in conf_mg.c I have:-
static char * def_init_chat_seq[] = { "",
"\\dATS0=0Q0&D3&C1+GCI=B4", "OK",
MODEM_INIT_STRING, "OK",
NULL };
Also, because the answerpone service is enabled/disabled by means of the
modem's power switch while vgetty runs continuously, I also have the setting:
{ "need-dsr", {TRUE}, CT_BOOL, C_PRESET }
instead of the distribution's FALSE.
mgetty-1.1.35 refused to compile
mgetty-1.1.33 compiled ok under Slackware Linux as, also, did vgetty.
However, vgetty fails in execution.
here is a log extract I think the debug level is 4:-
06/17 18:51:10 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/17 18:51:10 yS0 mgetty: interim release 1.1.33-Apr10
06/17 18:51:10 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 18:51:10 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/17 18:51:10 yS0 check for lockfiles
06/17 18:51:10 yS0 locking the line
06/17 18:51:10 yS0 can't get group 'modem': Success
06/17 18:51:10 yS0 lowering DTR to reset Modem
06/17 18:51:11 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/17 18:51:11 yS0 waiting for ``OK'' ** found **
06/17 18:51:12 yS0 send: AT+VCID=1[0d]
06/17 18:51:12 yS0 waiting for ``OK'' ** found **
06/17 18:51:12 yS0 mdm_send: 'ATI'
06/17 18:51:12 yS0 Generic Rockwell modem (56000)
06/17 18:51:12 yS0 Could be a Hayes Optima/Accura modem
06/17 18:51:12 yS0 mdm_send: 'ATI3'
06/17 18:51:12 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/17 18:51:12 yS0 modem quirks: 0005
06/17 18:51:12 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/17 18:51:12 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/17 18:51:12 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/17 18:51:12 yS0 detecting voice modem type
06/17 18:51:14 yS0 Rockwell detected
06/17 18:51:25 yS0 vgetty: timeout while reading character from voice modem
06/17 18:51:25 yS0 initializing ROCKWELL voice modem
06/17 18:51:25 yS0 vgetty: Modem returned ERROR
06/17 18:51:25 yS0 can't set silence period
06/17 18:51:25 yS0 vgetty: Modem returned ERROR
06/17 18:51:25 yS0 can't set transmit gain
06/17 18:51:25 yS0 vgetty: Modem returned ERROR
06/17 18:51:25 yS0 can't set record gain
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:26 yS0 can't disable silence deletion
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:26 yS0 can't set DLE responses
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:26 yS0 can't set silence threshold
06/17 18:51:26 yS0 vgetty: Modem returned ERROR
06/17 18:51:27 yS0 waiting...
Incoming calls are not answered. Please advise.
Bertie Coopersmith
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de