There is an inconsistency between the dlr_find... function
for memory (internal) and the one for MySQL DLR storage.

The memory handler swaps the sender/destination addresses;

                msg->sms.sender = octstr_duplicate(dlr->destination);
                msg->sms.receiver = octstr_duplicate(dlr->source);

whereas the MySQL one does not;

        msg->sms.sender = octstr_duplicate(source_addr);
        msg->sms.receiver = octstr_create(dst);

Paul Keogh
ANAM Wireless Internet Solutions
http://www.anam.com                     
+353 1 284 7555 (wired)               +353 86 234 6047 (wireless)
Castle Yard, Saint Patrick's Road, Dalkey, County Dublin, Ireland
 

Reply via email to