Discussion:
Help needed for Zoom 15400
(too old to reply)
Bertie Coopersmith
2008-06-17 21:27:52 UTC
Permalink
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
Juergen Kosel
2008-06-18 16:31:03 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
Post by Bertie Coopersmith
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.)
AT+ commands needs to be terminated with ';' or newline. So
ATS0=0Q0&D3&C1+GCI=B4;+VCID=1
would be correct.
On the other hand it is possible that AT+GCI=B4 writes the settings for
your country, each time you call this command. So it would be better for
the EEPROM to omit this command.

Greetings
Juergen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIWThG5JgLPmj5988RAhPkAJ9YlHvNYJFj3TJnXGICa8L5+72v3QCgoIbd
/jU5/QsXrca9/YdZkQkfvD8=
=iM04
-----END PGP SIGNATURE-----

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Bertie Coopersmith
2008-06-19 00:16:00 UTC
Permalink
On Wed, 18 Jun 2008 18:31:03 +0200
Post by Juergen Kosel
AT+ commands needs to be terminated with ';' or newline. So
ATS0=0Q0&D3&C1+GCI=B4;+VCID=1
would be correct.
On the other hand it is possible that AT+GCI=B4 writes the settings for
your country, each time you call this command. So it would be better for
the EEPROM to omit this command.
Greetings
Juergen
Juergen, I believe what you say and my work-around may be clumsy but if you inspect
that log you will see that I am successful in getting the modem to accept the
initialization chat sequence. However it soon runs into other problens that I
cannot understand.

Thanks for being so prompt in replying.

By the way, under kermit, when I initialize with that same string and then dial in
from another phone I can see that the modem does respond - after the first RING it
outputs date and time and the calling phone number.

There is a possible problem with the infamous line polarity reversal that happens in
the UK. However my older Accura (ca, 1998) voice modem works OK with vgetty so I
fail to understand whats happening with this model 15400.

Bertie

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Juergen Kosel
2008-06-19 16:20:48 UTC
Permalink
Hello,
Post by Bertie Coopersmith
Juergen, I believe what you say and my work-around may be clumsy but if you inspect
that log you will see that I am successful in getting the modem to accept the
initialization chat sequence. However it soon runs into other problens that I
cannot understand.
the point what I don't understand is why failed mgetty 1.1.35 to be
compiled?
Post by Bertie Coopersmith
There is a possible problem with the infamous line polarity reversal that happens in
the UK. However my older Accura (ca, 1998) voice modem works OK with vgetty so I
fail to understand whats happening with this model 15400.
Maybe the firmware and the voice command set has changed.
You could try to set
forceV253 TRUE
in your voice.conf file. This forces vgetty to use the new standard ITU
V.253 command set, which is used by many new modems. (But not by all)


Greetings
Juergen
Bertie Coopersmith
2008-06-20 15:41:41 UTC
Permalink
Hi Jurgen,
First to help you sort out why I am unable to compile mgetty-1.1.35 here is
the 'make' dialog done under Slackware 10.2, Linux 2.4.31:-

/usr/share/mgetty-1.1.35 # make
gcc -O2 -Wall -pipe -DVARRUNDIR=\"/var/run\" -c mgetty.c
In file included from /usr/include/termios.h:40,
from tio.h:37,
from mgetty.c:34:
/usr/include/bits/termios.h:25: error: syntax error before "typedef"
make: *** [mgetty.o] Error 1

Now back to my Zoom 15400 with vgetty-1.1.33:-

You must have been right about 'forceV253 TRUE'- the log looks much better and
incoming messages are being recorded now. However, not yet all is right:-

The caller (me on another line) does not hear the recorded announcement but just
a beep.

The .rmd files of the recorded messages all play OK (after
conversion to .wav or .spx) and so also, does my outgoing message, announce.rmd.

Here is a log extract:-

