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

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
On Freitag, September 6, 2002, at 11:20  Uhr, Stipe Tolj wrote:

> Ok, done and commited to cvs. Anyone who is using DLR storage via
> MySQL or libSDB should try the current cvs tree and report problems if
> any.
>
>

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)

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.



Andreas Fink
Global Networks, Inc.

------------------------------------------------------------------
Tel: +41-61-6932730  Fax: +41-61-6932729   Mobile: +41-79-2457333
Global Networks, Inc. Schwarzwaldallee 16, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/      [email protected]
------------------------------------------------------------------
Member of the GSM Association
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.