2G / 3G 系统 手册专题 1,911 字

紧急号码列表

紧急号码列表Emergency Number List是一种机制,网络通过它告知 UE 本地区使用的紧急呼叫号码列表。这些号码在注册过程中通过如下所述的 Attach Accept 消息通知给 UE。参见 24.301 5.3.7 本地紧急…

采集:2026-11-18T02:21:27+08:00 · 查看英文原文 ↗

原始来源:https://www.sharetechnote.com/html/Handbook_UMTS_EmergencyNumberList.html

正文

紧急号码列表(Emergency Number List)是一种机制,网络通过它告知 UE 本地区使用的紧急呼叫号码列表。这些号码在注册过程中通过如下所述的 Attach Accept 消息通知给 UE。(参见 24.301 5.3.7 本地紧急号码列表的处理)

UE 已经从 USIM 以及 ME 自身知道一些紧急号码,但每个国家还有 UE 无法预先知道的本地号码。紧急号码列表填补了这一空白。网络发送本地号码,UE 将拨号匹配到的号码视为紧急呼叫。上述参考是 24.301 中的 LTE 流程。对于 UMTS 和 GSM,相同规则见 24.008 第 4.4.4.6、4.7.3.1.3 和 4.7.5.1.3 节,该 IE 本身定义在第 10.5.3.13 节。

本节沿用测试网络中的一个例子。该列表被加入 Attach Accept,逐字段解码,然后用所配置号码之一发起紧急呼叫进行测试。

  • 该列表在注册信令流程中通过哪条消息传送?
  • 25 - RRC : downlinkDirectTransfer + GMM:Attach Accept
  • 紧急号码列表 IE 是如何编码的?
  • 测试 UE
  • 参考文献 该列表应由哪条消息携带?UE 必须在用户拨号前收到它,因此列表通过注册消息发送。下面的信令序列是一次完整的 UMTS 开机注册,包含 CS 位置更新和 PS 附着。
  1. MIB

  2. SIB

  3. RACH Preamble

  4. AICH

  5. RACH Message

  6. RRC: RRC Connection Request

  7. RRC: RRC Connection Setup

  8. RRC: RRC Connection Setup Complete

  9. RRC: initialDirectTransfer + MM: Location Updating Request

  10. RRC : downlinkDirectTransfer + MM:Authentication Request

  11. RRC: initialDirectTransfer + GMM: Attach Request

  12. RRC : uplinkDirectTransfer + MM:Authentication Response

  13. RRC : Security Mode Command

  14. RRC : Security Mode Complete

  15. RRC : downlinkDirectTransfer + MM:Identity Request

  16. RRC : uplinkDirectTransfer + MM:Identity Response

  17. RRC : downlinkDirectTransfer + MM:Location Updating Accept

  18. RRC : uplinkDirectTransfer + MM:TMSI Reallocation Complete

  19. RRC : downlinkDirectTransfer + GMM: AuthenticationAndCipheringRequest

  20. RRC : uplinkDirectTransfer + GMM: AuthenticationAndCipheringResponse

  21. RRC : Security Mode Command

  22. RRC : Security Mode Complete

  23. RRC : downlinkDirectTransfer + GMM:Identity Request

  24. RRC : uplinkDirectTransfer + GMM:Identity Response

  25. RRC : downlinkDirectTransfer + GMM:Attach Accept

  26. RRC : uplinkDirectTransfer + GMM:Attach Complete

  27. RRC : RRC Connection Release

  28. RRC : RRC Connection Release Complete

  29. < 使用你在此定义的号码发起紧急呼叫以测试 UE >

CS 域在第 9 至 18 步完成注册,PS 附着与其并行,从第 11 步运行到第 26 步。本例中网络只在第 25 步的 GMM Attach Accept 中放入该列表。24.008 允许通过三条消息携带它:CS 域的 LOCATION UPDATING ACCEPT,以及 PS 域的 ATTACH ACCEPT 或 ROUTING AREA UPDATE ACCEPT。因此网络同样可以在第 17 步的 Location Updating Accept 中发送该列表。

UE 每次收到该 IE 都会替换其存储的列表。如果后续的接受消息未携带列表,UE 会保留已存储的那份。例外是成功注册到不同国家的 PLMN。这些号码仅在发送它们的小区所在国家有效,因此跨越国境的 UE 不能继续使用它们。

  • 列表通过注册接受消息发送:LOCATION UPDATING ACCEPT、ATTACH ACCEPT 或 ROUTING AREA UPDATE ACCEPT。
  • 本例使用第 25 步:PS 域的 GMM Attach Accept。
  • 新列表会替换旧列表:若未携带列表则保留已存储的那份,除非 UE 在另一个国家注册。 看看该 IE 在真实 Attach Accept 中的位置。下面的抓包是承载该 GMM 消息的 downlinkDirectTransfer,已解码到 NAS 字段。列表中的两个条目被高亮显示,每个条目一种颜色。

