<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>; 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>##########################<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] <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>##########################<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> -- 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|*|*?cl<wbr>osed,s,1")<wbr> 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>##########################<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>.