Q.931协议分析培训教材
8 0 ext. 0/1 0 7 6 5 4 3 2 1 Calling party number information element identifier 1 1 0 1 1 0 0 Length of calling party number contents Type of number Numbering plan identification Number digits (IA5 characters) Octet
1 2 3 4
(1) 号码类型(Type of number):Octet3
7 6 5 0 0 0 Unknown 0 0 1 International number 0 1 0 National number 0 1 1 Network specific number 1 0 0 Subscriber number 1 1 0 Abbreviated number 1 1 1 Reserved for extension All other values are reserved. 在无线市话系统中采用号码类型“未知”,在这种情况下,号码数字字段按照网络拨号方案进行编排,例如可能出现字冠或换码数字。
(2) 编号方案标识(Numbering plan identification):Octet3
4 3 2 1 0 0 0 0 Unknown (Note 6) 0 0 0 1 ISDN/telephony numbering plan (Recommendation E.164 [19]) 0 0 1 1 Data numbering plan (Recommendation X.121 [21]) 0 1 0 0 Telex numbering plan (Recommendation F.69 [22]) 1 0 0 0 National standard numbering plan 1 0 0 1 Private numbering plan 1 1 1 1 Reserved for extension All other values are reserved. 在无线市话系统中采用编号方案“未知”,在这种情况下,号码数字字段按照网络拨号方案进行编排。
(3) 号码数字(Number digits):Octet4等
2.2.4.7 被叫号码(Called party number)
被叫号码信息单元的用途是识别一个呼叫的被叫用户。
项目管理和技术支持部 37
Q.931协议分析培训教材
8 0 ext. 1 0 7 6 5 4 3 2 1 Called party number information element identifier 1 1 1 0 0 0 0 Length of called party number contents Type of number Numbering plan identification Number digits (IA5 characters) (Note) Octet
1 2 3 4 etc.
NOTE – The number digits appear in multiple octet 4s in the same order in which they would be entered, that is, the number digit which would be entered first is located in the first octet 4.
(1) 号码类型(Type of number):Octet3
7 6 5 0 0 0 Unknown (Note 2) 0 0 1 International number (Note 3) 0 1 0 National number (Note 3) 0 1 1 Network specific number (Note 4) 1 0 0 Subscriber number (Note 3) 1 1 0 Abbreviated number (Note 5) 1 1 1 Reserved for extension All other values are reserved. (2) 编号方案标识(Numbering plan identification):Octet3
4 3 2 1 0 0 0 0 Unknown (Note 6) 0 0 0 1 ISDN/telephony numbering plan (Recommendation E.164 [19]) 0 0 1 1 Data numbering plan (Recommendation X.121 [21]) 0 1 0 0 Telex numbering plan (Recommendation F.69 [22]) 1 0 0 0 National standard numbering plan 1 0 0 1 Private numbering plan 1 1 1 1 Reserved for extension All other values are reserved. (3) 号码数字(Number digits):Octet4等
2.2.4.8 原因(Cause)
原因信息单元的用途是说明产生某些消息的原因,在流程差错事件中提供诊断信息,指明原因产生的位置。
项目管理和技术支持部 38
Q.931协议分析培训教材
8 0 ext. 0/1 ext. 1 ext. 1 6 5 4 3 2 Cause information element identifier 0 0 0 1 0 0 Length of cause contents Coding standard Spare Location 0 Recommendation Cause value Diagnostic(s)(if any) 7 1 0 Octet 1 2 3 3.1 4 5
(1) 编码标准(Coding standard):Octet3
7 6 0 0 0 1 1 0 1 1 ITU-T standardized coding ISO/IEC Standard National standard Standard specific to identified location 无线市话系统采用的是ITU-T标准编码。 (2) 位置(Location):Octet3
4 3 2 1 0 0 0 0 User(U) 0 0 0 1 Private network serving the local user (LPN) 0 0 1 0 Public network serving the local user (LN) 0 0 1 1 Transit network (TN) 0 1 0 0 Public network serving the remote user (RLN) 0 1 0 1 Private network serving the remote user (RPN) 0 1 1 1 International network (INTL) 1 0 1 0 Network beyond interworking point (BI) All other values are reserved.
(3) 建议(Recommendation):Octet3.1
7 6 5 4 3 2 1 0 0 0 0 0 0 0 Q.931 0 0 0 0 0 1 1 X.21 0 0 0 0 1 0 0 X.25 0 0 0 0 1 0 1 Public land mobile networks, Q.1031/Q.1051 All other values are reserved. 该字段是任选项,如果该八比特字段被省略,则默认为建议Q.931。 (4) 原因值(Cause value):Octet4
原因值被分为两个字段,第5~7比特为类别,第1~4比特为类别中的值。 类别(000):正常事件;
项目管理和技术支持部 39
Q.931协议分析培训教材
类别(001):正常事件; 类别(010):无可用资源;
类别(011):无适用的业务或选项; 类别(100):业务或选项未实施; 类别(101):无效的消息; 类别(110):协议差错; 类别(111):互通。
原因值详见附录6.1,其中的Cause ID为十进制的数值。 (5) 诊断(Diagnostic):Octet5
每个原因值对应的诊断信息详见建议Q.850。诊断字段是可选项,不是每个原因都有可用的诊断信息。
2.2.4.9 进展指示(Progress indicator)
进展指示信息单元的用途是描述呼叫进展阶段所发生的事件。
8 0 ext. 1 ext. 1 7 0 6 5 4 3 2 Progress indicator information element identifier 0 1 1 1 1 Length of progress indicator contents Coding Spare Location standard 0 Progress description 1 0 Octet 1 2 3 4
(1) 编码标准(Coding standard):Octet3
7 6 0 0 0 1 1 0 1 1 ITU-T standardized coding ISO/IEC Standard National standard Standard specific to identified location (2) 位置(Location):Octet3
4 3 2 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 User(U) Private network serving the local user (LPN) Public network serving the local user (LN) Transit network (TN) Public network serving the remote user (RLN) 项目管理和技术支持部 40
Q.931协议分析培训教材
0 1 0 1 Private network serving the remote user (RPN) 1 0 1 0 Network beyond interworking point (BI) All other values are reserved.
(3) 进展描述(Progress description):Octet4
Call is not end-to-end ISDN; further call progress information may be available in-band 0 0 0 0 0 1 0 2 Destination address is non-ISDN 0 0 0 0 0 1 1 3 Origination address is non-ISDN 0 0 0 0 1 0 0 4 Call has returned to the ISDN 0 0 0 0 1 0 1 5 Interworking has occurred and has resulted in a telecommunication service change 0 0 0 1 0 0 0 8 In-band information or an appropriate pattern is now available All other values are reserved. 若收到的SETUP消息内的承载能力信息单元标识为“语音”、“3.1kHZ音频”或“带有信号音/录音通知的不受限的数字信息”,则网络在发送ALERT消息的同时应向主叫用户提供回铃音,而且ALERT消息内带有进展描述No.8“带内信息或适当的花样目前可用”。
7 6 5 4 3 2 1 0 0 0 0 0 0 1 No. 1 2.3 小结
Q.931协议规定了通过用户-网络接口传递的、用于电路方式连接控制的消息,规定了每个消息的结构,定义了每个消息在呼叫控制过程中的功能。
在Q.931协议中,每个消息由以下几部分组成:协议鉴别语、呼叫参考、消息类型、其他信息单元。其中前三个信息单元是每个消息所必需的,而其他信息单元对每个消息来说是特定的。
项目管理和技术支持部 41