summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2014-04-15 17:38:43 +0400
committerIvan Kluchnikov <kluchnikovi@gmail.com>2014-05-06 18:54:50 +0400
commitff943de9eb8a192187cca09c0cd6f7ac5ccc5894 (patch)
treed1601f06c593eee0a9f7754a641a3c3a0dfef296
parentcbd7bc306e646c0e342bdc0902a5907853205d14 (diff)
ussd: Customize ussd message "Your extension is"
-rw-r--r--openbsc/src/libmsc/ussd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/libmsc/ussd.c b/openbsc/src/libmsc/ussd.c
index 7f01eae71..ea2135299 100644
--- a/openbsc/src/libmsc/ussd.c
+++ b/openbsc/src/libmsc/ussd.c
@@ -82,6 +82,7 @@ static int send_own_number(struct gsm_subscriber_connection *conn, const struct
char response_string[GSM_EXTENSION_LENGTH + 20];
/* Need trailing CR as EOT character */
- snprintf(response_string, sizeof(response_string), "Your extension is %s\r", own_number);
+// snprintf(response_string, sizeof(response_string), "Your extension is %s\r", own_number);
+ snprintf(response_string, sizeof(response_string), "Numero kiu naka %s\r", own_number);
return gsm0480_send_ussd_response(conn, msg, response_string, req);
}