Re: [PATCH] trivial dcs_to_fields fix

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi Stipe, all,

On Wednesday 26 February 2003 23:00, Stipe Tolj wrote:
> Alexander Malysh wrote:
> > attached "patch" should fix dcs_to_fields and versus functions.
> > The problem: assume you got dcs=0xf5 in your smpp/ucp triber.
> > Simple call:
> >         dcs = 0xf5;
> >         dcs_to_fields(dcs,msg);
> >         filds_to_dcs(msg, msg->sms.alt_dcs);
> >
> > And look what happens ;)
> >
> > Please apply...
>
> that patch would change the alt_dcs behaviour from alt_dcs = 0 to
> alt_dcs = 1 for all MT messages.

No. This patch has nothing to do with MT messages ... It corrects only alt_dcs 
settings for MO messages. For MT we use alt_dcs directive from config file or 
sendsms http api...
I think , it's not good if MO message has had dcs=0xf5 and after simple
dcs_to_fields(dcs,msg); fields_to_dcs(msg, msg->sms.alt_dcs); calls has 
dcs=0x05 because of missing alt_dcs setting in message.

Or I am missing something?


>
> Specifically we would default the 'alt-dcs' config directive of the
> smsc group to 1 instread of 0.
>
> Any comments/votes from the others?!
>
> 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

-- 
Best Regards / Mit besten Grüßen aus Köln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 Köln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [email protected]
web: http://www.centrium.de
msn: [email protected]
smime.p7s (application/pkcs7-signature, 2.5 KB) - not displayed
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.