从测试仪日志捕获并解码的 RRC 与 NAS 消息。字段值来自实际抓包,而非规范。

DL-DCCH-Message integrityCheckInfo messageAuthenticationCode: ee131c77 rrc-MessageSequenceNumber: 5 message: downlinkDirectTransfer (5) downlinkDirectTransfer: r3 (0) r3 downlinkDirectTransfer-r3 rrc-TransactionIdentifier: 0 cn-DomainIdentity: ps-domain (1) nas-Message: 080209e00100f1100000801805f4000000803408030111f0... GSM A-I/F DTAP - Attach Accept Protocol Discriminator: GPRS mobility management messages .... 1000 = Protocol discriminator: GPRS mobility management messages (0x08) 0000 .... = Skip Indicator: 0 DTAP GPRS Mobility Management Message Type: Attach Accept (0x02) Force to Standby 0... .... = Spare bit(s): 0 .000 .... = Force to standby: Force to standby not indicated (0) Attach Result .... 1... = Follow-on proceed: True .... .001 = Result of attach: GPRS only attached (1) GPRS Timer GPRS Timer: timer is deactivated 111. .... = Unit: value indicates that the timer is deactivated (7) ...0 0000 = Timer value: 0 Radio Priority 2 - Radio priority for TOM8 Radio Priority (TOM8): priority level 4 (lowest) (0) Radio Priority - Radio priority for SMS Radio Priority (PDP or SMS): priority level 1 (highest) (1) Routing Area Identification - RAI: 1-1-0-128 Routing area identification: 1-1-0-128 Mobile Country Code (MCC): Unknown (1) Mobile Network Code (MNC): Unknown (01) Location Area Code (LAC): 0x0000 (0) Routing Area Code (RAC): 0x80 (128) Mobile Identity - Allocated P-TMSI - TMSI/P-TMSI (0x0080) Element ID: 0x18 Length: 5 1111 .... = Unused .... 0... = Odd/even indication: Even number of identity digits .... .100 = Mobile Identity Type: TMSI/P-TMSI (4) TMSI/P-TMSI: 0x00000080 Emergency Number List // 我在这里添加了两个紧急号码列表条目 Element ID: 0x34 Length: 8 Emergency Number Information 1 Emergency Number Info length: 3 000. .... = Spare bit(s): 0 ...0 .... = Mountain Rescue: False .... 0... = Marine Guard: False .... .0.. = Fire Brigade: False .... ..0. = Ambulance: False .... ...1 = Police: True BCD Digits: 110 Emergency Number Information 2 Emergency Number Info length: 3 000. .... = Spare bit(s): 0 ...0 .... = Mountain Rescue: False .... 0... = Marine Guard: False .... .0.. = Fire Brigade: False .... ..1. = Ambulance: True .... ...0 = Police: False BCD Digits: 9999 // I used the number not commonly used for testing purpose. Full DCCH Hex : F7 09 8E 3B A9 42 03 61 00 41 3C 00 20 1E 22 00 00 10 03 00 BE 80 00 00 10 06 81 00 60 22 3E 00 60 53 33 20

紧急号码列表出现在末尾附近,位于分配的 P-TMSI 之后。其 IEI 为 0x34,长度为 8 个八位位组。每个条目占用其中 4 个八位位组:一个用于自身长度,一个用于紧急业务类别,两个用于 BCD 数字。第一个条目是 110,并设置了 Police(警察)位。号码 110 有三位数字,因此最后一个八位位组的高半部分携带结束标记 1111。第二个条目是 9999,并设置了 Ambulance(救护车)位,其四位数字占满两个八位位组。

你可以在 nas-Message 行中找到相同的字节,其中 34 08 03 01 11 f0 是该 IE 的起始。解码器截断了该行,因此第二个条目只能在解码字段中看到。还要注意,附加结果是 GPRS only attached(仅 GPRS 附着)。CS 注册是第 17 步中独立的位置更新,紧急号码列表并不依赖它。

  • IEI 0x34,长度 8:两个条目,每个 4 个八位位组。
  • 每个条目一个类别八位位组:110 对应 Police(警察),9999 对应 Ambulance(救护车)。
  • 数字位数为奇数:最后一个八位位组用结束标记 1111 填充。 上面的解码器输出隐藏了八位位组布局,因此按 24.008 的画法来看该 IE 会很有帮助。该布局也解释了长度限制。该 IE 是长度为 5 至 50 个八位位组的 4 类 IE,因此整个列表连同其所有条目必须容纳在 48 个八位位组的内容中。
