<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p> </p>
<p>Hi, would be glad to be contributing with this question to all the comunity.</p>
<p>I´m having a weird issue, suddenly I get channels on IDLE 0x00 state until I do a dahdi restart.</p>
<p>Trying to do a call trace to see whats going on deeper, I get surprised when tried to open the .call file to see the log this is incomplete.</p>
<p>This is what I see</p>
<p>[root@localhost telefonica]# nano chan-9-backward-804-20130507123100.call<br />.....</p>
<p>[12:31:01:846] [Thread: 3067460464] [Chan 9] - Getting ANI digit 3<br />[12:31:01:846] [Thread: 3067460464] [Chan 9] - ANI so far: 1152723, expected length: 10<br />[12:31:01:846] [Thread: 3067460464] [Chan 9] - MF Tx >> 5 [ON]<br />[12:31:01:846] [Thread: 3067460464] [Chan 9] - scheduled timer id 13 (mf_back_cycle)<br />[12:31:01:906]</p>
<p>(I deleted the first part just for being more readable, but I didnt deleted the end its just has its end was somehow incomplete.</p>
<p>this is what I get from other call in the same situation.</p>
<p>[12:30:57:242] [Thread: 3067214704] [Chan 12] - MF Rx << 6 [OFF]<br />[12:30:57:242] [Thread: 3067214704] [Chan 12] - MF Tx >> 5 [OFF]<br />[12:30:57:302] [Thread: 3067214704] [Chan 12] - MF Rx << 7 [ON]<br />[12:30:57:302] [Thread: 3067214704] [Chan 12] - Attempting to cancel timer time$<br />[12:30:57:302] [Thread: 3067214704] [Chan 12] - timer id 12 found, cancelling i$<br />[12:30:57:302] [Thread: 3067214704] [Chan 12] - Getting ANI digit 7<br />[12:30:57:302] [Thread: 3067214704] [Chan 12] - ANI so far: 1148567, expected l$<br />[12:30:57:302] [Thread: 3067214704] [Chan 12] - MF T</p>
<p>just like "cutted"</p>
<p>but then I found some complete logs of those same "RX: 0x00 state" calls...</p>
<p>cat chan-30-backward-428-20130514144454.call</p>
<p>......</p>
<p>[14:44:56:300] [Thread: 3067771760] [Chan 30] - Getting ANI digit 1<br />[14:44:56:300] [Thread: 3067771760] [Chan 30] - ANI so far: 1145043471, expected length: 10<br />[14:44:56:300] [Thread: 3067771760] [Chan 30] - Done getting ANI!<br />[14:44:56:300] [Thread: 3067771760] [Chan 30] - Requesting change to Group II with signal 0x33<br />[14:44:56:300] [Thread: 3067771760] [Chan 30] - MF Tx >> 3 [ON]<br />[14:44:56:300] [Thread: 3067771760] [Chan 30] - scheduled timer id 16 (mf_back_cycle)<br />[14:44:56:360] [Thread: 3067771760] [Chan 30] - MF Rx << 1 [OFF]<br />[14:44:56:360] [Thread: 3067771760] [Chan 30] - MF Tx >> 3 [OFF]<br />[14:44:56:420] [Thread: 3067771760] [Chan 30] - MF Rx << 1 [ON]<br />[14:44:56:420] [Thread: 3067771760] [Chan 30] - Attempting to cancel timer timer 16<br />[14:44:56:420] [Thread: 3067771760] [Chan 30] - timer id 16 found, cancelling it now<br />[14:44:56:420] [Thread: 3067771760] [Chan 30] - MF Tx >> 6 [ON]<br />[14:44:56:420] [Thread: 3067771760] [Chan 30] - scheduled timer id 17 (mf_back_cycle)<br />[14:44:56:480] [Thread: 3067771760] [Chan 30] - MF Rx << 1 [OFF]<br />[14:44:56:480] [Thread: 3067771760] [Chan 30] - MF Tx >> 6 [OFF]<br />[14:44:56:480] [Thread: 3067771760] [Chan 30] - Attempting to cancel timer timer 17<br />[14:44:56:480] [Thread: 3067771760] [Chan 30] - timer id 17 found, cancelling it now<br />[14:44:56:480] [Thread: 3067771760] [Chan 30] - scheduled timer id 18 (r2_answer_delay)<br />[14:44:56:640] [Thread: 3067771760] [Chan 30] - Attempting to cancel timer timer 18<br />[14:44:56:640] [Thread: 3067771760] [Chan 30] - timer id 18 found, cancelling it now<br />[14:44:56:640] [Thread: 3067771760] [Chan 30] - calling timer 18 (r2_answer_delay) callback<br />[14:45:12:244] [Thread: 3052403568] [Chan 30] - CAS Tx >> [ANSWER] 0x04<br />[14:45:12:244] [Thread: 3052403568] [Chan 30] - CAS Raw Tx >> 0x05<br />[14:50:53:853] [Thread: 3052403568] [Chan 30] - Attempting to cancel timer timer 0<br />[14:50:53:853] [Thread: 3052403568] [Chan 30] - Cannot cancel timer 0<br />[14:50:53:853] [Thread: 3052403568] [Chan 30] - CAS Tx >> [CLEAR BACK] 0x0C<br />[14:50:53:853] [Thread: 3052403568] [Chan 30] - CAS Raw Tx >> 0x0D</p>
<p>and the same for this other channel..</p>
<p>....</p>
<p>[14:50:22:417] [Thread: 3067771760] [Chan 31] - Attempting to cancel timer timer 18<br />[14:50:22:417] [Thread: 3067771760] [Chan 31] - timer id 18 found, cancelling it now<br />[14:50:22:417] [Thread: 3067771760] [Chan 31] - calling timer 18 (r2_answer_delay) callback<br />[14:50:22:418] [Thread: 3055217520] [Chan 31] - CAS Tx >> [ANSWER] 0x04<br />[14:50:22:418] [Thread: 3055217520] [Chan 31] - CAS Raw Tx >> 0x05<br />[14:50:54:194] [Thread: 3055217520] [Chan 31] - Attempting to cancel timer timer 0<br />[14:50:54:194] [Thread: 3055217520] [Chan 31] - Cannot cancel timer 0<br />[14:50:54:194] [Thread: 3055217520] [Chan 31] - CAS Tx >> [CLEAR BACK] 0x0C<br />[14:50:54:194] [Thread: 3055217520] [Chan 31] - CAS Raw Tx >> 0x0D</p>
<p>Is this call ended normally? Could it be an irq or hardware issue? Its happens only in the first port, which is connected to the teco, but the 2nd port which is connected to a samsung pbx didn´t get problems. Would be glad if anybody put some light on it.</p>
<p>By the way this is my configuration:</p>
<p>Asterisk 10.5.0 (but also tried in 1.8 and 1.6 with the same results)</p>
<p>HP ML110 G7 server</p>
<p>lspci -v</p>
<p>..</p>
<p>0e:08.0 Communication controller: Digium, Inc. Wildcard TE210P/TE212P dual-span T1/E1/J1 card 3.3V (rev 02)<br /> Subsystem: Device 0003:0000<br /> Flags: bus master, medium devsel, latency 64, IRQ 11<br /> Memory at fbff0000 (32-bit, non-prefetchable) [size=128]<br /> Kernel driver in use: wct4xxp<br /> Kernel modules: wct4xxp</p>
<p>..</p>
<p>cat /etc/dahdi/system.conf<br /><br />span=1,1,0,cas,hdb3<br />cas=1-15,17-31:1101</p>
<p>span=2,0,0,cas,hdb3<br />cas=32-46,48-62:1101<br />echocanceller=mg2,32-46,48-62</p>
<p>loadzone = ve<br />defaultzone = ve</p>
<p>nano /etc/asterisk/chan_dahdi.conf</p>
<p>resetinterval=never<br />context=from-pstn<br />group=0<br />;mfcr2_forced_release=yes<br />mfcr2_logdir=telefonica<br />mfcr2_logging=all<br />mfcr2_call_files=yes<br />echocancel=yes<br />language=es<br />signalling=mfcr2<br />mfcr2_variant=itu<br />mfcr2_get_ani_first=no<br />mfcr2_max_ani=10 <br />mfcr2_max_dnis=4<br />mfcr2_category=national_subscriber<br />;mfcr2_mfback_timeout=-1<br />mfcr2_metering_pulse_timeout=500<br />mfcr2_mfback_timeout=8000<br />;mfcr2_metering_pulse_timeout=-1<br />loglevel=error,debug,mf<br />mfcr2_logging=cas<br />channel =>1-15,17-31 </p>
<p>resetinterval=never<br />context=from-pstn<br />group=1<br />;mfcr2_forced_release=yes<br />echocancel=yes<br />signalling=mfcr2<br />language=es<br />mfcr2_variant=itu<br />;mfcr2_get_ani_first=no<br />mfcr2_logdir=samsung<br />mfcr2_logging=all<br />mfcr2_call_files=yes</p>
<p>mfcr2_max_ani=20<br />mfcr2_max_dnis=20<br />mfcr2_category=national_subscriber<br />mfcr2_logging=cas<br />mfcr2_mfback_timeout=-1<br />mfcr2_metering_pulse_timeout=500<br />loglevel=error,debug,mf<br />context=from-internal<br />channel =>32-46,48-62 ;</p>
<p>Any suggestions?</p>
<p>Thanks in advance.</p>
<div>-- <br />
<p><span style="font-family: arial, helvetica, sans-serif; font-size: small;"><strong>Leonardo Rivanera</strong></span></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div>
</body></html>