<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 "Wildcard TDM410P" (MASTER) </div>
<div>;;; line="1 WCTDM/0/0 FXSKS (EC: MG2 - INACTIVE)"</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 <<a href="mailto:jnovack@stromberg-carlson.org">jnovack@stromberg-carlson.org</a>></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> <<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>></div>
<div>Cc: neo haux <<a href="mailto:neo.haux@gmx.com">neo.haux@gmx.com</a>></div><div>Message-ID: <<a href="mailto:4E8B5553.2030505@stromberg-carlson.org">4E8B5553.2030505@stromberg-carlson.org</a>></div><div>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"</div>
<div><br></div><div>You need to make sure your (DAHDI or ZAPTEL ) is set up properly for your country'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>> Hi</div>
<div>></div><div>> I am testing a degium TDP400P (2fxo+2fxs) on my asterisk</div><div>></div><div>> I configured incoming calls from pstn to ring my SIP phone (extension : 100)</div><div>></div><div>> cat extensions.conf</div>
<div>> ...</div><div>> [from-pstn]</div><div>> exten => s,1,Dial(SIP/100,10)</div><div>> same => n,VoiceMail(100,u)</div><div>></div><div>></div><div>></div><div>></div><div>> root@PC-debian:/etc/asterisk# cat dahdi-channels.conf</div>
<div>> ...</div><div>> ...</div><div>> ...</div><div>> ;;; line="1 WCTDM/0/0 FXSKS (EC: MG2 - INACTIVE)"</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>> ...</div><div>> ...</div><div>></div><div>> 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>></div><div>> I did those modifications in the file /etc/asterisk/chan_dahdi.conf without improuvement ( After restarting Asterisk)</div><div>></div><div>> [channels]</div><div>> cidstart=ring</div><div>
> immediate=yes</div><div>> faxdetect=no</div><div>> usecallerid=no</div><div>></div><div>></div><div>> Here is the debug from Asterisk console</div><div>></div><div>> *CLI> -- Starting simple switch on 'DAHDI/1-1'</div>
<div>> -- Executing [s@from-pstn:1] Dial("DAHDI/1-1", "SIP/100,10") in new stack</div><div>> == Using SIP RTP CoS mark 5</div><div>> -- Called SIP/100</div><div>> -- SIP/100-00000001 is ringing</div>
<div>> == Spawn extension (from-pstn, s, 1) exited non-zero on 'DAHDI/1-1'</div><div>> -- Hanging up on 'DAHDI/1-1'</div><div>> -- Hungup 'DAHDI/1-1'</div><div>></div>