语音版本信令分析指导书文件编号:1.1.1.1(根据在资料架构中的归属编号)版本:1.0中兴通讯移动网规网优部发布移动网规网优部GSM产品技术指导书内部公开▲目录1语音版本介绍 (1)2手机支持语音版本的信令分析 (1)2.1 Setup/Call confirmed简析 (1)2.2 Bearer capability详述 (3)2.2.1 Bearer capability IEI (4)2.2.2 Length 长度指示 (4)2.2.3 Extension bit 扩展比特 (4)2.2.4 Radio channel requirement (octet 3,MS to network) 无线信道要求 (4)2.2.5 Coding standard (octet 3) 编码标准 (5)2.2.6 Transfer mode (octet 3) 传输模式 (5)2.2.7 Information transfer capability (octet 3) 消息传输能力 (5)2.2.8 Speech version indication 语音版本指示 (6)3手机支持语音版本的信令统计 (6)3.1 注意事项 (6)3.2 统计案例 (7)附录A 信令数据 (11)内部公开▲1 语音版本介绍GSM手机一共支持如下几类语音版本:(1)GSM full rate speech version 1(FR)下表为Call confirmed消息内容的前几个字节:Protocol Discriminator编码为0 0 1 1(Call Control)。
二者主要的不同之处在于Transaction identifier(TI)和Message type(MT), 这里不多做解释,通常二者编码如下:注:如果消息由网络侧发起,那么Message Type 的比特7 为0;如果由手机侧发起,则Bit 7保留用于发送序列号。
所以通常Setup的头两个字节编码为03 05/45,而Call Confirmed的头两个字节编码为83 08/48。
协议规范中Repeat Indicator解释如下:The BC repeat indicator information element is included if and only if bearer capability1 information element and bearer capability2 IE are both present in the message.这个主要是用在dual service,没有细究,通常setup或者call confirmed中没有这个字节,紧接着就是Bearer capability。
2.2 Bearer capability详述Bearer capability中与语音版本相关内容的信令编码格式如下:2.2.1 Bearer capability IEIBearer capability的IEI为04。
2.2.2 Length 长度指示该消息单元指示后续bearer capability内容的长度。
2.2.3 Extension bit 扩展比特在每个消息单元的首字节,如果为0,表示后续还有别的消息单元属于Bearercapability,如果为1,表示这是bearer capability的最后一个字节。
2.2.4 Radio channel requirement (octet 3,MS to network) 无线信道要求指示手机对无线信道的要求(是否支持半速率)。
协议规范解释如下:When information transfer capability (octet 3) indicates the value speech and speechversion indication(s) is(are) present in octet 3a etc:Bits 7 60 0 reserved0 1 the mobile station supports at least full rate speech version 1 but does notsupport half rate speech version 1. The complete voice codec preference isspecified in octet(s) 3a etc. 至少支持FR1,但是不支持HR11 0 The mobile station supports at least full rate speech version 1 and half ratespeech version 1. The mobile station has a greater preference for half ratespeech version 1 than for full rate speech version 1. The complete voicecodec preference is specified in octet(s) 3a etc. 支持半速率,半速率优先。
1 1 The mobile station supports at least full rate speech version 1 and half ratespeech version 1. The mobile station has a greater preference for full ratespeech version 1 than for half rate speech version 1. The complete voicecodec preference is specified in octet(s) 3a etc.支持半速率,全速率优先。
2.2.5 Coding standard (octet 3) 编码标准Bit 5:0 GSM standardized coding as described below1 reserved2.2.6 Transfer mode (octet 3) 传输模式Bit 4:0 circuit mode1 packet mode2.2.7 Information transfer capability (octet 3) 消息传输能力Bits 3 2 1:0 0 0 speech0 0 1 unrestricted digital information…… 省略所以字节3的编码主要有如下几类:Bits 8 7 6 5 4 3 2 1至少支持FR1,但是不支持HR1 0/1 0 1 0 0 0 0 0 (A0/20)都支持,全速率优先0 1 1 0 0 0 0 0 (60)都支持,半速率优先0 1 0 0 0 0 0 0 (40)2.2.8 Speech version indication 语音版本指示从字节3a开始,按照优先等级开始描述手机支持的每个语音版本,例如字节3a(语音版本指示的第一个字节)具有最高优先级。
语音版本指示的编码如下:Bits 4 3 2 10 0 0 0 GSM full rate speech version 10 0 1 0 GSM full rate speech version 20 1 0 0 GSM full rate speech version 30 0 0 1 GSM half rate speech version 10 1 0 1 GSM half rate speech version 3综上所述,BearerCapability常见的几种编码如下:(可能不全,只是从信令数据中得到)只支持全速率04 01 A0 只支持FR04 03 20 02 80 支持EFR都支持,全速率优先04 06 60 04 02 00 05 81 支持AMR04 04 60 02 00 81 不支持AMR04 05 20 04 02 00 85 支持AMR全速率和AMR半速率,不支持HR v1都支持,半速率优先04 04 40 02 01 80 不支持AMR 3 手机支持语音版本的信令统计3.1注意事项进行信令统计时,必须注意下面几点:(1)主叫手机对语音版本的支持能力的判断依据是Setup,而被叫手机对语音版本的支持能力的判断依据是Call Confirmed;需要分别统计;(2)对于主叫,不能单纯依靠Setup的信令筛选,因为不管主被叫,信令里都有Setup消息,而被叫Setup消息里提供的信息可能是不准确的;(3)如果只是单纯分析手机是否支持全速率或者半速率,那么只需看RadioChannel Requirement这个字段即可,比如dual rate support mobilestation/full rate preferred或者full rate support only mobile station;(4)如果需要进一步判断对AMR语音版本的支持,可能由于目前使用的MA10版本低,MA10关于这类消息单元的解释有误,例如当手机不支持AMR时,Speech version indication显示GSM full rate speech version3;所以得根据具体的信息编码来判决。
3.2统计案例由于被叫的Call confirmed 比较简单,本章节中以Setup为例来说明如何统计主叫用户支持半速率的比例。
STEP 1:Filter → Message → DTAP CC → SETUP 筛选SETUP消息STEP 2:Filter → Link Selection → Uplink 筛选SETUP消息,过滤掉无用的被叫Setup消息STEP 3:双击任意一条SETUP消息,然后选择File → Export detail 输出为文本文档STEP 4:用UltraEdit打开文本文档,使用UltraEdit的统计功能进行统计。
内部公开▲附录A信令数据。