Hi, the other possibility would be, to add meta-data to the msg in smsc module and by creation of DLR just duplicate meta-data from original message. We use it this way, because it's easier then to check what the message failed and with which meta-data...
Thanks, Alexander Malysh Am 30.09.2010 um 22:51 schrieb Rene Kluwen: > I also have a client that added "reason code" for failed sms's. > This patch would be a wonderful opportunity to add it to meta-data. > > == Rene > > -----Original Message----- > From: Victor Luchitz [mailto:[email protected]] > Sent: Saturday, 11 September, 2010 17:33 > To: Kannel Devel > Cc: Rene Kluwen > Subject: Re: [PATCH] Add meta_data parameter to bb_smscconn_send_failed > > 2010/9/11 Rene Kluwen <[email protected]>: >> So this is a patch of 500+ lines that basically does nothing? ;) >> >> If this is a foundation: Why don't you send meta-data to bb_smscconn_sent()? > > There's no practical need for that. Error codes are irrelevant to > messages that were successfully transmitted :P > >> >> == Rene >> >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On Behalf >> Of Victor Luchitz >> Sent: Saturday, 11 September, 2010 15:14 >> To: Kannel Devel >> Subject: [PATCH] Add meta_data parameter to bb_smscconn_send_failed >> >> Hello. >> >> The attached patch adds another parameter to bb_smscconn_send_failed, which >> is then copied to the sms.meta_data field of newly created DLR message. The >> main purpose of this patch is to allow transmission of protocol/network >> specific error codes in delivery reports' meta data. >> At this moment, none of the smsc's use this functionality, the patch is >> basically a foundation for it. >> >> -- >> Best regards, >> Victor Luchitz >> >> > > > > -- > Best regards, > Victor Luchitz > > > >
