[BUG] failure to send DLR with SMPP

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi list.
 
we found a problem with SMPP in one of out connections - when a deliver_sm of type DLR is received, Kannel will fetch a dlr with the sms.receiver set to the destination_addr from the deliver_sm. at least on the connection we checked, this is wrong as the deliver_sm message has the source_addr set to the MSISDN of the receiver of the original message and the destination_addr set to the sender of the original address - as if the message is an MO in response to the MT we sent. of course, the result is that in the created DLR message, the sender and receiver numbers are identical and so smsbox rejects the message.
I think it can only happen in the CVS version of Kannel, as only lately a change has been made to the DLR scheme to remeber also the sender of the original message and fill it in the DLR message.
 
Did anyone else encounter this problem, and do you think its safe to fix it by changing the call to dlr_find() to use source_addr instead of destination_addr - the dlr_find() function does not do anything interesting with that value, except putting it into the receiver field of the DLR msg.
 
--
Oded Arbel
m-Wise mobile solutions
[email protected]
 
+972-9-9581711 (116)
+972-67-340014
 
::..
Wasting time is an important part of living.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.