You really don't need the wait(exten => s,1,Wait(2)).  
cidsignalling=dtmf
cidstart=polarity
I am not familar with these options as they don't apply to the US.  Here
callerid info is sent between the first and second ring as FSK(old modem
signaling).  It may be that the FXS channels are doing that and your equipment
is not setup to do that.
Lyle
  ----- Original Message ----- 
  From: Pieter Arentz 
  To: asterisk-users@lists.digium.com 
  Sent: Thursday, January 27, 2005 10:07 AM
  Subject: [Asterisk-Users] TDM-400P + CallerID
  Hi,
   
  I'm just starting out with Asterisk, in combination with a TDM400, filled
with 2 FXS on channels 1 and 2, and 1 FXO on 4. Having just started, all I want
right now is to be able to answer incoming calls on a phone connected to channel
1. The trouble is the caller id. I have caller id enabled on my line, my phone
supports it, and when I connect the phone directly to the line, it works.
   
  However, it doesn't work with *. When I call myself (with a cellphone),
and I type "show channel zap/4-1" in the * console, it shows my
cellphone# in the caller id field. Asterisk gets the correct callerid from my
line, appearantly.
   
  When I type "show channel zap/1-1", the caller id just shows
's'. I have a feeling that this s is the originating extension, seen
from the FXS' point of view. My phone just shows 'external call',
instead of a number.
   
  How do I make * forward the callerid from the incoming call to my phone?
   
  --Pieter
   
  My zapata.conf:
   
  context=buitenlijn
  signalling=fxs_ks
  immediate=yes
  usecallerid=yes
  cidsignalling=dtmf
  cidstart=polarity
  hidecallerid=no
  callerid=asreceived
  callwaiting=no
  callwaitingcallerid=no
  adsi=no
  channel => 4
   
  signalling=fxo_ks
  language=nl
  usedistinctiveringdetection=no
  busydetect=yes
  echocancel=yes
  echotraining=no
  channel => 1
  channel => 2
   
  My extensions.conf:
   
  [buitenlijn]
  exten => s,1,Wait(2)
  exten => s,2,Dial(Zap/1,30,t)
------------------------------------------------------------------------------
  _______________________________________________
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
     http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050127/b09ead2d/attachment.htm