The handler for the X-Kannel-Account HTTP header in the sms box is missing.
It is parsed from the HTTP response headers but is never supplied to
the fill_message() function to build the Msg struct instance.
Here's my diff;
741c741
< int rpi, Octstr *smsc)
---
> int rpi, Octstr *smsc, Octstr *account)
868a869,878
>
> if (account) {
> if (urltrans_accept_x_kannel_headers(trans)) {
> msg->sms.account = account;
> } else {
> warning(0, "Tried to change account to '%s', denied.",
> octstr_get_cstr (account));
> octstr_destroy (account);
> }
> }
1033c1043
< dlr_mask, pid, alt_dcs, rpi, smsc);
---
> dlr_mask, pid, alt_dcs, rpi, smsc, account);
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