<div>I&#39;ve stumbled into a problem, I have enabled waitfordialtone=1000 to wait 1second for a dialtone before dialling a call. This is analog FXSKS signalling (fxo port)</div><div><br></div><div>I have verified that during the 1 second period, chan_dahdi receives frametype = 5 (AST_FRAME_NULL) so when it enters this part, it does nothing and does not get into the routine.</div>
<div><br></div><div>   } else if (p-&gt;waitingfordt.tv_sec) {</div><div>                                if (ast_tvdiff_ms(ast_tvnow(), p-&gt;waitingfordt) &gt;= p-&gt;waitfordialtone ) {</div><div>                                        p-&gt;waitingfordt.tv_sec = 0;</div>
<div>                                        ast_log(LOG_WARNING, &quot;Never saw dialtone on channel %d\n&quot;, p-&gt;channel);</div><div>                                        f=NULL;</div><div>                                } else if (f-&gt;frametype == AST_FRAME_VOICE) {</div>
<div>                                        f-&gt;frametype = AST_FRAME_NULL;</div><div>                                        f-&gt;subclass.integer = 0;</div><div>                                        if ((ast_dsp_get_tstate(p-&gt;dsp) == DSP_TONE_STATE_D </div>
<div><br></div><div>Any idea on why this is happening? I might have missed a config similar to PRI&#39;s early media or something.</div><br clear="all">Kelvin Chua<br>