Caller ID is not working on zap

I feel pretty stupid on this one - I know that CallerID is working on the 4 lines we have coming in on POTS lines. However, we see asterisk,asterisk for the callerid on the phones, and when the call is transfered outside to our cell phones via voip the callerid reads ‘unavailable’.

Can anyone help on where to start looking. The Zapdata file does say to use callerid and ‘asreceived’.

Are you using sip phones? It defaults to asterisk if it has no cid info. AS far as the outbound call to you cell phone via voip it depends on provider some will let you send them cid info some will not I would think it should at least show the number of your voip line.

might try a few noOP in the dialplan to see if it shows the callerid see link

voip-info.org/wiki/index.php?page=CallerID

Thank you for the reply. I added the lines as you suggested, but still got the same result. Here is our dialplan for the SIP phones:

exten => s,1,NoOp,${CALLERIDNAME}
exten => s,2,Wait(1)
exten => s,3,NoOp,${CALLERIDNAME}
exten => s,4,dial(sip/${ARG1},15,r)
exten => s,5,playback(pls-wait-connect-call)
exten => s,6,dial(IAX2/jnctn_out/${ARG2},60,tr)
exten => s,7,Voicemail(${ARG2})
exten => s,8,Hangup

Any ideas?

Have you check these in zapata

Type of caller ID signalling in use
; bell = bell202 as used in US
; v23 = v23 as used in the UK
; dtmf = DTMF as used in Denmark, Sweden and Netherlands
;
;cidsignalling=bell
;
; What signals the start of caller ID
; ring = a ring signals the start
; polarity = polarity reversal signals the start
;cidstart=ring

here is zapdata:

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-outside
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
callerid=asreceived
cidsignalling=bell
cidstart=ring
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=yes

;Include genzaptelconf configs
#include zapata-auto.conf

;Include AMP configs
#include zapata_additional.conf

here is zapata-auto:

; 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 E/F Board 1"
signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 1
context=from-outside
usecallerid=yes
callerid=asreceived
cidsignalling=bell
cidstart=ring
group=0
channel => 1

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 2
context=from-outside
usecallerid=yes
callerid=asreceived
cidsignalling=bell
cidstart=ring
group=0
channel => 2

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 3
context=from-outside
usecallerid=yes
callerid=asreceived
cidsignalling=bell
cidstart=ring
group=0
channel => 3

signalling=fxs_ks
; Note: this is a trunk. Create a ZAP trunk in AMP for Channel 4
context=from-outside
usecallerid=yes
callerid=asreceived
cidsignalling=bell
cidstart=ring
group=0
channel => 4

I did make the changes as suggested, but I am still getting ‘asterisk’ as the callerid. This is very confusing…am I missing something obvious?

Thank you agin for your help.

what does the context=from-outside have in itis it what you posted above or something else? Looks like you are using @home maybe something with it I have never used it

I have the same problem it just show *, i tried the noop and other stuff its just blank.

        Executing NoOp("Zap/1-1", "") in new stack
    -- Executing Wait("Zap/1-1", "2") in new stack
    -- Executing Verbose("Zap/1-1", "incommin CallerID=") in new stack

the Ext.conf looks like this

exten => s,1,NoOp,${CALLERID}
exten => s,2,Wait(2)
exten => s,3,Verbose(incommin CallerID=${CALLERIDNAME})

The Caller ID shows on all phones when I connect them directly to this regular line. When I use fwd forwarding from a ipkall # it shows callerid fine, its from this phone line connected to x100p. Any help is a preciated. Thank you in advance