八位位组 内容
1 紧急号码列表 IEI,在 Attach Accept 中为 0x34
2 紧急号码列表 IE 内容的长度
3 第 1 个紧急号码信息的长度,计入类别八位位组和数字八位位组
4 第 8 至 6 位为备用,第 5 至 1 位为紧急业务类别值
5 及以后 号码数字采用 BCD 编码,第 1 位数字在第 1 至 4 位,第 2 位数字在第 5 至 8 位。数字个数为奇数时以结束标记 1111 结尾。
j 及以后 第 2 个及以后的条目,每个的布局与第 3 个及以后的八位位组相同

八位位组

内容

紧急号码列表 IEI,在 Attach Accept 中为 0x34

紧急号码列表 IE 内容的长度

第 1 个紧急号码信息的长度,计入类别八位位组和数字八位位组

第 8 至 6 位为备用,第 5 至 1 位为紧急业务类别值

5 及以后

号码数字采用 BCD 编码,第 1 位数字在第 1 至 4 位,第 2 位数字在第 5 至 8 位。数字个数为奇数时以结束标记 1111 结尾。

j 及以后

第 2 个及以后的条目,每个的布局与第 3 个及以后的八位位组相同

类别位的编码方式与 24.008 第 10.5.4.33 节 Service category IE 的第 1 至 5 位相同。同样的这五位在本节后面的 Emergency Setup 中再次出现。

位 紧急业务
1 警察
2 救护车
3 消防队
4 海上警卫
5 山地救援

位

紧急业务

警察

救护车

消防队

海上警卫

山地救援

Service category IE 还有第 6、7 两位,分别用于人工和自动发起的 eCall。紧急号码列表仅携带第 1 至 5 位,因此列表中的号码无法将自己标记为 eCall 号码。一个条目中可以设置多个位。在这种情况下,MSC 将呼叫路由到联合紧急中心。

UE 将该列表与 SIM、USIM 及 ME 中的号码一起使用,而不是替换它们。24.008 还允许 UE 使用该列表帮助用户判断所拨号码是紧急号码,还是例如本地查号服务。这种交互取决于具体实现。

  • 5 至 50 个八位位组:整个列表共用一个 IE。
  • 每个条目五个类别位:警察、救护车、消防队、海上警卫和山地救援。
  • 是补充而非替换:SIM、USIM 和 ME 中的号码仍视为紧急号码。 如何检查 UE 是否真的存储了该列表?拨打一个仅存在于列表中的号码,然后观察 UE 发送什么。这就是本例使用 9999 而非众所周知号码的原因。

如果你按此处所示配置了网络(或测试设备)并拨打“9999”,UE 应发起紧急呼叫。

当 UE 发起紧急呼叫时,它会在 CC:Emergency Setup 中配置紧急业务类别,如下所示。

