<p>Does your regular phone shows callerid on this line. If the service provider is sending the callerid, asterisk doesn't have to do anything special to retrieve it.</p>
<p>--<br>
Zeeshan</p>
<p><blockquote type="cite">On 2010-03-20 1:25 PM, "cool dude" <<a href="mailto:cool_dudeoflko@yahoo.co.in">cool_dudeoflko@yahoo.co.in</a>> wrote:<br><br><table cellspacing="0" cellpadding="0" border="0"><tr>
<td valign="top" style="font:inherit"><span>i belong to india. i am making pbx using sangoma
fxo card. i want that when ever call comes to my PSTN line i should see
the no from where call is coming. so i have to configures
chan_dahdi.conf according to my region. i checked dahdi.conf and in
that they have mentioned for india<br><br>######################################################################################################################<br>; Hide the name part and leave just the number part of the caller ID<br>
; string. Only applies to PRI channels.<br>;hidecalleridname=yes<br>;<br>; Type of caller ID signalling in use<br>; bell = bell202 as used in US (default)<br>; v23 = v23 as used in the UK<br>; v23_jp = v23 as used in Japan<br>
; dtmf = DTMF as used in Denmark, Sweden and Netherlands<br>; smdi = Use SMDI for caller ID. Requires SMDI to be enabled (usesmdi).<br>;<br>;cidsignalling=v23<br>;<br>; What signals the start of caller ID<br>
; ring = a ring signals the start (default)<br>;
polarity = polarity reversal signals the start<br>; polarity_IN = polarity reversal signals the start, for India,<br>; for dtmf dialtone detection; using DTMF.<br>; (see doc/India-CID.txt)<br>
;<br>;cidstart=polarity<br><br><br>so i edited chan_dahdi.conf according to my region.<br><br>###############################################################################################################<br>vi chan_dahdi.conf<br>
<br>;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>;autogenrated on 2010-03-18<br>;Dahdi Channels Configurations<br>;For detailed Dahdi options, view
/etc/asterisk/chan_dahdi.conf.bak<br><br>[trunkgroups]<br><br>[channels]<br>context=default<br>usecallerid=yes<br>hidecallerid=no<br>callwaiting=yes<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>
transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>echocancel=yes<br>echocancelwhenbridged=yes<br>relaxdtmf=yes<br>rxgain=0.0<br>txgain=0.0<br>group=1<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br>
;cidstart=ring<br>;cidstart=polarity<br>;callerid=asreceived<br>cidsignalling=polarity_IN<br>sendcalleridafter=2<br><br>;Sangoma AU100 [slot:0 bus: span:1] <wanpipe1><br>context=from-zaptel<br>group=0<br>echocancel=yes<br>
signalling = fxs_ks<br>channel => 1<br><br>context=from-zaptel<br>group=0<br>echocancel=yes<br>signalling = fxs_ks<br>channel =>
2<br><br>####################################################################################################<br><br>now when call comes to PSTN line i am not able to see the no. here is cli log<br><br>*CLI> -- Starting simple switch on 'DAHDI/1-1'<br>
[Mar 20 20:12:51] NOTICE[6659]: chan_dahdi.c:8692 ss_thread: Got event 18 (Ring Begin)...<br>[Mar 20 20:12:51] NOTICE[6659]: chan_dahdi.c:8692 ss_thread: Got event 17 (Polarity Reversal)...<br>[Mar 20 20:12:51] NOTICE[6659]: chan_dahdi.c:8692 ss_thread: Got event 17 (Polarity Reversal)...<br>
-- Executing [s@from-zaptel:1] Wait("DAHDI/1-1", "2") in new stack<br> -- Executing [s@from-zaptel:2] GotoIfTime("DAHDI/1-1", "23:59-7:59|mon-sun|*|*?closed,s,1") in new stack<br>
-- Executing [s@from-zaptel:3] Dial("DAHDI/1-1", "SIP/112,60,tT") in new stack<br> == Using SIP RTP CoS mark 5<br>
-- Called 112<br> -- SIP/112-00000000 is ringing<br> == Spawn extension (from-zaptel, s, 3) exited non-zero on 'DAHDI/1-1'<br> -- Hungup 'DAHDI/1-1'<br><br>#################################################################################################<br>
<br>plz help me out.</span></td></tr></table><br><font color="#aaaaaa">
<hr size="1">
Your Mail works best with the New Yahoo Optimized IE8. <a href="http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/" target="_blank">Get it NOW!</a>.</font><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></p>