终端发起PDP激活被网络拒绝后,通常会进行PDP retry,如果一直进行retry并且都失败,会导致终端不能待机、功耗高、网络资源被占用、不能接收网络Paging等情况。
终端可以根据PDP reject错误码来设计retry方案。
终端在data services层启动定时器,定时器的配置规则可以自行设定,例如下面不断递增的方式
FAILURE_TIMER_1:60
FAILURE_TIMER_2:120
FAILURE_TIMER_3:180
FAILURE_TIMER_4:240
FAILURE_TIMER_5:300
FAILURE_TIMER_6:360
定时器运行过程中,AP层有相同的APN请求建立data call都会在data service层被reject,不发给网络。
定时器结束,重新发起PDP激活请求。
终端收到网络返回的以下错误码,都可以使用这种重试机制
#26(insufficient resources when T3396 IE is absent or T3396 is set to 0)
#30(activation rejected by Serving GW or PDN GW)
#31(activation rejected, unspecified)
#34(service option temporarily out of order)
#35(PTI already in use)
#38(network failure)
#95(semantically incorrect message)
#96(invalid mandatory information)
#97(message type nonexistent or not implemented)