Good day all, I have a peculiar request and am hoping someone could urgently assist me with.
I have an http api (on apache) that receives incoming SMS requests to Kannel. Now when I compare the number of messages/requests in the http access.log file against the actua messages processed in kannel's access_log file, there is a variance of about 20% each day. the http access log always has more than what kannel claims to have received for processing. Would any one have an idea why this is happening as I would expect a one to one match between the two unless there are problems? See excerpts below from the two log files: 1. HTTP (Apache) access Log: xx.xx.xx.xxx - - [08/Sep/2015:12:50:32 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260977885050&source=Tate&message=Your Men are in HTTP/1.1" 200 34 "-" "-" 11.11.11.111 - - [08/Sep/2015:12:50:32 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260977399158&source=Tate&message=Your Account is blank HTTP/1.1" 200 34 "-" "-" 11.11.11.111 - - [08/Sep/2015:12:50:33 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260979606411&source=Tate&message=Your name has been entered into the show HTTP/1.1" 200 34 "-" "-" 11.11.11.111 - - [08/Sep/2015:12:50:35 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260976124449&source=Tate&message=Your Account is now settledHTTP/1.1" 200 34 "-" "-" 11.11.11.111 - - [08/Sep/2015:12:50:37 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260977372469&source=Tate&message=Your HTTP/1.1" 200 34 "-" "-" 11.11.11.111 - - [08/Sep/2015:12:50:38 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260969122342&source=Tate&message=Your HTTP/1.1" 200 34 "-" "-" 11.11.11.111 - - [08/Sep/2015:12:51:05 +0200] "POST /bulksms/bulksms?username=pinking&password=1ejdued9&type=1&dlr=1&destination=260976028411&source=Tate&message=We%20are%20glad%20to%20inform%20that HTTP/1.1" 200 34 "-" "-" 2. Kannel access_log: 2015-09-08 12:57:34 Sent SMS [SMSC:panda] [SVC:smsgw] [ACT:] [BINF:] [FID:14fac9a93ab00001476a34f50e6f4607] [META:?smpp_resp?] [from:Tate] [to:260944973985] [flags:-1:0:-1:-1:31] [msg:106:Your account ..] [udh:0:] 2015-09-08 12:57:34 Sent SMS [SMSC:panda] [SVC:smsgw] [ACT:] [BINF:] [FID:14fac9a93ab00001476a34f50e6f4606] [META:?smpp_resp?] [from:Tate] [to:260944973985] [flags:-1:0:-1:-1:31] [msg:106:Your Account is now settled] [udh:0:] 2015-09-08 12:57:34 Sent SMS [SMSC:panda] [SVC:smsgw] [ACT:] [BINF:] [FID:14fac9a93ab00001476a34f50e6f4605] [META:?smpp_resp?] [from:Tate] [to:260944973985] [flags:-1:0:-1:-1:31] [msg:106: Your Name is now entered into the Show] [udh:0:] 2015-09-08 12:57:34 Sent SMS [SMSC:panda] [SVC:smsgw] [ACT:] [BINF:] [FID:14fac9a93ab00001476a34f50e6f4604] [META:?smpp_resp?] [from:Tate] [to:260944973985] [flags:-1:0:-1:-1:31] [msg:106: Your people are here] [udh:0:] 2015-09-08 12:57:34 Sent SMS [SMSC:panda] [SVC:smsgw] [ACT:] [BINF:] [FID:14fac9a93ab00001476a34f50e6f4603] [META:?smpp_resp?] [from:Tate] [to:260941328748] [flags:-1:0:-1:-1:31] [msg:106: Your team is Chelsea] [udh:0:] Regards, Lombe