06/20 11:03:25 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/20 11:03:25 yS0 mgetty: interim release 1.1.33-Apr10
06/20 11:03:25 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 11:03:25 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 11:03:25 yS0 check for lockfiles
06/20 11:03:25 yS0 locking the line
06/20 11:03:25 yS0 can't get group 'modem': Success
06/20 11:03:26 yS0 lowering DTR to reset Modem
06/20 11:03:26 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/20 11:03:27 yS0 waiting for ``OK'' ** found **
06/20 11:03:27 yS0 send: AT+VCID=1[0d]
06/20 11:03:27 yS0 waiting for ``OK'' ** found **
06/20 11:03:27 yS0 mdm_send: 'ATI'
06/20 11:03:27 yS0 Generic Rockwell modem (56000)
06/20 11:03:27 yS0 Could be a Hayes Optima/Accura modem
06/20 11:03:27 yS0 mdm_send: 'ATI3'
06/20 11:03:27 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/20 11:03:27 yS0 modem quirks: 0005
06/20 11:03:28 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/20 11:03:28 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/20 11:03:28 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/20 11:03:28 yS0 detecting voice modem type
06/20 11:03:29 yS0 V253 modem detected
06/20 11:03:29 yS0 initializing V253 voice modem
06/20 11:03:30 yS0 vgetty: Modem returned ERROR
06/20 11:03:30 yS0 can't set silence threshold VSD
06/20 11:03:31 yS0 vgetty: Modem returned ERROR
06/20 11:03:33 yS0 waiting...
06/20 11:06:51 yS0 wfr: waiting for ``RING''
06/20 11:06:51 yS0 wfr: waiting for ``RING''
06/20 11:06:54 yS0 wfr: waiting for ``RING''
06/20 11:07:04 yS0 mdm_read_byte: read returned -1: Interrupted system call
06/20 11:07:04 yS0 wfr: timeout waiting for RING
06/20 11:07:04 ##### phone stopped ringing (rings=2, dev=ttyS0, pid=11134, caller='none')

06/20 11:07:04 yS0 waiting...
06/20 11:07:21 yS0 wfr: waiting for ``RING''
06/20 11:07:21 yS0 wfr: waiting for ``RING''
06/20 11:07:24 yS0 wfr: waiting for ``RING''
06/20 11:07:27 yS0 reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 11:07:28 yS0 playing voice file /var/spool/voice/messages/announce.rmd
06/20 11:07:28 yS0 vgetty: Wrong modem type found
06/20 11:07:28 yS0 vgetty: Could not play greeting message
06/20 11:07:30 yS0 recording voice file /var/spool/voice/incoming/v-11134-1213956448.rmd
06/20 11:07:47 yS0 vgetty: <DLE> <ETX> received
06/20 11:07:49 yS0 closing voice modem device
06/20 11:07:49 ##### message keep, length=00:00:17, name='', caller=none, dev=ttyS0, pid=11134

--
06/20 11:07:49 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/20 11:07:49 yS0 mgetty: interim release 1.1.33-Apr10
06/20 11:07:49 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 11:07:49 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 11:07:49 yS0 check for lockfiles
06/20 11:07:49 yS0 locking the line
06/20 11:07:49 yS0 can't get group 'modem': Success
06/20 11:07:50 yS0 lowering DTR to reset Modem
06/20 11:07:51 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/20 11:07:51 yS0 waiting for ``OK'' ** found **
06/20 11:07:51 yS0 send: AT+VCID=1[0d]
06/20 11:07:51 yS0 waiting for ``OK'' ** found **
06/20 11:07:51 yS0 mdm_send: 'ATI'
06/20 11:07:52 yS0 Generic Rockwell modem (56000)
06/20 11:07:52 yS0 Could be a Hayes Optima/Accura modem
06/20 11:07:52 yS0 mdm_send: 'ATI3'
06/20 11:07:52 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/20 11:07:52 yS0 modem quirks: 0005
06/20 11:07:52 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/20 11:07:52 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/20 11:07:52 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/20 11:07:52 yS0 detecting voice modem type
06/20 11:07:53 yS0 V253 modem detected
06/20 11:07:53 yS0 initializing V253 voice modem
06/20 11:07:54 yS0 vgetty: Modem returned ERROR
06/20 11:07:54 yS0 can't set silence threshold VSD
06/20 11:07:55 yS0 vgetty: Modem returned ERROR
06/20 11:07:57 yS0 waiting...
06/20 11:46:35 yS0 wfr: waiting for ``RING''
06/20 11:46:35 yS0 wfr: waiting for ``RING''
06/20 11:46:38 yS0 wfr: waiting for ``RING''
06/20 11:46:48 yS0 mdm_read_byte: read returned -1: Interrupted system call
06/20 11:46:48 yS0 wfr: timeout waiting for RING
06/20 11:46:48 ##### phone stopped ringing (rings=2, dev=ttyS0, pid=11137, caller='none')

