"unknown" incoming caller number problem

I just install FreePBX 2.5.2.2 with Asterisk 1.4.26.1 and TDM400P 4 FXO.
For outbound routes and inbound routes, they are ok but I still have one problem with incoming caller number.
Asterisk didn’t get it such “Caller ID name is ‘unknown’ number is ‘unknown’”.

My phone also display screen shows “unknown” and I can pick up normally.

I created Any DID/any CID inbound route and the inbound destination goes to ex: 1001. I have searched many forums and added some setting more in chan_dahdi.conf but it is the same.

Some forums said that there is Caller ID Converter, DTMF to FSK, i’m not sure about this too??

Can anyone please me please? Thanks

See my CLI below:

-- Starting simple switch on 'DAHDI/1-1'
-- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "DID is s") in new stack
-- Executing [s@from-zaptel:2] NoOp("DAHDI/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:3] Ringing("DAHDI/1-1", "") in new stack
-- Executing [s@from-zaptel:4] Set("DAHDI/1-1", "DID=s") in new stack
-- Executing [s@from-zaptel:5] NoOp("DAHDI/1-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:6] GotoIf("DAHDI/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,9)
-- Executing [s@from-zaptel:9] NoOp("DAHDI/1-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1-1") in new stack
-- Executing [s@from-zaptel:11] Set("DAHDI/1-1", "CHAN=1") in new stack
-- Executing [s@from-zaptel:12] Macro("DAHDI/1-1", "from-zaptel-1|s|1") in new stack
-- Executing [s@macro-from-zaptel-1:1] NoOp("DAHDI/1-1", "Entering macro-from-zaptel-1 with DID = s and setting to: 023888777") in new stack
-- Executing [s@macro-from-zaptel-1:2] Set("DAHDI/1-1", "__FROM_DID=023888777") in new stack
-- Executing [s@macro-from-zaptel-1:3] Goto("DAHDI/1-1", "from-trunk|023888777|1") in new stack
-- Goto (from-trunk,023888777,1)

== Channel ‘DAHDI/1-1’ jumping out of macro ‘from-zaptel-1’
– Executing [023888777@from-trunk:1] Set(“DAHDI/1-1”, “__FROM_DID=023888777”) in new stack
– Executing [023888777@from-trunk:2] Gosub(“DAHDI/1-1”, “app-blacklist-check|s|1”) in new stack
– Executing [s@app-blacklist-check:1] LookupBlacklist(“DAHDI/1-1”, “”) in new stack
– Executing [s@app-blacklist-check:2] GotoIf(“DAHDI/1-1”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:3] Return(“DAHDI/1-1”, “”) in new stack
– Executing [023888777@from-trunk:3] ExecIf(“DAHDI/1-1”, “1 |Set|CALLERID(name)=”) in new stack
– Executing [023888777@from-trunk:4] Set(“DAHDI/1-1”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [023888777@from-trunk:5] SetCallerPres(“DAHDI/1-1”, “allowed_not_screened”) in new stack
– Executing [023888777@from-trunk:6] Goto(“DAHDI/1-1”, “from-did-direct|1001|1”) in new stack
– Goto (from-did-direct,1001,1)
– Executing [1001@from-did-direct:1] Macro(“DAHDI/1-1”, “exten-vm|novm|1001”) in new stack
– Executing [s@macro-exten-vm:1] Macro(“DAHDI/1-1”, “user-callerid”) in new stack
– Executing [s@macro-user-callerid:1] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“DAHDI/1-1”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“DAHDI/1-1”, “1|Set|REALCALLERIDNUM=”) in new stack
– Executing [s@macro-user-callerid:4] Set(“DAHDI/1-1”, “AMPUSER=”) in new stack
– Executing [s@macro-user-callerid:5] Set(“DAHDI/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“DAHDI/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,10)
– Executing [s@macro-user-callerid:10] GotoIf(“DAHDI/1-1”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“DAHDI/1-1”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“DAHDI/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“DAHDI/1-1”, “Using CallerID “” <>”) in new stack
– Executing [s@macro-exten-vm:2] Set(“DAHDI/1-1”, “RingGroupMethod=none”) in new stack
– Executing [s@macro-exten-vm:3] Set(“DAHDI/1-1”, “VMBOX=novm”) in new stack
– Executing [s@macro-exten-vm:4] Set(“DAHDI/1-1”, “EXTTOCALL=1001”) in new stack
– Executing [s@macro-exten-vm:5] Set(“DAHDI/1-1”, “CFUEXT=”) in new stack
– Executing [s@macro-exten-vm:6] Set(“DAHDI/1-1”, “CFBEXT=”) in new stack
– Executing [s@macro-exten-vm:7] Set(“DAHDI/1-1”, “RT=”"") in new stack
– Executing [s@macro-exten-vm:8] Macro(“DAHDI/1-1”, “record-enable|1001|IN”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“DAHDI/1-1”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“DAHDI/1-1”, “recordingcheck|20100507-191636|1273234592.34”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20100507-191636|1273234592.34: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] MacroExit(“DAHDI/1-1”, “”) in new stack
– Executing [s@macro-exten-vm:9] Macro(“DAHDI/1-1”, “dial||tr|1001”) in new stack
– Executing [s@macro-dial:1] GotoIf(“DAHDI/1-1”, “1?dial”) in new stack
– Goto (macro-dial,s,3)
– Executing [s@macro-dial:3] AGI(“DAHDI/1-1”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’: Found
== Parsing ‘/etc/asterisk/manager_additional.conf’: Found
== Parsing ‘/etc/asterisk/manager_custom.conf’: Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi: Caller ID name is ‘unknown’ number is 'unknown’
dialparties.agi: USE_CONFIRMATION: 'FALSE’
dialparties.agi: RINGGROUP_INDEX: ‘’

chan_dahdi.conf

[trunkgroups]

[channels]
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
;echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
cidsignalling=v23
cidstart=polarity
answeronpolarityswitch=no
hanguponpolarityswitch=yes

;Uncomment these lines if you have problems with the disconection of your analog lines
busydetect=yes
busycount=6
immediate=no

#include dahdi-channels.conf
#include chan_dahdi_additional.conf