How to use the error codes?
"Hillel Bilman" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel,gmane.comp.mobile.kannel.user |
|---|---|
| Message-ID | <[email protected]> |
The Error codes are very useful as they can tell you why a SMS has not been delivered. How do you extract them from the Kannel DLR without manually extracting them from the access.log? I have a requirement to extract the error code such as err:000, as each SMS is delivered. Has any one achieved this and can give advise? Thanks any help appreciated. >From the access.log 2004-07-14 01:03:43 DLR SMS [SMSC:mob] [SVC:tester] [ACT:] [BINF:] [from:Bost] [to:27832300002] [flags:-1:-1:-1:-1:1] [msg:107:id:0039677088 sub:001 dlvrd:001 submit date:040713233645 done date:040713233720 stat:DELIVRD err:000 Text: ] [udh:0:] 2004-07-14 01:03:43 DLR SMS [SMSC:mob] [SVC:tester] [ACT:] [BINF:] [from:Bost] [to:27832300002] [flags:-1:-1:-1:-1:1] [msg:107:id:0039677289 sub:001 dlvrd:001 submit date:040713234227 done date:040713234316 stat:DELIVRD err:000 Text: ] [udh:0:] 2004-07-14 01:03:43 DLR SMS [SMSC:mob] [SVC:tester] [ACT:] [BINF:] [from:Bost] [to:27832300002] [flags:-1:-1:-1:-1:1] [msg:107:id:0039678369 sub:001 dlvrd:001 submit date:040714000747 done date:040714000842 stat:DELIVRD err:000 Text: ] [udh:0:]