<div dir="ltr">No, I see this:<div><br></div><div><div>shell> cat /proc/dahdi/2</div><div>Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" (MASTER) B8ZS/ESF LOOP </div><div><span class="" style="white-space:pre"> </span>CRC4 error count: 1</div>
<div><span class="" style="white-space:pre"> </span>E-bit error count: 1</div><div><br></div><div><span class="" style="white-space:pre"> </span> 25 TE2/0/2/1 Clear Master LOOP </div><div><span class="" style="white-space:pre"> </span> 26 TE2/0/2/2 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 27 TE2/0/2/3 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 28 TE2/0/2/4 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 29 TE2/0/2/5 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 30 TE2/0/2/6 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 31 TE2/0/2/7 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 32 TE2/0/2/8 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 33 TE2/0/2/9 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 34 TE2/0/2/10 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 35 TE2/0/2/11 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 36 TE2/0/2/12 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 37 TE2/0/2/13 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 38 TE2/0/2/14 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 39 TE2/0/2/15 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 40 TE2/0/2/16 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 41 TE2/0/2/17 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 42 TE2/0/2/18 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 43 TE2/0/2/19 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 44 TE2/0/2/20 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 45 TE2/0/2/21 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 46 TE2/0/2/22 Clear LOOP </div><div><span class="" style="white-space:pre"> </span> 47 TE2/0/2/23 Clear LOOP </div>
<div><span class="" style="white-space:pre"> </span> 48 TE2/0/2/24 Clear LOOP </div></div><div><br></div><div><div>shell> cat /proc/dahdi/1</div><div>Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" B8ZS/ESF LOOP </div>
<div><br></div><div><span class="" style="white-space:pre"> </span> 1 TE2/0/1/1 Clear Master RED </div><div><span class="" style="white-space:pre"> </span> 2 TE2/0/1/2 Clear RED </div><div><span class="" style="white-space:pre"> </span> 3 TE2/0/1/3 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 4 TE2/0/1/4 Clear RED </div><div><span class="" style="white-space:pre"> </span> 5 TE2/0/1/5 Clear RED </div><div><span class="" style="white-space:pre"> </span> 6 TE2/0/1/6 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 7 TE2/0/1/7 Clear RED </div><div><span class="" style="white-space:pre"> </span> 8 TE2/0/1/8 Clear RED </div><div><span class="" style="white-space:pre"> </span> 9 TE2/0/1/9 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 10 TE2/0/1/10 Clear RED </div><div><span class="" style="white-space:pre"> </span> 11 TE2/0/1/11 Clear RED </div><div><span class="" style="white-space:pre"> </span> 12 TE2/0/1/12 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 13 TE2/0/1/13 Clear RED </div><div><span class="" style="white-space:pre"> </span> 14 TE2/0/1/14 Clear RED </div><div><span class="" style="white-space:pre"> </span> 15 TE2/0/1/15 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 16 TE2/0/1/16 Clear RED </div><div><span class="" style="white-space:pre"> </span> 17 TE2/0/1/17 Clear RED </div><div><span class="" style="white-space:pre"> </span> 18 TE2/0/1/18 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 19 TE2/0/1/19 Clear RED </div><div><span class="" style="white-space:pre"> </span> 20 TE2/0/1/20 Clear RED </div><div><span class="" style="white-space:pre"> </span> 21 TE2/0/1/21 Clear RED </div>
<div><span class="" style="white-space:pre"> </span> 22 TE2/0/1/22 Clear RED </div><div><span class="" style="white-space:pre"> </span> 23 TE2/0/1/23 Clear RED </div><div><span class="" style="white-space:pre"> </span> 24 TE2/0/1/24 Clear RED </div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 15, 2014 at 4:28 PM, Shaun Ruffell <span dir="ltr"><<a href="mailto:sruffell@digium.com" target="_blank">sruffell@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Jan 15, 2014 at 04:18:55PM +0000, Rodrigo Borges Pereira wrote:<br>
> Still no luck:<br>
><br>
> shell> pgrep asterisk<br>
> shell> ps -ef | grep asterisk<br>
> shell> lsof /dev/dahdi/channel<br>
> shell> lsof /dev/dahdi/1<br>
> shell> lsof /dev/dahdi/2<br>
> shell> chrt -f 99 patlooptest /dev/dahdi/2 -t 300 -vvvvv<br>
> /dev/dahdi/2: Device or resource busy<br>
><br>
> I can assure no PBX related process is running.<br>
<br>
</div>Do you see the channel listed as (in use) in /proc/dahdi/1? I.e.<br>
<br>
Before opening channel 2:<br>
<br>
[root@112-17-24-10 ~]# cat /proc/dahdi/1<br>
Span 1: WCTDM/0 "Wildcard A8B" (MASTER)<br>
<br>
1 WCTDM/0/0 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
2 WCTDM/0/1 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
3 WCTDM/0/2 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
4 WCTDM/0/3 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
5 WCTDM/0/4 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
6 WCTDM/0/5 FXSKS RED (EC: VPMOCT032 - INACTIVE)<br>
7 WCTDM/0/6 Reserved<br>
8 WCTDM/0/7 Reserved<br>
<br>
After opening channel 2:<br>
<br>
[root@112-17-24-10 ~]# cat /proc/dahdi/1<br>
Span 1: WCTDM/0 "Wildcard A8B" (MASTER)<br>
<br>
1 WCTDM/0/0 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
2 WCTDM/0/1 FXOKS (In use) (EC: VPMOCT032 - INACTIVE)<br>
3 WCTDM/0/2 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
4 WCTDM/0/3 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
5 WCTDM/0/4 FXOKS (EC: VPMOCT032 - INACTIVE)<br>
6 WCTDM/0/5 FXSKS RED (EC: VPMOCT032 - INACTIVE)<br>
7 WCTDM/0/6 Reserved<br>
8 WCTDM/0/7 Reserved<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Shaun Ruffell<br>
Digium, Inc. | Linux Kernel Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>
</div></div></blockquote></div><br></div>