UL-DCCH-Message integrityCheckInfo messageAuthenticationCode: a784079c rrc-MessageSequenceNumber: 1 message: uplinkDirectTransfer (27) uplinkDirectTransfer cn-DomainIdentity: cs-domain (0) nas-Message: 038e040660040200058140080402600000021f002e0102 GSM A-I/F DTAP - Emergency Setup Protocol Discriminator: Call Control; call related SS messages .... 0011 = Protocol discriminator: Call Control; call related SS messages (0x03) 0... .... = TI flag: allocated by sender .000 .... = TIO: 0 10.. .... = Sequence number: 2 ..00 1110 = DTAP Call Control Message Type: Emergency Setup (0x0e) Bearer Capability - (MS supports at least full rate speech version 1 and half rate speech version 1. MS has a greater preference for full rate speech version 1 than ...) Element ID: 0x04 Length: 6 Octet 3 0... .... = Extension: Extended .11. .... = Radio channel requirement: MS supports at least full rate speech version 1 and half rate speech version 1. ... ...0 .... = Coding standard: GSM standardized coding .... 0... = Transfer mode: circuit .... .000 = Information transfer capability: Speech (0x00) Octets 3a - Speech Versions 0... .... = Extension: Extended .0.. .... = Coding: octet used for extension of information transfer capability ..00 .... = Spare bit(s): 0 .... 0100 = Speech version indication: GSM full rate speech version 3(FR AMR) (0x04) 0... .... = Extension: Extended .0.. .... = Coding: octet used for extension of information transfer capability ..00 .... = Spare bit(s): 0 .... 0010 = Speech version indication: GSM full rate speech version 2(GSM EFR) (0x02) 0... .... = Extension: Extended .0.. .... = Coding: octet used for extension of information transfer capability ..00 .... = Spare bit(s): 0 .... 0000 = Speech version indication: GSM full rate speech version 1(GSM FR) (0x00) 0... .... = Extension: Extended .0.. .... = Coding: octet used for extension of information transfer capability ..00 .... = Spare bit(s): 0 .... 0101 = Speech version indication: GSM half rate speech version 3(HR AMR) (0x05) 1... .... = Extension: No Extension .0.. .... = Coding: octet used for extension of information transfer capability ..00 .... = Spare bit(s): 0 .... 0001 = Speech version indication: GSM half rate speech version 1(GSM HR) (0x01) Supported Codec List Element ID: 0x40 Length: 8 System Identification (SysID): UMTS (0x04) Bitmap Length: 2 Codec Bitmap for SysID 1 0... .... = TDMA EFR: False .1.. .... = UMTS AMR 2: True ..1. .... = UMTS AMR: True ...0 .... = HR AMR: False .... 0... = FR AMR: False .... .0.. = GSM EFR: False .... ..0. = GSM HR: False .... ...0 = GSM FR: False 00.. .... = Spare bit(s): 0 ..0. .... = OHR AMR-WB: False ...0 .... = OFR AMR-WB: False .... 0... = OHR AMR: False .... .0.. = UMTS AMR-WB: False .... ..0. = FR AMR-WB: False .... ...0 = PDC EFR: False System Identification (SysID): GSM (0x00) Bitmap Length: 2 Codec Bitmap for SysID 2 0... .... = TDMA EFR: False .0.. .... = UMTS AMR 2: False ..0. .... = UMTS AMR: False ...1 .... = HR AMR: True .... 1... = FR AMR: True .... .1.. = GSM EFR: True .... ..1. = GSM HR: True .... ...1 = GSM FR: True 00.. .... = Spare bit(s): 0 ..0. .... = OHR AMR-WB: False ...0 .... = OFR AMR-WB: False .... 0... = OHR AMR: False .... .0.. = UMTS AMR-WB: False .... ..0. = FR AMR-WB: False .... ...0 = PDC EFR: False Service Category - Emergency category Element ID: 0x2e Length: 1 0... .... = Spare bit(s): 0 .0.. .... = Automatically initiated eCall: False ..0. .... = Manually initiated eCall: False ...0 .... = Mountain Rescue: False .... 0... = Marine Guard: False .... .0.. = Fire Brigade: False .... ..1. = Ambulance: True .... ...0 = Police: False Full DCCH Hex : D3 C2 03 CE 0E C0 0B 01 C7 02 03 30 02 01 00 02 C0 A0 04 02 01 30 00 00 01 0F 80 17 00 81 00

UE 发送的是 EMERGENCY SETUP 而非普通的 SETUP,说明它将 9999 识别为紧急号码。Service Category IE(IEI 0x2e)仅设置了 Ambulance(救护车)位,这正是 Attach Accept 中 9999 条目的类别,因此 UE 从匹配的列表条目复制了该类别。eCall 位第 6、7 位均为 0,这是非 eCall 呼叫所要求的。

24.008 表 9.62 列出了 EMERGENCY SETUP 中的四个可选 IE,本抓包带有其中三个。承载能力(Bearer capability)列出了 UE 支持的 GSM 语音版本。对于支持 UMTS 无线接入的 UE,Supported Codecs 是必需的,此处它列出了用于 UMTS 的 UMTS AMR 和 UMTS AMR 2。当类别可从 SIM、USIM 或 ME 获得时,会包含紧急类别。如果网络未收到类别,则将呼叫视为非特定紧急呼叫。

  • EMERGENCY SETUP 而非 SETUP:UE 将 9999 与存储的列表进行了匹配。
  • Ambulance(救护车)类别:从 9999 的列表条目复制而来。
  • 未设置任何类别位或无该 IE:MSC 将呼叫路由到运营商定义的默认紧急中心。 3GPP TS 24.008 v20.0.0——第 4.4.4.6、4.7.3.1.3 和 4.7.5.1.3 节、表 9.62 EMERGENCY SETUP、第 10.5.3.13 节紧急号码列表以及第 10.5.4.33 节 Service category

3GPP TS 24.301——第 5.3.7 节,LTE 的本地紧急号码列表处理


同族文档