R Button does not work on FXO channel, CID does not show on

hi,

i have a TD400 card with 2 FXO and 2 FXS ports. i use channel 1 successful with a phone and have only 2 problems.

1st: the r button does not work to transfer calls. i see this in the logfile:

Dec 6 18:26:45 DEBUG[11215] chan_zap.c: Exception on 16, channel 1
Dec 6 18:26:45 DEBUG[11215] chan_zap.c: Got event Pulse Start(14) on channel 1 (index 0)
Dec 6 18:26:45 DEBUG[11215] chan_zap.c: Exception on 16, channel 1
Dec 6 18:26:45 DEBUG[11215] chan_zap.c: Got event Event 65585(65585) on channel 1 (index 0)
Dec 6 18:26:45 DEBUG[11215] chan_zap.c: Detected pulse digit '1’
Dec 6 18:26:45 DEBUG[11215] chan_zap.c: DTMF digit: 1 on Zap/1-1

that comes up if i press the R button. the same phone connected to a linksys ATA or sipura ATA works fine with the flash button. any ideas ?

2nd: the phone does not show the caller id. since this is a test system i have no outside line and cant say if a caller id would be shown on incoming external calls. but i get nothing if i call from a sip or iax extension. and again, that works fine on linksys and sipura ATA.

any help is welcome.

here the zaptel.conf

fxoks=1-2
fxsks=3-4
loadzone=uk
defaultzone=uk

here the zapata.conf

[channels]
language=en

; include zap extensions defined in AMP
#include zapata_additional.conf

context=from-internal
signalling=fxo_ks
hidecallerid=no
immediate=no
usecallerid=yes
echocancel=yes
callwaiting=yes
threewaycalling=yes
transfer=yes
flash=50
channel=1-2

context=from-pstn
signalling=fxs_ks
faxdetect=incoming
usecallerid=yes
busydetect=yes
busycount=8
echocancel=yes
echocancelwhenbridged=no
echotraining=800
group=0
channel=3-4

i have tried flash=50, 100 and 200. does not seem to make a difference.

ztcfg -vvv shows this:

Zaptel Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels configured.

regards
Jan

the caller id problem is solved. it seems to be a UK specific problem. here the part of the zapata.conf which did the trick:

usecallerid=yes
ukcallerid=yes
cidsignalling=v23
cidstart=polarity
sendcalleridafter=2

found that in some other topic.

regards
Jan

Go into your zaptel sources and edit the file ‘zconfig.h’. Uncomment this line:
/* #define SHORT_FLASH_TIME */

Recompile Zaptel and reload the wctdm module.

i have no line like that in the file ‘zconfig.h’. it might be because of a different version i guess. i have zaptel 1.2.20.1 installed.

regards
Jan

Looks like it is only available in 1.4 versions.