diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-23 19:02:37 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-11-24 11:07:30 +0100 |
commit | e07b6a77e51f19b45d3ca0a7b3b4014ffeb40859 (patch) | |
tree | a1d5d5d35d5f7f11d7e029d569fa4059459a82fe /openbsc/include | |
parent | 338e3b3b4bf4947db817a57e0bf1838400e690ca (diff) |
SMPP: Implement support for MO SMS
Each ESME can have a number of prefix-matching routes, or it can
be a 'default route' to whcih all otherwise unknown SMS destinations
are routed.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index c6a40e38a..3b0f248b2 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -282,10 +282,18 @@ enum gsm_sms_source_id { #define SMS_HDR_SIZE 128 #define SMS_TEXT_SIZE 256 + +struct gsm_sms_addr { + uint8_t ton; + uint8_t npi; + char addr[21+1]; +}; + struct gsm_sms { unsigned long long id; struct gsm_subscriber *sender; struct gsm_subscriber *receiver; + struct gsm_sms_addr destination; enum gsm_sms_source_id source; struct { |