From e731e1d6dd4a8371ca2d9f8142b9afaeedd012a4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 27 Jul 2010 18:27:46 +0800 Subject: gsm_04_80: Allow to specify the alert pattern for the notification Allow to specify the level (not the category) of the notification this provides an easy way to test it on the phones. --- openbsc/include/openbsc/gsm_04_80.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/gsm_04_80.h b/openbsc/include/openbsc/gsm_04_80.h index 0d61dbd07..bbf15ef79 100644 --- a/openbsc/include/openbsc/gsm_04_80.h +++ b/openbsc/include/openbsc/gsm_04_80.h @@ -24,12 +24,12 @@ int gsm0480_send_ussd_reject(struct gsm_subscriber_connection *conn, const struct ussd_request *request); struct msgb *gsm0480_create_notifySS(const char *text); -struct msgb *gsm0480_create_unstructuredSS_Notify(const char *text); +struct msgb *gsm0480_create_unstructuredSS_Notify(int alertLevel, const char *text); int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id); int gsm0480_wrap_facility(struct msgb *msg); -int gsm0480_send_ussdNotify(struct gsm_subscriber_connection *conn, const char *text); +int gsm0480_send_ussdNotify(struct gsm_subscriber_connection *conn, int level, const char *text); int gsm0480_send_releaseComplete(struct gsm_subscriber_connection *conn); #endif -- cgit v1.2.3