[Asterisk-Users] US CallerID and TDM04B

Rich Adamson radamson at routers.com
Mon Jul 25 10:41:16 MST 2005


> I have new TDM04B installed and working fine with Asterisk 1.0.5 built on RedHat 9.
>  
> All is working fine except CallerID that bothers me big time.
> I have several Panasonic and Sony phones and CallerID works fine with it (when I plug in the 
line into phone instead into
> Asterisk I get CallerID) but fails with Asterisk.
>  
> I am based in California (San Francisco) and my Telco is SBC (http://www.sbc.com/).
>  
> I would really appreciate if anyone could take a look below at my zapata.conf and 
extensions.conf and let me know what is
> wrong.
>  
> :: zapata.conf ::
>  
> [channels]

Try adding these right here (right after [channels]. Let's see if
that has any impact on the problem. 
cidsignalling=bell                       
cidstart=ring                                                                   

> context=default
> switchtype=national
> signalling=fxs_ks
> usecallerid=yes
> callerid=asreceived
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=400
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
> busydetect=yes
> busycount=7
> musiconhold=default
> faxdetect=both
> context=zap
> group=1
> channel => 1-4
>  
>  
> :: extensions.con ::
>  
> I use this part of the code to trace Asterisk log and check CallerID and CallerIDName.
>  
> [zap]
> exten => s,1,Wait(2)
> exten => s,2,Answer()
> exten => s,3,SetVar(dnis=100)
> exten => s,4,NoOp,${CALLERID}
> exten => s,5,NoOp,${CALLERIDNAME}

For incoming Zap calls (from the TDM card), you do not need to "answer"
the call unless you're going into an IVR. If you are simply ringing
a sip phone, do something like this:

[zap]
exten => s,1,NoOp,${CALLERID}                                      
exten => s,2,Dial(Sip/1234,15) 






More information about the asterisk-users mailing list