06/20 11:46:49 yS0 waiting...
06/20 12:46:49 yS0 checking if modem is still alive
06/20 12:46:49 yS0 mdm_send: 'AT' -> OK
06/20 12:46:49 yS0 waiting...
06/20 13:46:49 yS0 checking if modem is still alive
06/20 13:46:49 yS0 mdm_send: 'AT' -> OK
06/20 13:46:50 yS0 waiting...
06/20 14:28:34 yS0 wfr: waiting for ``RING''
06/20 14:28:34 yS0 wfr: waiting for ``RING''
06/20 14:28:37 yS0 wfr: waiting for ``RING''
06/20 14:28:40 yS0 reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 14:28:42 yS0 playing voice file /var/spool/voice/messages/announce.rmd
06/20 14:28:42 yS0 vgetty: Wrong modem type found
06/20 14:28:42 yS0 vgetty: Could not play greeting message
06/20 14:28:43 yS0 recording voice file /var/spool/voice/incoming/v-11137-1213968521.rmd
06/20 14:28:59 yS0 vgetty: <DLE> <ETX> received
06/20 14:29:01 yS0 closing voice modem device
06/20 14:29:01 ##### message keep, length=00:00:16, name='', caller=none, dev=ttyS0, pid=11137

--
06/20 14:29:01 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/20 14:29:01 yS0 mgetty: interim release 1.1.33-Apr10
06/20 14:29:01 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 14:29:01 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 14:29:01 yS0 check for lockfiles
06/20 14:29:01 yS0 locking the line
06/20 14:29:01 yS0 can't get group 'modem': Success
06/20 14:29:01 yS0 lowering DTR to reset Modem
06/20 14:29:02 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/20 14:29:03 yS0 waiting for ``OK'' ** found **
06/20 14:29:03 yS0 send: AT+VCID=1[0d]
06/20 14:29:03 yS0 waiting for ``OK'' ** found **
06/20 14:29:03 yS0 mdm_send: 'ATI'
06/20 14:29:03 yS0 Generic Rockwell modem (56000)
06/20 14:29:03 yS0 Could be a Hayes Optima/Accura modem
06/20 14:29:03 yS0 mdm_send: 'ATI3'
06/20 14:29:03 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/20 14:29:03 yS0 modem quirks: 0005
06/20 14:29:03 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/20 14:29:03 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/20 14:29:03 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/20 14:29:03 yS0 detecting voice modem type
06/20 14:29:04 yS0 V253 modem detected
06/20 14:29:05 yS0 initializing V253 voice modem
06/20 14:29:05 yS0 vgetty: Modem returned ERROR
06/20 14:29:06 yS0 can't set silence threshold VSD
06/20 14:29:07 yS0 vgetty: Modem returned ERROR
06/20 14:29:08 yS0 waiting...


I should mention that I have a script hard-linked to two names,
which I have been using while testing. In normal usage, the
modem's power switch is used to stop and start the answerphone
service. Vgettyoff comments out the inittab line, vgettyon
reactivates it. vgettyoff also removes the lock file.

