<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><span class="value">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>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##<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>; &nbsp; &nbsp; bell &nbsp; &nbsp; = bell202 as used in US (default)<br>; &nbsp; &nbsp; v23 &nbsp; &nbsp; &nbsp;= v23 as used in the UK<br>; &nbsp; &nbsp; v23_jp &nbsp; = v23 as used in Japan<br>; &nbsp; &nbsp; dtmf &nbsp; &nbsp; = DTMF as used in Denmark, Sweden and Netherlands<br>; &nbsp; &nbsp; smdi &nbsp; &nbsp; = Use SMDI for caller ID. &nbsp;Requires SMDI to be enabled (usesmdi).<br>;<br>;cidsignalling=v23<br>;<br>; What signals the start of caller ID<br>; &nbsp; &nbsp; ring &nbsp; &nbsp; &nbsp; &nbsp;= a ring signals the start (default)<br>; &nbsp; &nbsp;
 polarity &nbsp; &nbsp;= polarity reversal signals the start<br>; &nbsp; &nbsp; polarity_IN = polarity reversal signals the start, for India,<br>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for dtmf dialtone detection; using DTMF.<br>; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (see doc/India-CID.txt)<br>;<br>;cidstart=polarity<br><br><br>so i edited chan_dahdi.conf &nbsp;according to my region.<br><br>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>#####<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.c<wbr>onf.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] &nbsp;&lt;wanpipe1&gt;<br>context=from-zaptel<br>group=0<br>echocancel=yes<br>signalling = fxs_ks<br>channel =&gt; 1<br><br>context=from-zaptel<br>group=0<br>echocancel=yes<br>signalling = fxs_ks<br>channel =&gt;
 2<br><br>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>####<br><br>now when call comes to PSTN line i am not able to see the no. here is cli log<br><br>*CLI&gt; &nbsp; &nbsp; -- 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>&nbsp; &nbsp; -- Executing [s@from-zaptel:1] Wait("DAHDI/1-1", "2") in new stack<br>&nbsp; &nbsp; -- Executing [s@from-zaptel:2] GotoIfTime("DAHDI/1-1", "23:59-7:59|mon-sun|*|*?cl<wbr>osed,s,1")<wbr> in new stack<br>&nbsp; &nbsp; -- Executing [s@from-zaptel:3] Dial("DAHDI/1-1", "SIP/112,60,tT") in new stack<br>&nbsp; == Using SIP RTP CoS mark 5<br>&nbsp; &nbsp;
 -- Called 112<br>&nbsp; &nbsp; -- SIP/112-00000000 is ringing<br>&nbsp; == Spawn extension (from-zaptel, s, 3) exited non-zero on 'DAHDI/1-1'<br>&nbsp; &nbsp; -- Hungup 'DAHDI/1-1'<br><br>##########################<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>##########<wbr>#<br><br>plz help me out.</span></td></tr></table><br>
      <!--1--><hr size=1></hr> 
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>.