codec支持情况,分为2/3G 和ims.
先来说GSM/UMTS
支持情况(参考协议26103 6.2):
查看log支持情况(参考协议24008 5.2.1.11)
5.2.1.11 Speech Codec Selection
For speech calls, a mobile station implementing this version of the protocol shall indicate all codecs that it supports for UTRAN in the Supported Codec List information element. Codecs for GERAN shall be indicated in the Bearer Capability information element, if this information element is included.
首先需要明白如何查看UE当前的codec配置, 本文Log为M*和Q*平台相关log.
2G网络下查看Codec支持情况:
3G 网络下查看codec 支持情况
M*平台:
Q*平台:
Q*平台已经在SETUP消息中,supp_codecs中,支持情况可以根据协议来确认bit位所代码的编码方式,也可以直接使用3gpp工具解析,解析出来和M*平台类似。
supp_codecs
num_codecs = 2 (0x2)
codecs[0]
sysid = 4 (0x4) //UMTS
length = 2 (0x2)
bitmap[0] = 96 (0x60) //1100000 support UMTS AMR; UMTS AMR2
bitmap[1] = 0 (0x0) //000, not support UTMS AMR WB
codecs[1]
sysid = 0 (0x0) //GSM
length = 2 (0x2)
bitmap[0] = 31 (0x1f)
bitmap[1] = 2 (0x2)
protocol 26103 : as follow:
6.2 Codec Bitmap
The Codec Types are coded in the first and second octet of the Codec List Bitmap as follows:
8 |
7 |