[asterisk-biz] Problem with getting Caller ID by TDM2400P

Nikolay Dmukha cosmic17 at gmail.com
Mon Jun 18 04:32:41 CDT 2012


Hello.
First sorry for my English.
 I`m from Moscow, Russia.
I have a problem with getting caller id.
Dist: Elastix version 2.0.0.-36, Asterisk version 1.6.2.10.
There is a digium card TDM2400P in the server. The analog phone line
directly connected in this card. There is activated service "Euro Caller
ID" on this phone number.
I`m sure that I get caller id from my provider, because I have tested it
with fax device Panasonic.
The routing of incoming calls:
[code]incoming call->IVR("All calls are recorded")->redirect on
ring-group[/code]
During the calls I can see in log file:
*******
Starting simple switch on 'DAHDI/1-1'
-- Executing [s at from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new stack
-- Executing [s at from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1")
in new stack
-- Executing [s at app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted")
in new stack
-- Executing [s at app-blacklist-check:2] Set("DAHDI/1-1",
"CALLED_BLACKLIST=1") in new stack
-- Executing [s at app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
-- Executing [s at from-pstn:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)")
in new stack
-- Executing [s at from-pstn:4] Set("DAHDI/1-1",
"__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [s at from-pstn:5] Set("DAHDI/1-1",
"CALLERPRES()=allowed_not_screened") in new stack
-- Executing [s at from-pstn:6] Set("DAHDI/1-1",
"FAX_DEST=from-did-direct^1000^1") in new stack
-- Executing [s at from-pstn:7] Answer("DAHDI/1-1", "") in new stack
-- Executing [s at from-pstn:8] Wait("DAHDI/1-1", "4") in new stack
-- Executing [s at from-pstn:9] Goto("DAHDI/1-1", "app-announcement-3,s,1") in
new stack
...
-- Executing [s at macro-user-callerid:19] Set("DAHDI/1-1",
"CALLERID(number)=") in new stack
-- Executing [s at macro-user-callerid:20] Set("DAHDI/1-1", "CALLERID(name)=")
in new stack
*******
So I can see in  display phones of ring-group instead of phone number
phrase "unknown".
Before to write this message I have read a lot of forums. But I can`t solve
my problem.
My config files are:
chan_dahdi.conf:
*******
[channels]



context=from-pstn
signalling=fxs_ks
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
faxdetect=incoming
echotraining=800
rxgain=5.0
txgain=5.0
callgroup=1
pickupgroup=1
callerid=asreceived
cidsignalling=fsk
cidstart=ring
*******
My provider said that the method of transmission is FSK.
dahdi_channels.conf:
*******
; Span 1: WCTDM/0 "Wildcard TDM2400P Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
callerid=
group=
context=default
*******
Also I have tried
*******
sendcalleridafter=1, sendcalleridafter=2
*******
but had no result:(
Maybe somebody can help me.
WBR.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-biz/attachments/20120618/0a518786/attachment.htm>


More information about the asterisk-biz mailing list