libmsc: support GSM 03.40 status report for nitb
This patch adds support for GSM 03.40 in nitb mode. MS GSM 03.40 SMSC | | | SMS-SUBMIT | |--------------------------->| | GSM 04.11 RP-ACK | |<---------------------------| | SMS-DELIVER | |<---------------------------| | GSM 04.11 RP-ACK | |--------------------------->| | SMS-STATUS-REPORT | |<---------------------------| | GSM 04.11 RP-ACK | |--------------------------->| | | Change-Id: I5cc7bb4ebadde0940f44d10c3df34707b0615160
This commit is contained in:
parent
bd71d32dca
commit
27aed14892
|
@ -683,6 +683,11 @@ static void sms_status_report(struct gsm_sms *gsms,
|
|||
LOGP(DLSMS, LOGL_ERROR,
|
||||
"Failed to send status report! err=%d\n", rc);
|
||||
}
|
||||
|
||||
/* No route via SMPP, send the GSM 03.40 status-report now. */
|
||||
if (gsms->receiver)
|
||||
gsm340_rx_sms_submit(sms_report);
|
||||
|
||||
LOGP(DLSMS, LOGL_NOTICE, "Status report has been sent\n");
|
||||
|
||||
sms_free(sms_report);
|
||||
|
|
Loading…
Reference in New Issue