OK, Three re-installs later, things have definitely moved along - PiaF w/o tears did indeed help. Now, Caller ID on calls to my POTS line gets recognised by FreePBX, the correct CallerID shows in CDR Reports. However, this Caller never gets passed onto any of the 3 phones connected to the fxs ports of the same card. Calls to any VoIP trunk DIDs exhibit the same behaviour - callerID appears in FreePBX CDR reports, but doesn’t show on the phones. I read Philippe helping someone by asking them to remove duplicated entries in zap* files. I have three that could be of interest:
Zapata_additional.conf - Automaitcally created by FreePBX.
;--------------------------------------------------------------------------------;
; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
; this file must be done via the web gui. There are alternative files to make ;
; custom modifications, details at: http://freepbx.org/configuration_files ;
;--------------------------------------------------------------------------------;
;
;;;;;;[502]
signalling=fxo_ks
pickupgroup=
mailbox=502@default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <502>
busydetect=no
busycount=7
accountcode=
channel=>2
;;;;;;[503]
signalling=fxo_ks
pickupgroup=
mailbox=503@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <503>
busydetect=no
busycount=7
accountcode=
channel=>3
;;;;;;[504]
signalling=fxo_ks
pickupgroup=
mailbox=504@device
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <504>
busydetect=no
busycount=7
accountcode=
channel=>4
and then
Zapata.conf
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=3.0
txgain=3.0
group=0
callgroup=1
pickupgroup=1
immediate=no
channel =>1
;signalling = fxo_ks
;context=from-internal
;channel =>2-4
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
;#include zapata-channels.conf <==I’ve commented out the include to this
;Include AMP configs
#include zapata_additional.conf
and then zapata-channels.conf
; Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
; Span 1: WCTDM/0 “Wildcard TDM400P REV I Board 1” (MASTER)
;;; line="1 WCTDM/0/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
context=default
;;; line="2 WCTDM/0/1"
signalling=fxo_ks
callerid=“Channel 2” <6002>
mailbox=6002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 WCTDM/0/2"
signalling=fxo_ks
callerid=“Channel 3” <6003>
mailbox=6003
group=5
context=from-internal
channel => 3
callerid=
mailbox=
group=
context=default
;;; line="4 WCTDM/0/3"
signalling=fxo_ks
callerid=“Channel 4” <6004>
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
This seems to be re-defining the ZAP extensions I had definsed thru FreePBX, so I actually commented out the Include to this in zapata.conf.
and lastly,
zapata-auto.conf
; Autogenerated by /usr/local/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
callerid=asreceived
; Span 1: WCTDM/0 “Wildcard TDM400P REV I Board 1” (MASTER)
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-zaptel
group=0
channel => 1
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 2
context=from-internal
group=1
channel => 2
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 3
context=from-internal
group=1
channel => 3
signalling=fxo_ks
; Note: this is an extension. Create a ZAP extension in AMP for Channel 4
context=from-internal
group=1
channel => 4
Can anyone decipher this jumbled up maze for me please?.