CallerID Works On Sip Channel But Not Zap

Asterisk 1.4
TDM400 with 1 fxo & 1 fxs module
Aastra 480iCT Phone
Binatone Cordless Phone (several years old)

UK BT Line

extensions.conf:

[incoming] include => parkedcalls exten => s,1,Wait(1) exten => s,2,Answer() exten => s,3,NoOp(${CALLERID}) exten => s,4,NoOp(${CALLERIDNUM}) exten => s,5,NoOp(${CALLERIDNAME}) exten => s,6,SetCallerID(${CALLERIDNUM}) exten => s,7,Dial(Zap/1&SIP/103&SIP/102,25,rtT) exten => s,8,VoiceMail(u101@default) exten => s,9,Hangup() exten => s,108,VoiceMail(b101@default) exten => s,109,Hangup()

zapata.conf:

[code][channels]
language=en
rxgain=4.0
txgain=4.0
busydetect=yes
busycount=6
adsi=yes
callerid=asreceived
usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=yes
callreturn=yes
usecallingpres=yes
callwaitingcallerid=yes
transfer=yes
echocancel=yes
echotraining=yes
echocancelwhenbridged=yes
immediate=no
useincomingcalleridonzaptransfer=yes

context=local
signalling=fxo_ks
callerid=asreceived
group=1
channel=1

context=incoming
signalling=fxs_ks
group=2
channel=4
[/code]

Using the above setup, when i receive a call i get the CallerID on my Sip phone (102), my MythTV (103) but not my analogue phone (Zap/1).

So the CallerID is being passed to the Sip channels but not the Zap channel.

If i plug the analogue phone directly into my phone line at the wall i get CallerID on it - and have done for years- so i must have Asterisk misconfigured.

Any ideas how i remedy this?

Thanks.

:confused:

Could it be voltage on FXS? Did you use the UK patch for zaptel? Check zone file, too.

Patch is not required on Asterisk > 1,2 voip-info.org/wiki/view/UK+Asterisk+Details

just add sendcalleridafter = 2 to zapata.conf

sendcalleridafter=2 results in the following after a “reload”:

[Mar 2 13:17:38] WARNING[4778]: chan_zap.c:11067 process_zap: Ignoring sendcalleridafter

:frowning:

Try this:

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

OR the same with “cidstart = polarity”

It seems Asterisk like to ignore a few things from the zapata.conf:

[Mar 3 10:08:05] WARNING[16501]: chan_zap.c:11067 process_zap: Ignoring ukcallerid [Mar 3 10:08:05] WARNING[16501]: chan_zap.c:11067 process_zap: Ignoring sendcalleridafter [Mar 3 10:08:05] WARNING[16501]: chan_zap.c:11067 process_zap: Ignoring signalling -- Reconfigured channel 1, FXO Kewlstart signalling [Mar 3 10:08:05] WARNING[16501]: chan_zap.c:11067 process_zap: Ignoring signalling

I need to get the callerid working on the analogue phone, as the wife hates my ip phone (it’s too complicated for her)

:frowning:

Hi

What is the dect phone ? Does it support US standard callerID?

Getting UK spec to work on the fxs interface is flaky.

You need to split the settings for channels. and remove the adsi-yes entry

then for the fxs port set callerid type to bell and start to ring.

and see ho it goes.

Ian