diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-08-08 16:03:15 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-08-08 16:03:15 +0200 |
commit | 76042188e09d2ea5f138474ade70e1f74f317aea (patch) | |
tree | e5575789a35674ee676ece472b75394d2e283f76 /openbsc/src/gsm_04_08.c | |
parent | 1d014a5dfc45fb09cec28a7327b36ae53458ca8e (diff) |
first 'working' SMS implementation
we now have the full path from the MS into the database (SUBMIT), as well as
back from the database to the MS (DELIVER). The database gets correctly
updated once a SMS has been successfully delivered.
What's still missing is the periodic scan over all undelivered messages,
trying to deliver them to the respective MS. So far, you have to manually
trigger this on the telnet interface with 'sms send pending 1'
Diffstat (limited to 'openbsc/src/gsm_04_08.c')
-rw-r--r-- | openbsc/src/gsm_04_08.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/src/gsm_04_08.c b/openbsc/src/gsm_04_08.c index e0f15f69f..b753e0d8d 100644 --- a/openbsc/src/gsm_04_08.c +++ b/openbsc/src/gsm_04_08.c @@ -1610,7 +1610,7 @@ static int gsm48_rr_rx_pag_resp(struct msgb *msg) return -EINVAL; } DEBUGP(DRR, "<- Channel was requested by %s\n", - subscr->name ? subscr->name : subscr->imsi); + subscr->name && strlen(subscr->name) ? subscr->name : subscr->imsi); subscr->equipment.classmark2_len = *classmark2_lv; memcpy(subscr->equipment.classmark2, classmark2_lv+1, *classmark2_lv); @@ -1783,6 +1783,7 @@ int gsm48_send_rr_release(struct gsm_lchan *lchan) /* Send actual release request to MS */ gsm48_sendmsg(msg, NULL); + /* FIXME: Start Timer T3109 */ /* Deactivate the SACCH on the BTS side */ return rsl_deact_sacch(lchan); |