Re: [PATCH] CIMD2 service description bug

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
[email protected] wrote:
> 
> I've noticed that Kannel seems to think that the service description
> parameter is only one character long.  However, reading the CIMD2 spec
> from Nokia, in the large table in section 7.2, page 56(74) it says:
> 
> Name           ID Max     Type   Values  Description
>                   Length
> 
> Service        065 2      Integer 0 - 99 Defines the service description
> Description                              of the message, which can be used
>                                          for billing.
> 
> It's TWO characters long.  I'm using the current Kannel CVS with a small
> hack to add the service description along with tariff class (for a
> 4-digit binfo parameter, with tariff class as the first two digits and
> service description as the last two) as our provider requires both the
> tariff class and service description parameters to be set.  However, I
> keep getting these messages in my logs:
> 
> 2004-03-05 14:28:58 [29781] [7] WARNING: CIMD2[smart-incoming]: service
> description parameter too long, truncating from 2 to 1 characters
> 
> I've made a patch that's attached here.

fix for service description to length 2 commited to cvs. binfo and
tariff class handling _not_ commited. Thanks for submission.

Stipe

mailto:[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:[email protected]
http://www.wapme-systems.de/
-------------------------------------------------------------------

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.2 (Cygwin)

mIsEP6mcYwEEAMDnUiUwrbb+xwTFWN6TxF2+XZu7/alwJMeCwMBRvXtPZqfjpPhS
OkBpU0F4TrVuugz1HINTSaJTYq10AzDQXp5NkyWgckqW79nPAWuOX0dicbJk+cN2
nM2TI4KaxUDe6u8hghNEnH/i2lXsUu9apnP/iixzV81VC2je3uc9hZpnAAYptEVT
dGlwZSBUb2xqIChUZWNobm9sb2d5IENlbnRlciAmIFJlc2VhcmNoIExhYikgPHRv
bGpAd2FwbWUtc3lzdGVtcy5kZT6ItAQTAQIAHgUCP6mcYwIbAwYLCQgHAwIDFQID
AxYCAQIeAQIXgAAKCRABV0w1BqPYRuSqA/wPzsQxao2YePENCtgRTrO86U6zg3sl
OcS6CJFI4FZP5h/xD3GRsNH1+MPSvZlomDdpFnr547DGz/Kq9MXuQwVvlVig5yWZ
K5dtKp1r5YLhxJQBhfirZbRFFnYmf19f18J8OoS28tuFVftDl1AIwJS3HLyBTv6H
g2HyLAEKQIp30Q==
=aYCI
-----END PGP PUBLIC KEY BLOCK-----
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.