首先非常感谢支持哈~~
对于cause code是这样的,3GPP规范中对错误代码的定义在24008中介绍,实际上定义的非常宽松,并没有列举出所有的应用场景,这主要原因一是没有办法穷尽,二也是可以为厂家的产品实现留下更多的空间。因此在书籍的整理过程中,为了尽量减少争议,介绍cause code时,都只是介绍和整理了一些已经在现网或试验网络设备中出现过的案例(以抓包形式),所以争议会少一些,毕竟是产品上抓出来的包以及实际案例。
你提到的协议错误实际上就是CC111-protocol error。可以参考论坛故障排查版块的两个介绍CC111的案例,http://www.gprshome.com/thread-400-1-1.html还有http://www.gprshome.com/portal.php?mod=view&aid=130。具体原因比如“当MS进行attach时,SGSN对MS进行鉴权加密,由于SGSN没有及时接收到MS的响应消息,在重发达到最大次数5次后,仍未收到响应消息,则统计为attach失败,失败原因为“协议错”。”这只是看到的两个案例,可能还有更多的CC111案例等待大家一起来发现。
另外Qos不接受去激活是CC37,这个CC不常见,但我在实验室中碰到过。供参考。当时的场景是,用一部索爱手机来访问实验室中的视频服务器中的视频,然后手机分别发起了primary和secondary pdp上下文的激活,均成功。但接下来的抓包发现,视频服务器(RSTP)和手机会协商建立RSTP的连接,发现大量TCP重传报文。然后手机主动发出了deactivate pdp context request消息请求去激活secondary pdp上下文(CC值就是37)。
请参见下面的SM Cause vlue:
0 0 0 0 1 0 0 0 Operator Determined Barring
0 0 0 1 1 0 0 0 MBMS bearer capabilities insufficient for the service
0 0 0 1 1 0 0 1 LLC or SNDCP failure(A/Gb mode only)
0 0 0 1 1 0 1 0 Insufficient resources
0 0 0 1 1 0 1 1 Missing or unknown APN
0 0 0 1 1 1 0 0 Unknown PDP address or PDP type
0 0 0 1 1 1 0 1 User authentication failed
0 0 0 1 1 1 1 0 Activation rejected by GGSN
0 0 0 1 1 1 1 1 Activation rejected, unspecified
0 0 1 0 0 0 0 0 Service option not supported
0 0 1 0 0 0 0 1 Requested service option not subscribed
0 0 1 0 0 0 1 0 Service option temporarily out of order
0 0 1 0 0 0 1 1 NSAPI already used (not sent)
0 0 1 0 0 1 0 0 Regular deactivation
0 0 1 0 0 1 0 1 QoS not accepted
0 0 1 0 0 1 1 0 Network failure
0 0 1 0 0 1 1 1 Reactivation required
0 0 1 0 1 0 0 0 Feature not supported
0 0 1 0 1 0 0 1 Semantic error in the TFT operation
0 0 1 0 1 0 1 0 Syntactical error in the TFT operation
0 0 1 0 1 0 1 1 Unknown PDP context
0 0 1 0 1 1 0 0 Semantic errors in packet filter(s)
0 0 1 0 1 1 0 1 Syntactical errors in packet filter(s)
0 0 1 0 1 1 1 0 PDP context without TFT already activated
0 0 1 0 1 1 1 1 Multicast group membership time-out
0 0 1 1 0 0 0 0 Activation rejected, BCM violation
0 1 0 1 0 0 0 1 Invalid transaction identifier value
0 1 0 1 1 1 1 1 Semantically incorrect message
0 1 1 0 0 0 0 0 Invalid mandatory information
0 1 1 0 0 0 0 1 Message type non-existent or not implemented
0 1 1 0 0 0 1 0 Message type not compatible with the protocol state
0 1 1 0 0 0 1 1 Information element non-existent or not implemented
0 1 1 0 0 1 0 0 Conditional IE error
0 1 1 0 0 1 0 1 Message not compatible with the protocol state
0 1 1 0 1 1 1 1 Protocol error, unspecified
0 1 1 1 0 0 0 0 APN restriction value incompatible with active PDP context
按3GPP规范说的,上述代码外的错误都将被规纳到协议错误中。具体是那种,建议还是抓包分析一下!
原话如下:
Any other value received by the mobile station shall be treated as 0010 0010, "Service option temporarily out of order”. Any other value received by the network shall be treated as 0110 1111, "Protocol error, unspecified".
hycl5410 发表于 2013-3-31 02:43
PDP激活失败(activate pdp reject)和用户发起去激活(deactivate pdp request)可是完全两个概念。
楼主不 ...
蓉城喜鹊 发表于 2013-4-2 12:58
请参见下面的SM Cause vlue: 0 0 0 0 1 0 0 0 Operator Determined Barring0 0 0 1 1 0 0 0 MBMS bear ...
欢迎光临 51学通信技术论坛 (http://51xuetongxin.com/bbs/) | Powered by Discuz! X2 |