Please advise,
Best regards,
Bertie Coopersmith
Juergen Kosel
2008-06-20 19:38:49 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
Post by Bertie Coopersmith
Hi Jurgen,
First to help you sort out why I am unable to compile mgetty-1.1.35 here is
the 'make' dialog done under Slackware 10.2, Linux 2.4.31:-
/usr/share/mgetty-1.1.35 # make
gcc -O2 -Wall -pipe -DVARRUNDIR=\"/var/run\" -c mgetty.c
In file included from /usr/include/termios.h:40,
from tio.h:37,
/usr/include/bits/termios.h:25: error: syntax error before "typedef"
make: *** [mgetty.o] Error 1
I don't know what had changed between 1.1.33 and 1.1.35 in this part.
Maybe Gert could tell us more.
Post by Bertie Coopersmith
Now back to my Zoom 15400 with vgetty-1.1.33:-
You must have been right about 'forceV253 TRUE'- the log looks much better and
incoming messages are being recorded now. However, not yet all is right:-
The caller (me on another line) does not hear the recorded announcement but just
a beep.
The .rmd files of the recorded messages all play OK (after
conversion to .wav or .spx) and so also, does my outgoing message, announce.rmd.
06/20 14:28:40 yS0 reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf
06/20 14:28:42 yS0 playing voice file /var/spool/voice/messages/announce.rmd
06/20 14:28:42 yS0 vgetty: Wrong modem type found
06/20 14:28:42 yS0 vgetty: Could not play greeting message
In the log you see the reason:
Your annuncement has the format for another modem, but not for
V253_modem. You need to convert the announcement with the pfvtools.

Greetings
Juergen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIXAdJ5JgLPmj5988RAgQeAKDIuTakBJhAu2Tbs0SAzTQyb5D8dwCg7xHg
AGagRGssuby8vFId4dgvijc=
=4LbD
-----END PGP SIGNATURE-----

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Bertie Coopersmith
2008-06-21 10:59:39 UTC
Permalink
Hi Jurgen,
Thanks very much for your help. My problem is now just about solved
although I will need to do a bit more work on it.

What I've done is phone in from my other line and leave a message which
ends up as a .rmd file in the incoming directory which I copy to
/usr/spool/voice/messages/announce.rmd.

It works but its not perfect. The caller hears a mixture of two beeps -
A low note one and a high note one which should be the only one, and
the message itself is quite faint.

A hex dump reveals an ascii header beginning RMD1V253modem
What seems to be the actual voice recording begins at an offset
of about 3650 (decimal) bytes.

I would like to be able to do the same thing with this system as I do with
the vgetty on my other PC (The one with the older Accura) which is to record
a .wav outgoing announcement using a PC microphone and a laptop (In a quiet
room and no mains hum), use ftp to get it onto my Linux PC, edit it if need
be (cut out initial hesitations in speaking etc.) and then use pvftools
to convert it to .rmd in V253 format:

On my other PC - with the older Accura I do:-

wavtopvf infile.wav | pvfspeed -s 7200 | pvftormd Rockwell 4 > outfile.rmd

Can you advise on this?

Best regards,
Bertie Coopersmith

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Juergen Kosel
2008-06-21 16:40:44 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
Post by Bertie Coopersmith
I would like to be able to do the same thing with this system as I do with
the vgetty on my other PC (The one with the older Accura) which is to record
a .wav outgoing announcement using a PC microphone and a laptop (In a quiet
room and no mains hum), use ftp to get it onto my Linux PC, edit it if need
be (cut out initial hesitations in speaking etc.) and then use pvftools
On my other PC - with the older Accura I do:-
wavtopvf infile.wav | pvfspeed -s 7200 | pvftormd Rockwell 4 > outfile.rmd
Can you advise on this?
Call
pvftormd -L
and than you see, that you could replace "pvftormd Rockwell 4" with
"pvftormd V253modem 8" for example.


