<div><br></div><div>Hi,</div><div><br></div><div>I commented the option callerid in the file dahdi-channels.conf without success, My SIP phone still ring after 4-5 secondes :-(</div><div><br></div><div>; Span 1: WCTDM/0 &quot;Wildcard TDM410P&quot; (MASTER) </div>
<div>;;; line=&quot;1 WCTDM/0/0 FXSKS  (EC: MG2 - INACTIVE)&quot;</div><div>signalling=fxs_ks</div><div>;callerid=asreceived</div><div><br></div><div>I am living in Canada, so I guess I should use USA signaling ? If so in which file ?</div>
<div><br></div><div><br></div><div><br></div><div>Message: 7</div><div>Date: Tue, 04 Oct 2011 14:49:55 -0400</div><div>From: John Novack &lt;<a href="mailto:jnovack@stromberg-carlson.org">jnovack@stromberg-carlson.org</a>&gt;</div>
<div>Subject: Re: [asterisk-users] Delay before ringing from PSTN`s call</div><div>To: Asterisk Users Mailing List - Non-Commercial Discussion</div><div>       &lt;<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>&gt;</div>
<div>Cc: neo haux &lt;<a href="mailto:neo.haux@gmx.com">neo.haux@gmx.com</a>&gt;</div><div>Message-ID: &lt;<a href="mailto:4E8B5553.2030505@stromberg-carlson.org">4E8B5553.2030505@stromberg-carlson.org</a>&gt;</div><div>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;</div>
<div><br></div><div>You need to make sure your (DAHDI or ZAPTEL ) is set up properly for your country&#39;s CLID protocol</div><div>In the US CLID is sent between the first and second rings, and with a proper configuration Asterisk waits a ring before processing the call</div>
<div>Other parts of the world use different methods and protocols</div><div>You will need to dig into that first.</div><div><br></div><div>John Novack</div><div><br></div><div><br></div><div>neo haux wrote:</div><div>&gt; Hi</div>
<div>&gt;</div><div>&gt; I am testing a degium TDP400P (2fxo+2fxs) on my asterisk</div><div>&gt;</div><div>&gt; I configured incoming calls from pstn to ring my SIP phone (extension : 100)</div><div>&gt;</div><div>&gt; cat  extensions.conf</div>
<div>&gt; ...</div><div>&gt; [from-pstn]</div><div>&gt; exten =&gt; s,1,Dial(SIP/100,10)</div><div>&gt;  same =&gt; n,VoiceMail(100,u)</div><div>&gt;</div><div>&gt;</div><div>&gt;</div><div>&gt;</div><div>&gt; root@PC-debian:/etc/asterisk# cat dahdi-channels.conf</div>
<div>&gt; ...</div><div>&gt; ...</div><div>&gt; ...</div><div>&gt; ;;; line=&quot;1 WCTDM/0/0 FXSKS  (EC: MG2 - INACTIVE)&quot;</div><div>&gt; signalling=fxs_ks</div><div>&gt; callerid=asreceived</div><div>&gt; group=0</div>
<div>&gt; context=from-pstn</div><div>&gt; channel =&gt; 1</div><div>&gt; callerid=</div><div>&gt; group=</div><div>&gt; context=default</div><div>&gt; ...</div><div>&gt; ...</div><div>&gt; ...</div><div>&gt;</div><div>&gt; What I don`t understand is why the SIPphone rings after 3 secondes after Astererisk detects the incoming call. Moreover, after hanging off the external caller the SIPphone continue to ring for 3 seconds.</div>
<div>&gt;</div><div>&gt; I did those modifications in the file  /etc/asterisk/chan_dahdi.conf without improuvement ( After restarting Asterisk)</div><div>&gt;</div><div>&gt; [channels]</div><div>&gt; cidstart=ring</div><div>
&gt; immediate=yes</div><div>&gt; faxdetect=no</div><div>&gt; usecallerid=no</div><div>&gt;</div><div>&gt;</div><div>&gt; Here is the debug from Asterisk console</div><div>&gt;</div><div>&gt; *CLI&gt;     -- Starting simple switch on &#39;DAHDI/1-1&#39;</div>
<div>&gt;     -- Executing [s@from-pstn:1] Dial(&quot;DAHDI/1-1&quot;, &quot;SIP/100,10&quot;) in new stack</div><div>&gt;   == Using SIP RTP CoS mark 5</div><div>&gt;     -- Called SIP/100</div><div>&gt;     -- SIP/100-00000001 is ringing</div>
<div>&gt;   == Spawn extension (from-pstn, s, 1) exited non-zero on &#39;DAHDI/1-1&#39;</div><div>&gt;     -- Hanging up on &#39;DAHDI/1-1&#39;</div><div>&gt;     -- Hungup &#39;DAHDI/1-1&#39;</div><div>&gt;</div>