keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D-110P 1 Span E1/T1/J1 Interface Card

what is "Protocol Error (6)" - ?

16 years 3 months ago #651 by nedc
Hi! I have card D110P and TrixBox OpenVox Edition 2.2.4 RC2
physical link with telecom is OK

pri show span 1

Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3

zapata.conf

[channels]
context=zap-in
switchtype=euroisdn
pridialplan=national
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocancel=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
callprogress=no
callerid=asreceived
context=zap-in
group=1
signalling=pri_cpe
channel => 1-15,17-31


extensions.conf

[zap-in]
exten => s,1,Dial(SIP/user1)
exten => s,n,Hangup()

[from-sip]
exten => _9X.,1,Dial(ZAP/1/${EXTEN:1})
exten => _9X.,n,Hangup()


When i dial from sip phone to any city number i didn't have call

pri debug span 1
Enabled debugging on span 1
-- Making new call for cr 32774
> Protocol Discriminator: Q.931 ( len=43
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> Ext: 1 User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
> [28 07 75 6e 6b 6e 6f 77 6e]
> Display (len= 7) [ unknown ]
> [6c 07 21 81 75 73 65 72 31]
> Calling Number (len= 9) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Presentation permitted, user number passed network screening (1) 'user1' ]
> [70 07 a1 35 39 30 30 30 31]
> Called Number (len= 9) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '590001' ]
> [a1]
> Sending Complete (len= 1)
< Protocol Discriminator: Q.931 ( len=14
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
< [1e 02 81 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. ( ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
< Protocol Discriminator: Q.931 ( len=9
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 81 e6]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
< Ext: 1 Cause: Recover on timer expiry (102), class = Protocol Error (6) ]
-- Processing IE 8 (cs0, Cause)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
> Protocol Discriminator: Q.931 ( len=9
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: RELEASE (77)
> [08 02 81 e6]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Recover on timer expiry (102), class = Protocol Error (6) ]
< Protocol Discriminator: Q.931 ( len=5
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null


What is error "class = Protocol Error (6)" ?
16 years 3 months ago #652 by james.zhu
hello, nedc:
I think you have to make sure that the outbound cal route is right. for example, if you dial 02-222222, or 03-1111111, the outbound route should be matched 902XXXXXX. have you try to call local number? if it can be reached. the other cities call should be no problem. you also can check the callerid, which is DID in the service provided by telcom. check this :http://lists.digium.com/pipermail/asterisk-users/2006-March/144639.html
Regards,
James.zhu

16 years 3 months ago #653 by miaolin
I think you should take care this message:
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)

Seems that the network or number attribute is not correct. try to add following config under [channels]

pridialplan=private
;unknown: Unknown
;private: Private ISDN
;local: Local ISDN
;national: National ISDN
;international: International ISDN

prilocaldialplan=private
overlapdial=yes

please see www.openvox.com.cn/bbs/viewtopic.php?t=46 for detail
Time to create page: 0.035 seconds
Powered by Kunena Forum