Greetings
Juergen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIXS8M5JgLPmj5988RAgITAJ9poWwTcK9oAki0D7dhGbMSqRT7twCgxt3J
lYzfiViaTrwZion6QhdnDgs=
=MyOZ
-----END PGP SIGNATURE-----

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Bertie Coopersmith
2008-06-21 14:21:59 UTC
Permalink
Sorry Jurgen, but sincd my last message about 3 hours ago things have reverted
to not working again. I don't know why. here is a bit of the log from the time I
commanded vgettyon. Maybe the 15400 is not standard V253.

--
06/21 13:54:37 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/21 13:54:37 yS0 mgetty: interim release 1.1.33-Apr10
06/21 13:54:37 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/21 13:54:37 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/21 13:54:37 yS0 check for lockfiles
06/21 13:54:37 yS0 locking the line
06/21 13:54:37 yS0 can't get group 'modem': Success
06/21 13:54:38 yS0 lowering DTR to reset Modem
06/21 13:54:38 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/21 13:54:39 yS0 waiting for ``OK'' ** found **
06/21 13:54:39 yS0 send: AT+VCID=1[0d]
06/21 13:54:39 yS0 waiting for ``OK'' ** found **
06/21 13:54:39 yS0 mdm_send: 'ATI'
06/21 13:54:39 yS0 Generic Rockwell modem (56000)
06/21 13:54:39 yS0 Could be a Hayes Optima/Accura modem
06/21 13:54:39 yS0 mdm_send: 'ATI3'
06/21 13:54:39 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/21 13:54:39 yS0 modem quirks: 0005
06/21 13:54:40 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/21 13:54:40 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/21 13:54:40 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/21 13:54:40 yS0 detecting voice modem type
06/21 13:54:41 yS0 V253 modem detected
06/21 13:54:41 yS0 initializing V253 voice modem
06/21 13:54:42 yS0 vgetty: Modem returned ERROR
06/21 13:54:42 yS0 can't set silence threshold VSD
06/21 13:54:43 yS0 vgetty: Modem returned ERROR
06/21 13:54:45 yS0 waiting...

Regards,
Bertie
Bertie Coopersmith
2008-06-22 22:08:55 UTC
Permalink
Hi Jurgen,
Sorry to be bothering you again. Things seem closer to OK now
but still not entirely correct.

The caller hears the announcement but its a bit speeded up ( .wav=8000, .rmd=7200 ?).

the incoming message is recorded OK but there is no caller ID info such as the
caller's number

Log extract - 42 lines:

