Re: [PATCH] new DLR scheme - fixes for AT2, SMPP and dlr.c

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Hi Andreas,

seems you haven't been following the list for a while :)

> I've upgraded from 1.2.0 stable to CVS.
> 
> Problem #1: your code doesn't compile. (you used field_source instead
> of field_src)
>         (fixed this and commited to CVS)

yep, a typo, sorry.

> Problem #2: the new version doesn't start up if used with the config
> examples in CVS documentation, complaining about missing fields.:
> 
> my previous config was like this:
> 
> group = dlr-mysql
> mysql-id = dlr-db
> table = DLR
> field-smsc = SMSC
> field-timestamp = TS
> field-destination = DESTINATION
> field-service = SERVICE
> field-url = URL
> field-mask = MASK
> field-status = STATUS
> 
> To make it work again:
>         rename group name "dlr-mysql" to "dlr-db"
>         rename field name "mysql-id" to "id"
>         add field field-source = SOURCE.
>         also add the field to your table.

yep, that's because abstraction for libsdb is nice here and we don't
want a dlr-mysql, dlr-libsdb, dlr-foobar group while they all do the
same, specify the table attributes.

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
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.