<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You need to make sure your (DAHDI or ZAPTEL ) is set up properly for
your country's CLID protocol<br>
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<br>
Other parts of the world use different methods and protocols<br>
You will need to dig into that first.<br>
<br>
John Novack<br>
<br>
<br>
neo haux wrote:
<blockquote
cite="mid:CAHtT-jL+pv5YpP4Gn5VyBaQoFuM2=bDgvbWovevd4KWxPGqbHQ@mail.gmail.com"
type="cite">
<div>Hi</div>
<div><br>
</div>
<div>I am testing a degium TDP400P (2fxo+2fxs) on my asterisk</div>
<div><br>
</div>
<div>I configured incoming calls from pstn to ring my SIP phone
(extension : 100)</div>
<div><br>
</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><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</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><br>
</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><br>
</div>
<div>I did those modifications in the file
/etc/asterisk/chan_dahdi.conf without improuvement ( After
restarting Asterisk)</div>
<div><br>
</div>
<div>[channels]</div>
<div>cidstart=ring</div>
<div>immediate=yes</div>
<div>faxdetect=no</div>
<div>usecallerid=no</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Here is the debug from Asterisk console</div>
<div><br>
</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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="10000">--
Dog is my Co-pilot</pre>
</body>
</html>