Paul Keogh wrote:
>
> 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);
thanks Paul for the patch.
Commited to cvs.
Stipe
[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG
Vogelsanger Weg 80
40470 D�sseldorf
Tel: +49-211-74845-0
Fax: +49-211-74845-299
E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are