mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
gsm_04_80: Add code to wrap a facility IE around.
This commit is contained in:
@@ -21,6 +21,8 @@ int gsm0480_send_ussd_reject(const struct msgb *msg,
|
||||
|
||||
struct msgb *gsm0480_create_notifySS(const char *text);
|
||||
struct msgb *gsm0480_create_unstructuredSS_Notify(const char *text);
|
||||
|
||||
int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id);
|
||||
int gsm0480_wrap_facility(struct msgb *msg);
|
||||
|
||||
#endif
|
||||
|
@@ -416,6 +416,14 @@ int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* wrap the GSM 04.08 Facility IE around it */
|
||||
int gsm0480_wrap_facility(struct msgb *msg)
|
||||
{
|
||||
msgb_wrap_with_TL(msg, GSM0480_IE_FACILITY);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int gsm0480_send_ussd_reject(const struct msgb *in_msg,
|
||||
const struct ussd_request *req)
|
||||
{
|
||||
|
Reference in New Issue
Block a user