<div dir="ltr">thank you for your help ,but which configure script and when i can find this script ? in etc/asterisk<div><br><div><br></div><div>best regards <br><br><div class="gmail_quote">2013/3/27 Thorsten Göllner <span dir="ltr"><<a href="mailto:tg@ovm-group.com" target="_blank">tg@ovm-group.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
You do use only span 1 and 6? So the other ports are not plugged?
That is the cause for the warnings. I use a Sangoma E1-Card. The
configure script gives me the option "unused" for any port. Maybe
your configure script offers you the same option.<br>
<br>
<div>Am 27.03.2013 11:54, schrieb
Salaheddine Elharit:<br>
</div><div><div>
<blockquote type="cite">
<div dir="ltr">Hi
<div><br>
</div>
<div>i use 2 digium cards 1 card with 2 ports and
the second card with 4 ports</div>
<div>
<p class="MsoNormal">
</p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">but actually
i use just the span 1 and span 6 </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Asterisk
1.4-r110474M</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">i use E1
ports</span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
</span></p>
<p class="MsoNormal">zaptel.conf</p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"></span></p>
<p class="MsoNormal"># Autogenerated by /usr/sbin/zapconf on
Wed Feb 20 10:13:17 2013 -- do not hand edit</p>
<p class="MsoNormal">
# Zaptel Configuration File</p>
<p class="MsoNormal">#</p>
<p class="MsoNormal"># This file is parsed by the Zaptel
Configurator, ztcfg</p>
<p class="MsoNormal">#</p>
<p class="MsoNormal"># Span 1: TE4/0/1 "T4XXP (PCI) Card 0
Span 1" (MASTER) HDB3/CCS RED</p>
<p class="MsoNormal">span=1,1,0,ccs,hdb3</p>
<p class="MsoNormal"># termtype: te</p>
<p class="MsoNormal">bchan=1-15,17-31</p>
<p class="MsoNormal">dchan=16</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"># Span 2: TE4/0/2 "T4XXP (PCI) Card 0
Span 2" HDB3/CCS RED</p>
<p class="MsoNormal">span=2,2,0,ccs,hdb3</p>
<p class="MsoNormal"># termtype: te</p>
<p class="MsoNormal">bchan=32-46,48-62</p>
<p class="MsoNormal">dchan=47</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"># Span 3: TE4/0/3 "T4XXP (PCI) Card 0
Span 3" </p>
<p class="MsoNormal"># span=3,3,0,ccs,hdb3</p>
<p class="MsoNormal"># termtype: te</p>
<p class="MsoNormal"># bchan=63-77,79-93</p>
<p class="MsoNormal"># dchan=78</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"># Span 4: TE4/0/4 "T4XXP (PCI) Card 0
Span 4" </p>
<p class="MsoNormal"># span=4,4,0,ccs,hdb3</p>
<p class="MsoNormal"># termtype: te</p>
<p class="MsoNormal"># bchan=94-108,110-124</p>
<p class="MsoNormal"># dchan=109</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"># Span 5: TE2/1/1 "T2XXP (PCI) Card 1
Span 1" </p>
<p class="MsoNormal">span=5,5,0,ccs,hdb3</p>
<p class="MsoNormal"># termtype: te</p>
<p class="MsoNormal">bchan=125-139,141-155</p>
<p class="MsoNormal">dchan=140</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"># Span 6: TE2/1/2 "T2XXP (PCI) Card 1
Span 2" </p>
<p class="MsoNormal">span=6,6,0,ccs,hdb3</p>
<p class="MsoNormal"># termtype: te</p>
<p class="MsoNormal">bchan=156-170,172-186</p>
<p class="MsoNormal">dchan=171</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"># Global data</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">loadzone<span style="white-space:pre-wrap"> </span>= us</p>
<p class="MsoNormal">defaultzone<span style="white-space:pre-wrap"> </span>= us</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">etc/asterisk/zapata.conf</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">[channels]</p>
<p class="MsoNormal">context=default</p>
<p class="MsoNormal">hidecallerid=no</p>
<p class="MsoNormal">callwaiting=yes</p>
<p class="MsoNormal">usecallingpres=yes</p>
<p class="MsoNormal">callwaitingcallerid=yes</p>
<p class="MsoNormal">
threewaycalling=yes</p>
<p class="MsoNormal">transfer=yes</p>
<p class="MsoNormal">canpark=yes</p>
<p class="MsoNormal">cancallforward=yes</p>
<p class="MsoNormal">callreturn=yes</p>
<p class="MsoNormal">rxgain=0.0</p>
<p class="MsoNormal">
txgain=0.0</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">group=1</p>
<p class="MsoNormal">switchtype=euroisdn</p>
<p class="MsoNormal">signalling=pri_cpe</p>
<p class="MsoNormal">callgroup=1</p>
<p class="MsoNormal">pickupgroup=1</p>
<p class="MsoNormal">immediate=no</p>
<p class="MsoNormal">channel => 1-15,17-31</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">group=2</p>
<p class="MsoNormal">callgroup=2</p>
<p class="MsoNormal">switchtype=qsig</p>
<p class="MsoNormal">signalling=pri_net</p>
<p class="MsoNormal">callerid=mycallerid</p>
<p class="MsoNormal">immediate=no</p>
<p class="MsoNormal">channel => 156-170</p>
<p class="MsoNormal">channel => 172-176</p>
<p class="MsoNormal">
channel => 125-139</p>
<p class="MsoNormal">channel => 141-155</p>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal">thanks and regards</p>
<p class="MsoNormal"><br>
</p>
<br>
<div class="gmail_quote">2013/3/27 Yves A. <span dir="ltr"><<a href="mailto:yves030@gmx.de" target="_blank">yves030@gmx.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>
<div>Am 26.03.2013 17:57, schrieb Salaheddine Elharit:<br>
</div>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div>
<div>
<div><br>
</div>
<div> i have all the time this warning i use
asterisk 1.4 all works without issue i don't
have any problem (i can use the inbound and
outbound calls without issue)</div>
<div>
<div><br>
</div>
<div>i just want to know what is this WARNING</div>
<div><br>
</div>
<div>thanks and regards</div>
<div><br>
</div>
<div><br>
</div>
<div> WARNING[28151]: chan_zap.c:2404
pri_find_dchan: No D-channels available!
Using Primary channel 140 as D-channel
anyway!</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
this can have different causes... mostly a wrong setting
in your zaptel configuration file... this could be e.g.<br>
mixing american / european settings (e1/t1), <br>
wrong timing settings,<br>
wrong master / source clock setting,<br>
[...]<br>
post more details... what span (e1 or t1), which
hardware, driver version, asterisk version, config
files...<br>
<br>
<br>
regards,</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div></div>