2018年4月3日 星期二

Q.931 Channel Identification

Q.931 Channel Identification (ITU Q.931 section 4.5.13)
87654321Octet
IE ID: 0x18 1
Length2
ext.
1
Int. id.
present
Int. type0Pref./Excl.D-channel
ind
Info. channel
selection
3
ext.
0/1
Interface identifier3.1
ext.
1
Coding StandardNumber/
Map
Channel type/Map element type3.2
Channel number/Slot map3.3
  • interface identifier present 有設 => 有 octet 3.1 Interface identifier,可以有多個 byte,放界面的編號。
  • interface type= 0 表示 BRI,此時沒有 3.2 及 3.3,用 information channel selection 表示用哪個通道:00 = No channel, 01 = B1 channel, 10 = B2 channel
  • Preferred/Exclusive:0 = 偏好所選的通道 (也就是可以選別的)。1 = 排除眾議,就是要所選的通道。
  • D-channel Indicator:1 = 指 D-channel,忽略 Information Channel Selection。0 = 不是 D-channel。
  • Information Channel Selection
  • Coding Standard:0 = ITU-T 標準
  • Number/Map:0 = 用編號 (Channel number),1 = 用 bit map (Slot map)。
  • Element type:3 = B-channel
  • Channel number:MSB = 1 表示最後 byte,剩下 7-bit 為 channel 編號。
範例
0x18 0x01 0x81:BRI 偏好 B1 channel
0x18 0x03 0xA1 0x83 0x83:PRI 偏好 B channel 3

沒有留言:

張貼留言

SIP header Via

所有 SIP 訊息 都要有 Via,縮寫 v。一開始的 UAC 和後續途經的每個 proxy 都會疊加一個 Via 放傳送的位址,依序作為回應的路徑。 格式 sent-protocol sent-by [ ;branch= branch ][ ; 參數 ...] s...