Subscription-Id AVP携带了用户的身份信息。在Gx接口中,该AVP通常携带的是用户的MSISDN号码即手机号。在RFC4006中关于该AVP的原文定义如下:
“The Subscription-Id AVP (AVP Code 443) is used to identify the end user's subscription and is of type Grouped. The Subscription-Id AVP includes a Subscription-Id-Data AVP that holds the identifier and a Subscription-Id-Type AVP that defines the identifier type.
It is defined as follows (per the grouped-avp-def of RFC 3588 [DIAMBASE]):
Subscription-Id ::= < AVP Header: 443 >
{ Subscription-Id-Type }
{ Subscription-Id-Data }”
该AVP由两部分组成,Subscription-Id-Type以及Subscription-Id-Data。Type里面指明了用户身份信息的类型,如果取值为END_USER_E164时,则后续Subscription-Id-Data部分携带的是用户的手机号码。
参见一个实际报文的该AVP截图。
[attach]1362[/attach]
欢迎光临 51学通信技术论坛 (http://51xuetongxin.com/bbs/) | Powered by Discuz! X2 |