<div dir="ltr">Hi,<br><br>> get Service Category Information Element for a call<br>> (description in TS 124 008 V13.7.0 10.5.4.33)<br><br>According to the mentioned specification, this IE is an optional<br>part of SETUP message. So, your assumption:<br><br>> it is somewhere within gsm_04_08.c<br><br>is correct. Have a look at the gsm48_cc_rx_setup():<br><br>> /* emergency setup is identified by msg_type */<br>> if (msg_type == GSM48_MT_CC_EMERG_SETUP)<br><br>Emergency calls are also handled there.<br><br>The following IEs are handled:<br><br>> if (TLVP_PRESENT(&tp, GSM48_IE_BEARER_CAP)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_FACILITY)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_CALLED_BCD)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_USER_USER)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_SS_VERS)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_CLIR_SUPP)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_CLIR_INVOC)) ...<br>> if (TLVP_PRESENT(&tp, GSM48_IE_CC_CAP)) ...<br><br>So, you need to implement checking for the Service Category IE<br>yourself. It has 0x2e tag, and doesn't seem to be supported by<br>libosmocore. You would also need to implement parsing of the<br>payload yourself.<br><br>Contributions are welcome ;)<br><br>With best regards,<br>Vadim Yanitskiy.<br><br></div>