Implement a better sending of pending SMS

The previous implementation had some shortcomings:
 - If the MIN ID given was not the exact id of the first unsent SMS,
 it would try to submit the same sms several time until id++ finally
 made id go to the next one.
 - If a subscriber had several SMS pending it would try to submit
 them individually (only to get rejected because a paging for that
 subscriber was already in progress)

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2 files changed
tree: 7cecfe2fc2f8104999c9db0ab2c11a3909389f44
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/