--
06/22 15:38:39 yS0 vgetty: experimental test release 0.9.32 / with duplex patch
06/22 15:38:39 yS0 mgetty: interim release 1.1.33-Apr10
06/22 15:38:39 yS0 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
06/22 15:38:39 yS0 reading port ttyS0 configuration from config file /etc/mgetty+sendfax/voice.conf
06/22 15:38:39 yS0 check for lockfiles
06/22 15:38:39 yS0 locking the line
06/22 15:38:39 yS0 can't get group 'modem': Success
06/22 15:38:39 yS0 lowering DTR to reset Modem
06/22 15:38:40 yS0 send: \dATS0=0Q0&D3&C1+GCI=B4[0d]
06/22 15:38:40 yS0 waiting for ``OK'' ** found **
06/22 15:38:41 yS0 send: AT+VCID=1[0d]
06/22 15:38:41 yS0 waiting for ``OK'' ** found **
06/22 15:38:41 yS0 mdm_send: 'ATI'
06/22 15:38:41 yS0 Generic Rockwell modem (56000)
06/22 15:38:41 yS0 Could be a Hayes Optima/Accura modem
06/22 15:38:41 yS0 mdm_send: 'ATI3'
06/22 15:38:41 yS0 additional info: 'Hayes ACF3_V1.801G-V90 -E Z201'
06/22 15:38:41 yS0 modem quirks: 0005
06/22 15:38:41 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/22 15:38:41 yS0 mdm_send: 'AT+FCLASS=2.0' -> ERROR
06/22 15:38:41 yS0 mdm_send: 'AT+FCLASS=2' -> ERROR
06/22 15:38:41 yS0 detecting voice modem type
06/22 15:38:42 yS0 V253 modem detected
06/22 15:38:43 yS0 initializing V253 voice modem
06/22 15:38:43 yS0 vgetty: Modem returned ERROR
06/22 15:38:43 yS0 can't set silence threshold VSD
06/22 15:38:45 yS0 vgetty: Modem returned ERROR
06/22 15:38:46 yS0 waiting...
06/22 15:39:37 yS0 wfr: waiting for ``RING''
06/22 15:39:37 yS0 wfr: waiting for ``RING''
06/22 15:39:40 yS0 wfr: waiting for ``RING''
06/22 15:39:43 yS0 reading ring_type ring configuration from config file /etc/mgetty+sendfax/voice.conf
06/22 15:39:45 yS0 playing voice file /var/spool/voice/messages/announce.rmd
06/22 15:39:45 yS0 vgetty: Modem returned ERROR
06/22 15:39:45 yS0 vgetty: Modem returned ERROR
06/22 15:39:45 yS0 can't set compression and speed
06/22 15:39:45 yS0 vgetty: Invalid modem answer
06/22 15:39:58 yS0 recording voice file /var/spool/voice/incoming/v-2103-1214145584.rmd
06/22 15:40:21 yS0 vgetty: <DLE> <ETX> received
06/22 15:40:23 yS0 closing voice modem device
06/22 15:40:23 ##### message keep, length=00:00:23, name='', caller=none, dev=ttyS0, pid=2103

Best regards
Bertie

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Juergen Kosel
2008-06-23 16:05:31 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
Post by Bertie Coopersmith
Hi Jurgen,
Sorry to be bothering you again. Things seem closer to OK now
but still not entirely correct.
The caller hears the announcement but its a bit speeded up ( .wav=8000, .rmd=7200 ?).
for my modem the rmd file have also 8000 samples/second. It depends on
your modem how many samples per second are correct. -> Use pvftools to
correct this.
Post by Bertie Coopersmith
the incoming message is recorded OK but there is no caller ID info such as the
caller's number
06/22 15:39:58 yS0 recording voice file /var/spool/voice/incoming/v-2103-1214145584.rmd
the callerid is part of the filename above!


Greetings
Juergen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIX8nL5JgLPmj5988RAgKfAJ9uAToKtV1MsOvl7JiD6qT2qX13DACgyNND
OdXZAUevkEHMnN/V9ndFLBc=
=0fnZ
-----END PGP SIGNATURE-----

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Stroller
2008-06-24 05:42:48 UTC
Permalink
Post by Juergen Kosel
Post by Bertie Coopersmith
...
the incoming message is recorded OK but there is no caller ID info such as the
caller's number
06/22 15:39:58 yS0 recording voice file /var/spool/voice/incoming/
v-2103-1214145584.rmd
06/22 15:40:21 yS0 vgetty: <DLE> <ETX> received
06/22 15:40:23 yS0 closing voice modem device
06/22 15:40:23 ##### message keep, length=00:00:23, name='',
caller=none, dev=ttyS0, pid=2103
the callerid is part of the filename above!
To be fair, on my system (and most others??) caller ID is entered
explicitly in the logs. See the last line of:

06/23 14:20:00 yS0 playing voice file /var/spool/voice/messages/
standard.rmd
06/23 14:20:16 yS0 recording voice file /var/spool/voice/incoming/
v-25498-1214227199-08000272500.rmd
06/23 14:20:20 yS0 vgetty: <DLE> <ETX> received
06/23 14:20:22 yS0 closing voice modem device
06/23 14:20:22 ##### message keep, length=00:00:04, name='',
caller=08000272500, dev=ttyS0, pid=25498


