commit | aa386d29fd6b0e6ceecaf01d51f621a89f5a6720 | [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 | c2f2ad8a5f575a38011bfa9b1833a88ed393dd1d [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