<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">I am using an 8 port tdm card and also I implemented a dialer using a<br>.call file generator. As you know on the .call you specify the channel to<br>

call and then the contex/extension/priority to let dial plan continue when<br>the call is bridge.<br>My actual problem is that when the call process starts, asterisk (DAHDI)<br>sets the channel as answered when the truth is that on the other side the<br>

channel has not started to ring yet. My felling is that the DAHDI driver<br>cannot detect /understand the signaling of the analog line. Here is the<br>evidence and configuration settings. I live in Argentina BTW<br><br>Console output.<br>

[Oct 22 23:42:03]     -- Attempting call on<br>Local/84776114@outgoing_campaign/n for 501@queues:2 (Retry 1)<br>[Oct 22 23:42:03]     -- Executing [84776114@outgoing_campaign:1]<br>Macro(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;,<br>

&quot;recordcall|501|84776114&quot;)in new stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-recordcall:1]<br>GotoIf(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;1?5:2&quot;) in new stack<br>[Oct 22 23:42:03]     -- Goto (macro-recordcall,s,5)<br>

[Oct 22 23:42:03]     -- Executing [s@macro-recordcall:5]<br>Set(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;,<br>&quot;FILEREC=2009-10-22-23-42-03-SRC-501-DST-84776114&quot;) in new stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-recordcall:6]<br>

Set(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;,<br>&quot;FILE_PATH=2009/10/22/2009-10-22-23-42-03-SRC-501-DST-84776114&quot;) in new<br>stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-recordcall:7]<br>Set(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;,<br>

&quot;CDR(userfield)=2009-10-22-23-42-03-SRC-501-DST-84776114.wav&quot;) in new<br>stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-recordcall:8]<br>MixMonitor(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;,<br>
&quot;/opt/rec/2009/10/22/2009-10-22-23-42-03-SRC-501-DST-84776114.wav|b&quot;) in<br>
new stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-recordcall:9]<br>MacroExit(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;&quot;) in new stack<br>[Oct 22 23:42:03]     -- Executing [84776114@outgoing_campaign:2]<br>

Macro(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;,<br>&quot;dialtrunk-failover|DAHDI/R1/4776114|DAHDI/R2/4776114|DAHDI/R3/4776114|DAHDI/R4/4776114|span_1|span_2|span_3|span_4&quot;)<br>in new stack<br>[Oct 22 23:42:03]   == Begin MixMonitor Recording<br>

Local/84776114@outgoing_campaign-d2c3,2<br>[Oct 22 23:42:03]     -- Executing [s@macro-dialtrunk-failover:1]<br>GotoIf(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;0?1-fmsetcid|1&quot;) in new<br>stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-dialtrunk-failover:2]<br>

GotoIf(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;0?1-setgbobname|1&quot;) in<br>new stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-dialtrunk-failover:3]<br>Set(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;CALLERID(num)=&quot;) in new<br>

stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-dialtrunk-failover:4]<br>GotoIf(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;0?1-dial|1&quot;) in new<br>stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-dialtrunk-failover:5]<br>

Set(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;CALLERID(all)=&quot;) in new<br>stack<br>[Oct 22 23:42:03]     -- Executing [s@macro-dialtrunk-failover:6]<br>Goto(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;1-dial|1&quot;) in new stack<br>

[Oct 22 23:42:03]     -- Goto (macro-dialtrunk-failover,1-dial,1)<br>[Oct 22 23:42:03]     -- Executing [1-dial@macro-dialtrunk-failover:1]<br>Dial(&quot;Local/84776114@outgoing_campaign-d2c3,2&quot;, &quot;DAHDI/R1/4776114|90|tT&quot;)<br>

in new stack<br>[Oct 22 23:42:03]     -- Called R1/4776114<br>[Oct 22 23:42:05]     -- DAHDI/4-1 answered<br>Local/84776114@outgoing_campaign-d2c3,2<br>[Oct 22 23:42:05]        &gt; Channel Local/84776114@outgoing_campaign-d2c3,1<br>

was answered.<br>[Oct 22 23:42:05]     -- Executing [501@queues:2]<br>Queue(&quot;Local/84776114@outgoing_campaign-d2c3,1&quot;, &quot;501&quot;) in new stack<br>[Oct 22 23:42:05]     -- Started music on hold, class &#39;default&#39;, on<br>

channel &#39;Local/84776114@outgoing_campaign-d2c3,1&#39;<br>[Oct 22 23:42:05]     -- outgoing agentcall, to agent &#39;10009&#39;, on<br>&#39;Local/1000@default-4a9e,1&#39;<br>[Oct 22 23:42:05]     -- Executing [1000@default:1]<br>

Dial(&quot;Local/1000@default-4a9e,2&quot;, &quot;SIP/1000&quot;) in new stack<br>[Oct 22 23:42:05]     -- Called 1000<br>[Oct 22 23:42:07]     -- SIP/1000-0895df08 is ringing<br>[Oct 22 23:42:07]     -- Agent/10009 is ringing<br>

<br><br>** PLease see las line with [Oct 22 23:42:05] when the output shows that<br>Called/xxxx and then says DAHDI/4-1 answered.<br><br>[root@pbx ~]# cat /asterisk/chan_dahdi.conf<br>[trunkgroups]<br>[channels]<br>language=ar<br>

context=DID_trunk_1<br>signalling=fxs_ks<br>callwaiting=yes<br>hidecallerid=no<br>usecallingpres=yes<br>callwaitingcallerid=yes<br>threewaycalling=yes<br>transfer=yes<br>canpark=yes<br>cancallforward=yes<br>callreturn=yes<br>

echocancel=no<br>echocancelwhenbridged=no<br>relaxdtmf=yes<br>usedistinctiveringdetection=yes<br>usecallingpres=yes<br>busydetect=yes<br>callprogress=yes<br>rxgain=2.0<br>txgain=2.0<br>;<br>group=1<br>channel =&gt; 1-8<br>

callgroup=1<br>pickupgroup=1</span>