你好!
我们现在遇到了同样的问题,用移动的手机拔打的话经常会出现"请检查网络服务"。
之前用的电信的线路没有问题,后来换成网通就出现这样的问题。
想请教您是怎么解决的?
我从LOG里找出了pri的LOG,正常和不正常的情况做了下对比:
正常的情况:
< Protocol Discriminator: Q.931 (
len=48
< Call Ref: len= 2 (reference 1242/0x4DA) (Originator)
< Message type: SETUP (5)
< [a1]*CLI>
< Sending Complete (len= 1)
< [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)
< User information layer 1: A-Law (35)
< [18 03 a1 83 82]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Preferred Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 2 ]
< [6c 0d 21 81 31 35 39 31 31 30 39 36 38 37 32]
< Calling Number (len=15) [ 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) '15912345678' ]
< [70 0b a1 31 30 38 35 36 35 38 30 30 30]
< Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1085123456' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Making new call for cr 1242
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
q931.c:3509 q931_receive: call 1242 on channel 2 enters state 6 (Call Present)
Sending Receiver Ready (69)
duobao*CLI>
> [ 02 01 01 8a ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 069 P/F: 0
> 0 bytes of data
错误情况:
< Protocol Discriminator: Q.931 (
len=54
< Call Ref: len= 2 (reference 1185/0x4A1) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [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)
< User information layer 1: A-Law (35)
< [04 04 80 98 90 a3]
< Bearer Capability (len= 6) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
< Ext: 1 Trans mode/rate: (Nx64kbps) (24)
< Ext: 1 Transfer rate multiplier: 16 x 64
< User information layer 1: A-Law (35)
< [18 03 a1 83 98]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Preferred Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 24 ]
< [6c 0d 21 81 31 35 39 31 31 30 39 36 38 37 32]
< Calling Number (len=15) [ 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) '15912345678' ]
< [70 0b a1 31 30 38 35 36 35 38 30 30 30]
< Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1085123456' ]
< [7d 02 91 81]
< IE: High-layer Compatibility (len = 4)
-- Making new call for cr 1185
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
-- Processing IE 125 (cs0, High-layer Compatibility)
q931.c:3509 q931_receive: call 1185 on channel 24 enters state 6 (Call Present)
q931.c:3104 q931_release_complete: call 1185 on channel 24 enters state 0 (Null)
duobao*CLI>
> [ 00 01 80 6c 08 02 84 a1 5a 08 02 81 c1 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 064 0: 0
> N(R): 054 P: 0
> 9 bytes of data