Hi, attached is a small patch to add sms delivery attempt counting using the db_sms_inc_deliver_attempts() that already existed. I was a bit unsure what exactly counts as a delivery attempt judging by GSM 04.11 but it made sense to me to count that with each CP-DATA.
Cheers Nico