you do not need the smsc id all you need is to set YOUR unique dlr-url per MT message
to achieve that, add in the dlr-url something like MysmsID=6be1268d3d7d99e6ec99e9138e77d6ea make sure the value of the MysmsID sould is unique and use it to trace the status of the MT message. the db based dlr queue has nothing to do with the delivery reports per message ... it just saves the queue in a db, to avoid loss of data in case of OS crash ... example of dlr-url: "http://localhost/dlr.pgsql.php?smscID=%i&dlr=%d&answer=%A&to=%p&from=%P&ts=%T&smsID=07fceb25372fcc4cb847c7099008500e&charset=%C&kannel_id=%I" resulting dlr-url: 127.0.0.1 - - [09/Jun/2008:22:45:37 +0300] "GET /dlr.pgsql.php?smscID=mtel&dlr=8&answer=ACK%2F&to=%2B359111111111&from=1916&ts=1213040737&smsID=nonfd9c1ff6b66bc510c785ffac6fb0b754&charset=ISO-8859-1&kannel_id=a890dfe9-72a9-48db-b98d-cd7c533c5958 HTTP/1.1" 200 1 "-" "Kannel/cvs-20070627" 127.0.0.1 - - [09/Jun/2008:22:45:45 +0300] "GET /dlr.pgsql.php?smscID=mtel&dlr=1&answer=id%3A0302419579+sub%3A001+dlvrd%3A001+submit+date%3A0806092245+done+date%3A0806092245+stat%3ADELIVRD+err%3A000+text%3ABlagodarim+Vi+za+Vas&to=%2B359111111111&from=1916&ts=1213040745&smsID=nonfd9c1ff6b66bc510c785ffac6fb0b754&charset=ISO-8859-1&kannel_id=41e9cd46-90ad-4014-b08f-91d152fd0388 HTTP/1.1" 200 1 "-" "Kannel/cvs-20070627" i think you will deal from here -----Original Message----- From: [email protected] [EMAIL PROTECTED] Sent: 09 ??? 2008 ?. To: seik Subject:smsc message ID > Hello everybody, > I am currently working on getting delivery receipts on my dlr-url. > When I query the sendsms cgi-bin interface : > http://localhost/cgi-bin/sendsms?user=username&pass=password&from=xxxxxxx&to=xxxxxxxxxxx&smsc=mysmsc&text=some+text&mclass=1&dlr-mask=31&dlr-url=http%3A%2F%2Flocalhost%2Fdlr.php%3Fid%3DArdn6lE4%26state%3D%25d%26smsid%3D%25I > dlr-url looking like that: > http://localhost/dlr.php?id=Ardn6l&state=%d&smsid=%I > The %I only gives me the "internal" message ID kannel generated. > I would like the actual (aggregator) smsc message ID > On a side not, I am using a pgsql dlr queue, and I can see my message ID > being stored into the ts (timestamp) field. > Thank you for your help, > Eric
