I read it, it does not matter what is in log file, Not found, ok or failure. My question was about Delivery report not http smsc response.
At the bottom of log file you can see SMSC[EXTERNAL]: creating DLR message So this DLR messages inserted to dlr table but esme doesn't receive it. I need to find why esme didn't got deliver_sm ? Thanks Date: Wed, 11 Aug 2010 11:34:55 +0200 Subject: Re: dlr smppbox From: [email protected] To: [email protected] CC: [email protected]; [email protected] Did you _really_ read the log entry? It shows "404 Not Found" and a reference to "www.azeriguide.co.uk", does that ring any bells? Regards, Alex On Wed, Aug 11, 2010 at 11:17 AM, Imran Aghayev <[email protected]> wrote: This is what I have in bearebox log. smppbox inserts into dlr table and that is ok. But esme didnt receive DLR message. Maybe problem is in boxc name SMPP ? How to set smppbox name to SMPP ? Thanks 2010-08-10 22:23:51 [9436] [9] ERROR: HTTP[EXTERNAL]: Message was rejected. SMSC reponse was: 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string at 0x81ab8b8: 2010-08-10 22:23:51 [9436] [9] DEBUG: len: 278 2010-08-10 22:23:51 [9436] [9] DEBUG: size: 279 2010-08-10 22:23:51 [9436] [9] DEBUG: immutable: 0 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 21 44 4f 43 54 59 50 45 20 48 54 4d 4c 20 50 <!DOCTYPE HTML P 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 55 42 4c 49 43 20 22 2d 2f 2f 49 45 54 46 2f 2f UBLIC "-//IETF// 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 44 54 44 20 48 54 4d 4c 20 32 2e 30 2f 2f 45 4e DTD HTML 2.0//EN 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 22 3e 0a 3c 68 74 6d 6c 3e 3c 68 65 61 64 3e 0a ">.<html><head>. 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3c 74 69 74 6c 65 3e 34 30 34 20 4e 6f 74 20 46 <title>404 Not F 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68 ound</title>.</h 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 61 64 3e 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e ead><body>.<h1>N 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 74 20 46 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 70 ot Found</h1>.<p 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 3e 54 68 65 20 72 65 71 75 65 73 74 65 64 20 55 >The requested U 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 52 4c 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e 64 RL /cgi-bin/send 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 73 6d 73 20 77 61 73 20 6e 6f 74 20 66 6f 75 6e sms was not foun 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 20 6f 6e 20 74 68 69 73 20 73 65 72 76 65 72 d on this server 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 2e 3c 2f 70 3e 0a 3c 68 72 3e 0a 3c 61 64 64 72 .</p>.<hr>.<addr 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 65 73 73 3e 20 20 53 65 72 76 65 72 20 61 74 20 ess> Server at 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 77 77 77 2e 61 7a 65 72 69 67 75 69 64 65 2e 63 www.azeriguide.c 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 6f 2e 75 6b 20 50 6f 72 74 20 38 30 3c 2f 61 64 o.uk Port 80</ad 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 64 72 65 73 73 3e 0a 3c 2f 62 6f 64 79 3e 3c 2f dress>.</body></ 2010-08-10 22:23:51 [9436] [9] DEBUG: data: 68 74 6d 6c 3e 0a html>. 2010-08-10 22:23:51 [9436] [9] DEBUG: Octet string dump ends. 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: creating DLR message 2010-08-10 22:23:51 [9436] [9] DEBUG: SMSC[EXTERNAL]: DLR = c2ec14d5 2010-08-10 22:23:51 [9436] [27] DEBUG: send_msg: sending msg to boxc: <SMPP> 2010-08-10 22:23:51 [9436] [27] DEBUG: boxc_sender: sent message to <127.0.0.1> From: [email protected] To: [email protected]; [email protected] Subject: RE: dlr smppbox Date: Wed, 11 Aug 2010 00:26:45 +0200 1. Registered_delivery flag is not a Kannel variable. It can be set to 1 or 0. For its designated purposes, I refer to the SMPP specifications. 2. If you set registered_delivery flag to 1, you should get a delivery report (deliver_sm), once upon Kannel receives it. Do you see anything in your bearerbox logs indicating about that? == Rene From: Imran Aghayev [mailto:[email protected]] Sent: Tuesday, 10 August, 2010 22:47 To: [email protected]; [email protected] Subject: RE: dlr smppbox Thanks, I have 2 more questions: 1. When I set registered_delivery flag to 1 kannel writes to dlr table but when I set registed_delivery flag to 31 (1f in hex) it does not write anything. Why and what is wrong ? 2. I use php esme client and after submit_sm I got only submit_sm_resp. Then I wait for next PDU but never got deliver_sm pdu. Why ? Thanks From: [email protected] To: [email protected]; [email protected] Subject: RE: dlr smppbox Date: Tue, 10 Aug 2010 20:02:59 +0200 You will get a deliver_sm for every message that you request a delivery report for. From: [email protected] [mailto:[email protected]] On Behalf Of Imran Aghayev Sent: Tuesday, 10 August, 2010 19:12 To: [email protected] Subject: dlr smppbox Dear all, What happens if I will request Delivery report from smppbox ? Thanks
