<div class="gmail_quote"><div class="HOEnZb"><div class="h5"><div class="gmail_quote"><div>Hello.</div><div>First sorry for my English.</div><div> I`m from Moscow, Russia.</div><div>I have a problem with getting caller id.</div>
<div>Dist: Elastix version 2.0.0.-36, Asterisk version 1.6.2.10.</div>
<div>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. </div>
<div>I`m sure that I get caller id from my provider, because I have tested it with fax device Panasonic.</div><div>The routing of incoming calls:</div><div>[code]incoming call->IVR("All calls are recorded")->redirect on ring-group[/code]</div>
<div>During the calls I can see in log file:</div><div>*******</div><div>Starting simple switch on 'DAHDI/1-1'</div><div>-- Executing [s@from-pstn:1] Set("DAHDI/1-1", "__FROM_DID=s") in new stack</div>
<div>-- Executing [s@from-pstn:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack</div><div>-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack</div>
<div>-- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack</div><div>-- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack</div>
<div>-- Executing [s@from-pstn:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack</div><div>-- Executing [s@from-pstn:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack</div>
<div>-- Executing [s@from-pstn:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack</div><div>-- Executing [s@from-pstn:6] Set("DAHDI/1-1", "FAX_DEST=from-did-direct^1000^1") in new stack</div>
<div>-- Executing [s@from-pstn:7] Answer("DAHDI/1-1", "") in new stack</div><div>-- Executing [s@from-pstn:8] Wait("DAHDI/1-1", "4") in new stack</div><div>-- Executing [s@from-pstn:9] Goto("DAHDI/1-1", "app-announcement-3,s,1") in new stack</div>
<div>...</div><div>-- Executing [s@macro-user-callerid:19] Set("DAHDI/1-1", "CALLERID(number)=") in new stack</div><div>-- Executing [s@macro-user-callerid:20] Set("DAHDI/1-1", "CALLERID(name)=") in new stack</div>
<div>*******</div><div>So I can see in display phones of ring-group instead of phone number phrase "unknown".</div><div>Before to write this message I have read a lot of forums. But I can`t solve my problem.</div>
<div>My config files are:</div><div>chan_dahdi.conf:</div><div>*******</div><div>[channels] </div>
<div>context=from-pstn</div><div>signalling=fxs_ks</div><div>rxwink=300</div><div>usecallerid=yes</div><div>hidecallerid=no</div><div>callwaiting=yes</div><div>usecallingpres=yes</div><div>callwaitingcallerid=yes</div><div>
threewaycalling=yes</div><div>transfer=yes</div><div>canpark=yes</div><div>cancallforward=yes</div><div>callreturn=yes</div><div>echocancel=yes</div><div>echocancelwhenbridged=yes</div><div>faxdetect=incoming</div><div>echotraining=800</div>
<div>rxgain=5.0</div><div>txgain=5.0</div><div>callgroup=1</div><div>pickupgroup=1</div><div>callerid=asreceived</div><div>cidsignalling=fsk</div><div>cidstart=ring</div><div>*******</div><div>My provider said that the method of transmission is FSK.</div>
<div>dahdi_channels.conf:</div><div>*******</div><div>; Span 1: WCTDM/0 "Wildcard TDM2400P Board 1" (MASTER)</div><div>;;; line="1 WCTDM/0/0 FXSKS"</div><div>signalling=fxs_ks</div><div>callerid=asreceived</div>
<div>group=0</div><div>context=from-pstn</div><div>channel => 1</div><div>callerid=</div><div>group=</div><div>context=default</div><div>*******</div><div>Also I have tried </div><div>*******</div><div>sendcalleridafter=1, sendcalleridafter=2</div>
<div>*******</div><div>but had no result:(</div><div>Maybe somebody can help me.</div><div>WBR.</div>
</div><br>
</div></div></div><br>