For some reason I am not able to set loopstart instead of kewlstart:<div><br></div><div>Console out put:</div><div><br></div><div><div>[Oct 26 20:58:40] == Parsing '/etc/asterisk/chan_dahdi.conf': [Oct 26 20:58:40] Found</div>
<div>[Oct 26 20:58:40] -- Registered channel 1, FXS Loopstart signalling</div><div>[Oct 26 20:58:40] -- Registered channel 2, FXS Loopstart signalling</div><div>[Oct 26 20:58:40] ERROR[23050]: chan_dahdi.c:7677 mkintf: Signalling requested on channel 3 is FXS Loopstart but line is in FXS Kewlstart signalling</div>
<div>[Oct 26 20:58:40] ERROR[23050]: chan_dahdi.c:11294 build_channels: Unable to register channel '1-8'</div><div>pbx*CLI> module load chan_dahdi.so</div><div><br></div><div>any ideas? I am still tring to set some other parameters like:</div>
<div><font class="Apple-style-span" face="monospace" size="4"><span class="Apple-style-span" style="font-size: 15px; white-space: pre;"><font class="Apple-style-span" face="arial"><span class="Apple-style-span" style="font-size: small; white-space: normal;"><br>
</span></font></span></font></div><div><span class="Apple-style-span" style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px; "><pre style="font-family: monospace !important; text-align: left; font-size: 1.1em; overflow-x: auto; overflow-y: auto; ">
<code style="font-family: monospace !important; text-align: left; font-size: 1.1em; ">cidsignalling=
cidstart=</code></pre></span></div><div><br></div>Thanks</div><div><br></div><div>ML</div><div><br><div class="gmail_quote">2009/10/26 Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">It’s not the DAHDI driver; it’s
the POTS service you are (presumably) using. The DAHDI driver works fine with
PRI/E1 interfaces, but POTS requires “human” knowledge (it can’t
tell if a line is ringing/answered, etc). The only “reasonable”
solution I can suggest for this scenario is a polarity/silence detect to keep
you from processing many minutes of silence and other garbage. LoopStart
instead of KewlStart has been suggested in some instances (possibly applicable
to you since you are non-US).</span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Mariano Lecuona<br>
<b><span style="font-weight:bold">Sent:</span></b> Monday, October 26, 2009
2:59 PM</span></font></p><font size="2" face="Tahoma"><div class="im"><br>
<b><span style="font-weight:bold">To:</span></b>
<a href="mailto:asterisk-users@lists.digium.com" target="_blank">asterisk-users@lists.digium.com</a><br>
</div><b><span style="font-weight:bold">Subject:</span></b> [asterisk-users] DAHDI
not detecting RINGING Status on the Channel</font><p></p>
</div><div><div></div><div class="h5">
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p class="MsoNormal"><span><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">I am using an 8 port tdm card and
also I implemented a dialer using a</span></font></span><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"><br>
<span>.call file generator. As you know on the .call you
specify the channel to</span><br>
<span>call and then the contex/extension/priority to let
dial plan continue when</span><br>
<span>the call is bridge.</span><br>
<span>My actual problem is that when the call process
starts, asterisk (DAHDI)</span><br>
<span>sets the channel as answered when the truth is
that on the other side the</span><br>
<span>channel has not started to ring yet. My felling is
that the DAHDI driver</span><br>
<span>cannot detect /understand the signaling of the
analog line. Here is the</span><br>
<span>evidence and configuration settings. I live in
Argentina BTW</span><br>
<br>
<span>Console output.</span><br>
<span>[Oct 22 23:42:03] -- Attempting call
on</span><br>
<span>Local/84776114@outgoing_campaign/n for
501@queues:2 (Retry 1)</span><br>
<span>[Oct 22 23:42:03] -- Executing
[84776114@outgoing_campaign:1]</span><br>
<span>Macro("Local/84776114@outgoing_campaign-d2c3,2",</span><br>
<span>"recordcall|501|84776114")in new stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-recordcall:1]</span><br>
<span>GotoIf("Local/84776114@outgoing_campaign-d2c3,2",
"1?5:2") in new stack</span><br>
<span>[Oct 22 23:42:03] -- Goto
(macro-recordcall,s,5)</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-recordcall:5]</span><br>
<span>Set("Local/84776114@outgoing_campaign-d2c3,2",</span><br>
<span>"FILEREC=2009-10-22-23-42-03-SRC-501-DST-84776114")
in new stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-recordcall:6]</span><br>
<span>Set("Local/84776114@outgoing_campaign-d2c3,2",</span><br>
<span>"FILE_PATH=2009/10/22/2009-10-22-23-42-03-SRC-501-DST-84776114")
in new</span><br>
<span>stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-recordcall:7]</span><br>
<span>Set("Local/84776114@outgoing_campaign-d2c3,2",</span><br>
<span>"CDR(userfield)=2009-10-22-23-42-03-SRC-501-DST-84776114.wav")
in new</span><br>
<span>stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-recordcall:8]</span><br>
<span>MixMonitor("Local/84776114@outgoing_campaign-d2c3,2",</span><br>
<span>"/opt/rec/2009/10/22/2009-10-22-23-42-03-SRC-501-DST-84776114.wav|b")
in</span><br>
<span>new stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-recordcall:9]</span><br>
<span>MacroExit("Local/84776114@outgoing_campaign-d2c3,2",
"") in new stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[84776114@outgoing_campaign:2]</span><br>
<span>Macro("Local/84776114@outgoing_campaign-d2c3,2",</span><br>
<span>"dialtrunk-failover|DAHDI/R1/4776114|DAHDI/R2/4776114|DAHDI/R3/4776114|DAHDI/R4/4776114|span_1|span_2|span_3|span_4")</span><br>
<span>in new stack</span><br>
<span>[Oct 22 23:42:03] == Begin MixMonitor
Recording</span><br>
<span>Local/84776114@outgoing_campaign-d2c3,2</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-dialtrunk-failover:1]</span><br>
<span>GotoIf("Local/84776114@outgoing_campaign-d2c3,2",
"0?1-fmsetcid|1") in new</span><br>
<span>stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-dialtrunk-failover:2]</span><br>
<span>GotoIf("Local/84776114@outgoing_campaign-d2c3,2",
"0?1-setgbobname|1") in</span><br>
<span>new stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-dialtrunk-failover:3]</span><br>
<span>Set("Local/84776114@outgoing_campaign-d2c3,2",
"CALLERID(num)=") in new</span><br>
<span>stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-dialtrunk-failover:4]</span><br>
<span>GotoIf("Local/84776114@outgoing_campaign-d2c3,2",
"0?1-dial|1") in new</span><br>
<span>stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-dialtrunk-failover:5]</span><br>
<span>Set("Local/84776114@outgoing_campaign-d2c3,2",
"CALLERID(all)=") in new</span><br>
<span>stack</span><br>
<span>[Oct 22 23:42:03] -- Executing
[s@macro-dialtrunk-failover:6]</span><br>
<span>Goto("Local/84776114@outgoing_campaign-d2c3,2",
"1-dial|1") in new stack</span><br>
<span>[Oct 22 23:42:03] -- Goto
(macro-dialtrunk-failover,1-dial,1)</span><br>
<span>[Oct 22 23:42:03] -- Executing
[1-dial@macro-dialtrunk-failover:1]</span><br>
<span>Dial("Local/84776114@outgoing_campaign-d2c3,2",
"DAHDI/R1/4776114|90|tT")</span><br>
<span>in new stack</span><br>
<span>[Oct 22 23:42:03] -- Called
R1/4776114</span><br>
<span>[Oct 22 23:42:05] -- DAHDI/4-1
answered</span><br>
<span>Local/84776114@outgoing_campaign-d2c3,2</span><br>
<span>[Oct 22 23:42:05] >
Channel Local/84776114@outgoing_campaign-d2c3,1</span><br>
<span>was answered.</span><br>
<span>[Oct 22 23:42:05] -- Executing
[501@queues:2]</span><br>
<span>Queue("Local/84776114@outgoing_campaign-d2c3,1",
"501") in new stack</span><br>
<span>[Oct 22 23:42:05] -- Started music
on hold, class 'default', on</span><br>
<span>channel 'Local/84776114@outgoing_campaign-d2c3,1'</span><br>
<span>[Oct 22 23:42:05] -- outgoing
agentcall, to agent '10009', on</span><br>
<span>'Local/1000@default-4a9e,1'</span><br>
<span>[Oct 22 23:42:05] -- Executing
[1000@default:1]</span><br>
<span>Dial("Local/1000@default-4a9e,2",
"SIP/1000") in new stack</span><br>
<span>[Oct 22 23:42:05] -- Called 1000</span><br>
<span>[Oct 22 23:42:07] --
SIP/1000-0895df08 is ringing</span><br>
<span>[Oct 22 23:42:07] -- Agent/10009 is
ringing</span><br>
<br>
<br>
<span>** PLease see las line with [Oct 22 23:42:05] when
the output shows that</span><br>
<span>Called/xxxx and then says DAHDI/4-1 answered.</span><br>
<br>
<span>[root@pbx ~]# cat /asterisk/chan_dahdi.conf</span><br>
<span>[trunkgroups]</span><br>
<span>[channels]</span><br>
<span>language=ar</span><br>
<span>context=DID_trunk_1</span><br>
<span>signalling=fxs_ks</span><br>
<span>callwaiting=yes</span><br>
<span>hidecallerid=no</span><br>
<span>usecallingpres=yes</span><br>
<span>callwaitingcallerid=yes</span><br>
<span>threewaycalling=yes</span><br>
<span>transfer=yes</span><br>
<span>canpark=yes</span><br>
<span>cancallforward=yes</span><br>
<span>callreturn=yes</span><br>
<span>echocancel=no</span><br>
<span>echocancelwhenbridged=no</span><br>
<span>relaxdtmf=yes</span><br>
<span>usedistinctiveringdetection=yes</span><br>
<span>usecallingpres=yes</span><br>
<span>busydetect=yes</span><br>
<span>callprogress=yes</span><br>
<span>rxgain=2.0</span><br>
<span>txgain=2.0</span><br>
<span>;</span><br>
<span>group=1</span><br>
<span>channel => 1-8</span><br>
<span>callgroup=1</span><br>
<span>pickupgroup=1</span></span></font> </p>
</div></div></div>
</div>
<br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>