Additionally, if you're specifying a message_program in voice.conf (a
program to be run upon the recorded voice file upon vgetty's
completion) then the environment variable $CALLER_ID should be
inherited by that. See, for example, http://preview.tinyurl.com/6fzz9a

Stroller.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Bertie Coopersmith
2008-06-24 19:23:27 UTC
Permalink
Dear Jurgen and Stroller,
Thanks for your help with this modem. Following your tip, the playback
of announce.rmd is now at normal speed.

You are incorrect about the filenames of recorded incoming
messages as shown in the log (see my last email), They consist only of
v-<pid>-<Unix time in seconds> and nothing else. This is confirmed by
my independent tests using Kermit: Even after initializing
with geographic code and caller id code, the modem does not cause Kermit
to output anything other than "RING" on receipt of a call.

I will not pursue this issue any longer at this time. My older Accura
(Not a V253) seems not to have this problem and has been giving me
excellent service with vgetty release 1.1.33 for nearly three years.
However, I should mention that with that modem I use a phone extension
lead which reverses the line polarity. - Without that the receipt of
caller ID info here in UK is not reliable!

If you would like me to report again on compiling 1.1.35 on Slackware
(or on my Ubuntu laptop) I will be happy to do so.

Regards,
Bertie Coopersmith

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Stroller
2008-06-24 21:45:15 UTC
Permalink
.... My older Accura
(Not a V253) seems not to have this problem and has been giving me
excellent service with vgetty release 1.1.33 for nearly three years.
However, I should mention that with that modem I use a phone
extension
lead which reverses the line polarity. - Without that the receipt of
caller ID info here in UK is not reliable!
Ah! I'd forgotten you were in the UK.

CLID is done differently here than it is elsewhere in the world and
AIUI the vast majority of modems only do US-type CLID, and don't work
with UK CLID. I see from your earlier posts that you try to use the
initialisation string to tell the modem what county it is in - I
recall now reading your message a week ago and thinking, "hmmmn...
that sounds flakey". I guess this modem has met my expectations.

I have this idea that Zoom brand aren't "real Hayes" modems -
certainly I can see that your model 15400 is a 56k, which is a bit
newer than I'd consider ideal. My Hayes is a 28.8k and works
perfectly, so I'd suggest looking for one of that era. In those days
Psion-Dacom still had a surface-mount assembly line in Milton Keynes,
so I would imagine their modems to do UK CLID, as well. You should be
able to pick up a 14.4 or 28k modem for next to nothing at local car-
boot sales or on your local Freecycle - I think you might have better
luck with one of these.

Stroller.
Gert Doering
2008-07-02 09:01:00 UTC
Permalink
Hi,
Post by Bertie Coopersmith
If you would like me to report again on compiling 1.1.35 on Slackware
(or on my Ubuntu laptop) I will be happy to do so.
Basically, compiling any mgetty version on any linux version should
be completely painless.

I don't use Linux for mgetty development, but just tested the current
CVS snapshot (which has not changes related to tio*) on a SuSE 10.2
system, and it compiles just fine. So maybe your source archive got
corrupted, or something in the policy.h changes wasn't completely correct.

OTOH, with recent mgetty versions, there usually is no reason to recompile
things, unless you do source-level changes ("add a new modem driver").

All the things mentioned in here can be set at run-time in mgetty.config
or voice.conf

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Gert Doering
2008-07-02 08:45:36 UTC
Permalink
Hi,
Post by Bertie Coopersmith
Also, because the answerpone service is enabled/disabled by means of the
{ "need-dsr", {TRUE}, CT_BOOL, C_PRESET }
I wonder why you're changing the source, instead of just setting

"need-dsr true"

in mgetty.config (which is read by vgetty as well, for the "generic"
part).

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...