commit | 3502ab6739ac03b6d6e20d4bc47dc5365f5b77e9 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Sun Aug 21 20:16:33 2016 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Sep 17 08:45:07 2016 +0000 |
tree | 6bcd280cc9071f48025557adcc9e8e19280eec58 | |
parent | 4976953dcd788502c8c1f3370c9b634d5d22c3ea [diff] |
sms: change rp err cause of smpp_try_deliver errors smpp_try_deliver could fail with rc < 0. In such cases don't send the MS the rp error sms rejected (cause 21). A rejected message should not be sent again. The spec 04 11 recommends sending cause 41 Temporary failure in unknown cases. Add also a log message and rate counter for such cases. Tweaked-By: Neels Hofmeyr <nhofmeyr@sysmocom.de> Change-Id: Ia03e50ce2bd9a7d1054cc5a6000fd73bd3497c03