Hello everyone, just need quick help to locate the source files/functions to change the default kannel behavior. In one of the installations, the operator requires all of the PDUs in a multipart SMS to have registered_delivery = 1. Only then we receive the deliver_sm PDU from them. I have done this part successfully by modifying the Kannel source. Now basically the flow is this: Kannel Sends: submit_sm - part 1 of 3 submit_sm - part 2 of 3 submit_sm - part 3 of 3
Kannel receives: submit_sm_resp - for part 1, message_id = NULL so no reference is saved in kannel dlr table submit_sm_resp - for part 2, message_id = NULL, same behavior as above submit_sm_resp - for part 3, message_id is present but it is not saved. deliver_sm - received with message_id supplied previously in final acknowledgment PDU. Now Kannel fails to match this deliver_sm PDU because there is nothing saved in the Kannel DLR table. Apparently, for multipart SMS, Kannel only saves message_id from the first response PDU. I need to modify this behavior and set it in a way so that if should always save the reference if message_id is not NULL. Please advise what files/functions I need to change. I have tried but could not achieve this behavior. PS: I am against this, as modifying Kannel to suit one purpose will break it. However, the client has agreed to an isolated exclusive setup and understands the impossibility of future updates. Thanks in advance guys. -Cheers Sam