the PDU message_id is mapped to the internal kannel ID by kannel in its internal DLR engine
example http://localhost/dlr.pgsql.php?smscID=%i&dlr=%d&answer=%A&to=%p&from=%P&ts=%T&smsID=2bb4cca751dcfb536859c33c944ef860&charset=%C&kannel_id=%I" result: http://localhost/dlr.pgsql.php?smscID=mtel&dlr=1&answer=id%3A0295601370+sub%3A001+dlvrd%3A001+submit+date%3A0806051302+done+date%3A0806051302+stat%3ADELIVRD+err%3A000+text%3AOstavat+vi+po-malko+&to=%2B359111111111&from=1302&ts=1212660130&smsID=06056bc14d7498219d7c316a0f73bdf9&charset=ISO-8859-1&kannel_id=d9dbacaa-ca23-4426-ab1b-d7ebc0be1ef5 in short, you need to patch kannel in a view to get the message_id injected in dlr-url ... i believe there was a similar thread in this list, search for it -----Original Message----- From: [email protected] [EMAIL PROTECTED] Sent: 05 ??? 2008 ?. To: seik Subject:How to retrieve MSG ID from SMSC? > Hi Roland, > I have the same problem. > I specify an id when I send an SMS trought the SMSC : > http://smpp.xxx.fr:13013/cgi-bin/sendsms > param : id=<my_id> > param : > dlr-url=http://xxx.fr/interface/smpp.php?smsid=%I&smsc-id=%i&state=%d&time-sent=%T&msisdn=%p&answer=%A&to=%p&from=%P > The parameter smsid in callback script (smpp.php) correspond to defined id. > Regards, > Cyril > ie : Sory for my bad english ! > Rolandow a écrit : >> Hi All, >> >> Is there a way to retrieve the MSG ID that is returned by the SMSC ? >> We are connected to one SMSC that has made a application which is able >> to check wether the message was billed succesfully. As incoming >> parameter they want the MSG ID they return when I send a MT message. >> >> Is there a way to get this MSG ID out of kannel? >> >> The "normal" DLR system doesn't seem to work with this provider. >> >> Thanks in advance! >> >> Kind regards, >> Roland.
