Hey Jay,
On Tue, Jul 15, 2003 at 18:41:12 +1000, Jay Tyndall wrote:
> Hi,
>
> When I use the analog phone connected to Zap/1 how do I transfer & hold
the
> caller ?
>
> When I hit the flash key, all that happens is the caller hears a beep
> (sounds like DTMF).
> But no stutter dial tone on the Zap/1 Port, just continuing conversation
> with the caller.
>
> What could be wrong here?
I had the same problem with the standard flash and pulse-timings in
Zaptel. Some phone-systems use a flash with a length of about 150ms,
which is way too short for the standard Zaptel-config, which assumes
your flash is at least 750ms long, and sees the short flashes as a
pulse dialled "1" (which is what gets sent in DTMF to your caller).
The following changes to the Zaptel-sources fixed it for me:
Index: zaptel.h
==================================================================RCS file:
/usr/cvsroot/zaptel/zaptel.h,v
retrieving revision 1.11
diff -r1.11 zaptel.h
775c775
< #define ZT_DEFAULT_FLASHTIME 750 /* 750 ms default flash time */
---> #define ZT_DEFAULT_FLASHTIME 150 /* 150 ms default flash time */
789c789
< #define ZT_MAXPULSETIME (150 * 8) /* 150 ms maximum */
---> #define ZT_MAXPULSETIME (80 * 8) /* 80 ms maximum */
If possible, you could ofcourse also program your phone to generate
the longer flashes and leave Zaptel at it's defaults. Good luck!
Grtz,
Oliver