Asterisk 1.2.8
zaptel 1.2.6
Hardware: digium TDM2422P
I have a fully configured asterisk system with POTS line for PSTN access. I am not receiving the callerid for incoming calls from the PSTN. I get the following error message.
-- Starting simple switch on 'Zap/3-1'
Oct 3 22:53:14 NOTICE[17948]: chan_zap.c:6061 ss_thread: Got event 18 (Ring Begin)...
Oct 3 22:53:16 ERROR[17948]: callerid.c:276 callerid_feed: fsk_serie made mylen < 0 (-22)
Oct 3 22:53:16 WARNING[17948]: chan_zap.c:6091 ss_thread: CallerID feed failed: Success
Oct 3 22:53:16 WARNING[17948]: chan_zap.c:6135 ss_thread: CallerID returned with error on channel 'Zap/3-1
My configuration is as below:
***************************************
zapata.conf:
[channels]
;
usecallerid=yes
restrictcid=no
callerid=asreceived
cidsignalling=bell
cidstart=ring
hidecallerid=no
usecallingpres=yes
sendcalleridafter=2
ringtimeout=8000
echocancel=yes
echocancelwhenbridged=yes
callprogress=yes
busydetect=yes
musiconhold=default
useincomingcalleridonzaptransfer=yes
group=1
context=from-pstn
signalling=fxs_ks
channel => 1-3
extensions.conf:
[from-pstn]
;
; Inbound calls from PSTN line
exten => s,1,NoOp(TIMESTAMP: ${TIMESTAMP})
exten => s,2,NoOp(CONTEXT: ${CONTEXT})
exten => s,3,NoOp(CALLERIDNUM: ${CALLERID(number)})
exten => s,4,NoOp(CALLERIDNAME: ${CALLERID(name)})
exten => s,n,Goto(main-ivr,start,1)
*******************************************************
The variables $CALLERID(number) and $CALLERID(name) always show up empty when a call is received.
Any suggestion will be appreciated.
Thanks.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
