[asterisk-users] no callerid from PSTN using TDM2400P

Crazy Boy crazymoonboy at yahoo.com
Wed Oct 4 22:04:08 MST 2006


Hi,

This is Chandra from India. You are from which country? I am asking this because the basic Asterisk setup doesn't recognize callerid in India. I tried to solve this in many ways. But, no use. I think we have to do some modifications in source code. Thank you.

Regards,
Chandra.

Naija Man <voip4naija at gmail.com> wrote: Hello all,

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


 		
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061004/8801bc22/attachment.htm


More information about the asterisk-users mailing list