diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 13:57:40 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 13:57:40 +0800 |
commit | 9c137a781958f76e813f8887e285f881f7146ce9 (patch) | |
tree | 4b5cca7e4c1249a570640f2f87f73bd08da00b62 /openbsc/src/gsm_04_80.c | |
parent | f6fb3efcba25a4c9b984152c46605fb313e3c523 (diff) |
bsc_api: Move most of GSM0408 to the DTAP API...
* gsm_04_08_utils.c will directly send the message...
* gsm_04_08.c will use the DTAP API, add a new method to pull
in the data from the transaction...
Diffstat (limited to 'openbsc/src/gsm_04_80.c')
-rw-r--r-- | openbsc/src/gsm_04_80.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/gsm_04_80.c b/openbsc/src/gsm_04_80.c index ef10b1702..7d6679b75 100644 --- a/openbsc/src/gsm_04_80.c +++ b/openbsc/src/gsm_04_80.c @@ -36,6 +36,7 @@ #include <osmocore/gsm_utils.h> #include <openbsc/gsm_04_08.h> #include <openbsc/gsm_04_80.h> +#include <openbsc/bsc_api.h> /* Forward declarations */ static int parse_ussd(u_int8_t *ussd, struct ussd_request *req); @@ -294,7 +295,7 @@ int gsm0480_send_ussd_response(const struct msgb *in_msg, const char *response_t | (1<<7); /* TI direction = 1 */ gh->msg_type = GSM0480_MTYPE_RELEASE_COMPLETE; - return gsm48_sendmsg(msg, NULL); + return gsm0808_submit_dtap(&msg->lchan->conn, msg, 0); } int gsm0480_send_ussd_reject(const struct msgb *in_msg, @@ -324,5 +325,5 @@ int gsm0480_send_ussd_reject(const struct msgb *in_msg, gh->proto_discr |= req->transaction_id | (1<<7); /* TI direction = 1 */ gh->msg_type = GSM0480_MTYPE_RELEASE_COMPLETE; - return gsm48_sendmsg(msg, NULL); + return gsm0808_submit_dtap(&msg->lchan->conn, msg, 0); } |