From 6b4895ff53b0fe8880dadf7c8d759a63938bbb3e Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 6 Feb 2019 02:29:55 +0700 Subject: gsm/gsm0480: introduce gsm0480_create_release_complete() In OsmoMSC, it's required to be able to specify a particular GSM 04.07 transaction ID for GSM 04.80 Release complete message instead of the hard-coded value, that is used gsm0480_create_ussd_release_complete(). Let's finally deprecate gsm0480_create_ussd_release_complete(), and introduce a new function without USSD prefix, as this message is also used in other "structured" supplementary services. Change-Id: Ie3ac85fcef90a5e532334ba3482804d5305c88d7 --- include/osmocom/gsm/gsm0480.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocom/gsm/gsm0480.h b/include/osmocom/gsm/gsm0480.h index 827464e1..4200189d 100644 --- a/include/osmocom/gsm/gsm0480.h +++ b/include/osmocom/gsm/gsm0480.h @@ -117,7 +117,9 @@ struct msgb *gsm0480_create_ussd_resp(uint8_t invoke_id, uint8_t trans_id, const struct msgb *gsm0480_create_unstructuredSS_Notify(int alertPattern, const char *text); struct msgb *gsm0480_create_notifySS(const char *text); struct msgb *gsm0480_create_ussd_notify(int level, const char *text); -struct msgb *gsm0480_create_ussd_release_complete(void); +struct msgb *gsm0480_create_ussd_release_complete(void) + OSMO_DEPRECATED("Use gsm0480_create_release_complete() instead."); +struct msgb *gsm0480_create_release_complete(uint8_t trans_id); int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id); int gsm0480_wrap_facility(struct msgb *msg); -- cgit v1.2.3