陈杨文
2018-Jul-02 02:50 UTC
[asterisk-users] pri_check_event returned error 22 (Invalid argument)
Why I keep get error pri_check_event returned error 22 (Invalid argument), after pri debug 15 span 1 PRI Span: 1 < TEI: 0 State 7(Multi-frame established) PRI Span: 1 < V(A)=0, V(S)=0, V(R)=0 PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=0, N200=3, T203_id=8192 PRI Span: 1 < [ 02 01 01 01 ] PRI Span: 1 < Supervisory frame: PRI Span: 1 < SAPI: 00 C/R: 1 EA: 0 PRI Span: 1 < TEI: 000 EA: 1 PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] PRI Span: 1 < N(R): 000 P/F: 1 PRI Span: 1 < 0 bytes of data PRI Span: 1 PRI Span: 1 > TEI: 0 State 7(Multi-frame established) PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0 PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 > T200_id=0, N200=3, T203_id=8192 PRI Span: 1 > [ 02 01 01 01 ] PRI Span: 1 > Supervisory frame: PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0 PRI Span: 1 > TEI: 000 EA: 1 PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] PRI Span: 1 > N(R): 000 P/F: 1 PRI Span: 1 > 0 bytes of data PRI Span: 1 -- Got ACK for N(S)=0 to (but not including) N(S)=0 PRI Span: 1 -- T200 requested to stop when not started PRI Span: 1 T203 requested to start without stopping first PRI Span: 1 -- Starting T203 timer PRI Span: 1 Done handling message for SAPI/TEI=0/0 pri_check_event returned error 22 (Invalid argument) PRI Span: 1 PRI Span: 1 < TEI: 0 State 8(Timer recovery) PRI Span: 1 < V(A)=0, V(S)=0, V(R)=0 PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=8192, N200=3, T203_id=0 PRI Span: 1 < [ 00 01 01 01 ] PRI Span: 1 < Supervisory frame: PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0 PRI Span: 1 < TEI: 000 EA: 1 PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] PRI Span: 1 < N(R): 000 P/F: 1 PRI Span: 1 < 0 bytes of data PRI Span: 1 -- Got ACK for N(S)=0 to (but not including) N(S)=0 PRI Span: 1 -- Stopping T200 timer PRI Span: 1 -- Starting T203 timer PRI Span: 1 Done handling message for SAPI/TEI=0/0 pri_check_event returned error 22 (Invalid argument) PRI Span: 1 PRI Span: 1 < TEI: 0 State 7(Multi-frame established) PRI Span: 1 < V(A)=0, V(S)=0, V(R)=0 PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=0, N200=3, T203_id=8192 PRI Span: 1 < [ 02 01 01 01 ] PRI Span: 1 < Supervisory frame: PRI Span: 1 < SAPI: 00 C/R: 1 EA: 0 PRI Span: 1 < TEI: 000 EA: 1 PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] PRI Span: 1 < N(R): 000 P/F: 1 PRI Span: 1 < 0 bytes of data PRI Span: 1 PRI Span: 1 > TEI: 0 State 7(Multi-frame established) PRI Span: 1 > V(A)=0, V(S)=0, V(R)=0 PRI Span: 1 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 > T200_id=0, N200=3, T203_id=8192 PRI Span: 1 > [ 02 01 01 01 ] PRI Span: 1 > Supervisory frame: PRI Span: 1 > SAPI: 00 C/R: 1 EA: 0 PRI Span: 1 > TEI: 000 EA: 1 PRI Span: 1 > Zero: 0 S: 0 01: 1 [ RR (receive ready) ] PRI Span: 1 > N(R): 000 P/F: 1 PRI Span: 1 > 0 bytes of data PRI Span: 1 -- Got ACK for N(S)=0 to (but not including) N(S)=0 PRI Span: 1 -- T200 requested to stop when not started PRI Span: 1 T203 requested to start without stopping first PRI Span: 1 -- Starting T203 timer PRI Span: 1 Done handling message for SAPI/TEI=0/0 pri_check_event returned error 22 (Invalid argument) PRI Span: 1 PRI Span: 1 < TEI: 0 State 8(Timer recovery) PRI Span: 1 < V(A)=0, V(S)=0, V(R)=0 PRI Span: 1 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0 PRI Span: 1 < T200_id=8192, N200=3, T203_id=0 PRI Span: 1 < [ 00 01 01 01 ] PRI Span: 1 < Supervisory frame: PRI Span: 1 < SAPI: 00 C/R: 0 EA: 0 PRI Span: 1 < TEI: 000 EA: 1 PRI Span: 1 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ] PRI Span: 1 < N(R): 000 P/F: 1 PRI Span: 1 < 0 bytes of data PRI Span: 1 -- Got ACK for N(S)=0 to (but not including) N(S)=0 PRI Span: 1 -- Stopping T200 timer PRI Span: 1 -- Starting T203 timer PRI Span: 1 Done handling message for SAPI/TEI=0/0 pri_check_event returned error 22 (Invalid argument) What's wrong ? $ asterisk -rx 'core show version' Asterisk 15.3.0 built by buildozer @ build-3-8-x86_64 on a x86_64 running Linux on 2018-05-16 08:11:26 UTC $ asterisk -rx 'pri show version' libpri version: 1.6.0 $ dahdi_hardware pci:0000:02:00.0 wct4xxp+ d161:1220 Wildcard TE220 (5th Gen) $ dahdi_scan [1] active=yes alarms=OK description=T2XXP (PCI) Card 0 Span 1 name=TE2/0/1 manufacturer=Digium devicetype=Wildcard TE220 (5th Gen) location=Board ID Switch 0 basechan=1 totchans=31 irq=0 type=digital-E1 syncsrc=1 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=AMI,HDB3 framing_opts=CCS,CRC4 coding=HDB3 framing=CCS [2] active=yes alarms=RED/LFA description=T2XXP (PCI) Card 0 Span 2 name=TE2/0/2 manufacturer=Digium devicetype=Wildcard TE220 (5th Gen) location=Board ID Switch 0 basechan=32 totchans=31 irq=0 type=digital-E1 syncsrc=1 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=AMI,HDB3 framing_opts=CCS,CRC4 coding=HDB3 framing=CCS Host is alpinelinux 3.8. The card vendor is openvox -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20180702/7c472d6a/attachment.html>