Thanks a lot for the hint. It was very helpful. Having the dlr err response I've contacted with SMSC people and it turned out that there is a filter which forbade to send to another operators. The problem is fixed now.
But I have another question. In my config file I have store-type = "spool" store-location = "/var/spool/kannel/" I've looked at /var/spool/kannel/ and I saw a lot of empty directories. The questions are: 1. is the number of the directories constant or will grow infinitely? 2. if the number of the directories will grow - who should be responsible for deleting them (without deleting them the file system will crash) ? 3. btw: what is the rule of naming this directories? d. > Hi, > > Please specify in your sendsms url &dlr-mask=31 and repost maximum > detail relevant bb logs (of submission & reception (DLR) of the same > SMS). > > BR, > Nikos > ----- Original Message ----- From: "dorian" <[email protected]> > To: <[email protected]> > Sent: Tuesday, July 27, 2010 12:04 PM > Subject: sms is not delivered to phone > > >> Hi all. >> I am fresh user of the Kannel so I have probably typical beginner >> problem. >> I am using Nokia CIMD2 connection. >> >> After issuing the command: >> lynx >> "http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=0048999999999&text=mytestsms" >> >> (where 999999999 was my real phone number) >> >> I've got: >> 0: Accepted for delivery >> >> Anyway no SMS reached my phone. >> >> Any help will be appreciated. >> >> ------------------------------------------- >> Here are the logs: >> >> smsbox.log >> 2010-07-27 10:40:40 [13251] [2] DEBUG: HTTP: Creating HTTPClient for >> `127.0.0.1'. >> 2010-07-27 10:40:40 [13251] [2] DEBUG: HTTP: Creating HTTPClient for >> `127.0.0.1'. >> 2010-07-27 10:40:40 [13251] [2] DEBUG: HTTP: Created HTTPClient area >> 0x73e330. >> 2010-07-27 10:40:40 [13251] [2] DEBUG: HTTP: Created HTTPClient area >> 0x73e330. >> 2010-07-27 10:40:40 [13251] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <127.0.0.1> >> 2010-07-27 10:40:40 [13251] [3] INFO: smsbox: Got HTTP request >> </cgi-bin/sendsms> from <127.0.0.1> >> 2010-07-27 10:40:40 [13251] [3] INFO: sendsms used by <tester> >> 2010-07-27 10:40:40 [13251] [3] INFO: sendsms used by <tester> >> 2010-07-27 10:40:40 [13251] [3] INFO: sendsms sender:<tester:8765> >> (127.0.0.1) to:<0048999999999> msg:<mytestsms> >> 2010-07-27 10:40:40 [13251] [3] INFO: sendsms sender:<tester:8765> >> (127.0.0.1) to:<0048999999999> msg:<mytestsms> >> 2010-07-27 10:40:40 [13251] [3] DEBUG: Stored UUID >> cc3905f1-d8b8-4cef-8c4d-224bd54cdccc >> 2010-07-27 10:40:40 [13251] [3] DEBUG: Stored UUID >> cc3905f1-d8b8-4cef-8c4d-224bd54cdccc >> 2010-07-27 10:40:40 [13251] [3] DEBUG: message length 10, sending 1 >> messages >> 2010-07-27 10:40:40 [13251] [3] DEBUG: message length 10, sending 1 >> messages >> 2010-07-27 10:40:40 [13251] [3] DEBUG: Status: 202 Answer: <Sent.> >> 2010-07-27 10:40:40 [13251] [3] DEBUG: Status: 202 Answer: <Sent.> >> 2010-07-27 10:40:40 [13251] [3] DEBUG: Delayed reply - wait for >> bearerbox >> 2010-07-27 10:40:40 [13251] [3] DEBUG: Delayed reply - wait for >> bearerbox >> 2010-07-27 10:40:40 [13251] [0] DEBUG: Got ACK (0) of >> cc3905f1-d8b8-4cef-8c4d-224bd54cdccc >> 2010-07-27 10:40:40 [13251] [0] DEBUG: Got ACK (0) of >> cc3905f1-d8b8-4cef-8c4d-224bd54cdccc >> 2010-07-27 10:40:40 [13251] [0] DEBUG: HTTP: Destroying HTTPClient area >> 0x73e330. >> 2010-07-27 10:40:40 [13251] [0] DEBUG: HTTP: Destroying HTTPClient area >> 0x73e330. >> 2010-07-27 10:40:40 [13251] [0] DEBUG: HTTP: Destroying HTTPClient for >> `127.0.0.1'. >> 2010-07-27 10:40:40 [13251] [0] DEBUG: HTTP: Destroying HTTPClient for >> `127.0.0.1'. >> >> kannel.log >> 2010-07-27 10:40:40 [13130] [12] DEBUG: boxc_receiver: sms received >> 2010-07-27 10:40:40 [13130] [12] DEBUG: send_msg: sending msg to box: >> <127.0.0.1> >> >> bearerbox.log >> 2010-07-27 10:40:40 [13130] [12] DEBUG: boxc_receiver: sms received >> 2010-07-27 10:40:40 [13130] [12] DEBUG: send_msg: sending msg to box: >> <127.0.0.1> >> >> smsbox-access.log >> 2010-07-27 10:40:40 send-SMS request added - sender:tester:8765 >> 127.0.0.1 target:0048999999999 request: 'mytestsms' >> >> core-access.log >> Sent SMS [SMSC:moben] [SVC:tester] [ACT:] [BINF:] [FID:] [from:8765] >> [to:+48999999999] [flags:-1:0:-1:-1:-1] [msg:10:mytestsms] [udh:0:] >> >> >> smsc.log >> 2010-07-27 10:39:37 [13130] [6] DEBUG: CIMD2[moben]: sending >> <40:095 >> 47> >> 2010-07-27 10:39:37 [13130] [6] DEBUG: CIMD2[moben]: received: <90:095 >> 4C> >> >> >> 2010-07-27 10:39:43 [13130] [6] DEBUG: CIMD2[moben]: sending <40:097 49> >> 2010-07-27 10:39:43 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:097 4E> >> 2010-07-27 10:39:49 [13130] [6] DEBUG: CIMD2[moben]: sending <40:099 4B> >> 2010-07-27 10:39:49 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:099 50> >> 2010-07-27 10:39:55 [13130] [6] DEBUG: CIMD2[moben]: sending <40:101 3B> >> 2010-07-27 10:39:55 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:101 40> >> 2010-07-27 10:40:01 [13130] [6] DEBUG: CIMD2[moben]: sending <40:103 3D> >> 2010-07-27 10:40:01 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:103 42> >> 2010-07-27 10:40:07 [13130] [6] DEBUG: CIMD2[moben]: sending <40:105 3F> >> 2010-07-27 10:40:07 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:105 44> >> 2010-07-27 10:40:13 [13130] [6] DEBUG: CIMD2[moben]: sending <40:107 41> >> 2010-07-27 10:40:13 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:107 46> >> 2010-07-27 10:40:19 [13130] [6] DEBUG: CIMD2[moben]: sending <40:109 43> >> 2010-07-27 10:40:19 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:109 48> >> 2010-07-27 10:40:25 [13130] [6] DEBUG: CIMD2[moben]: sending <40:111 3C> >> 2010-07-27 10:40:25 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:111 41> >> 2010-07-27 10:40:31 [13130] [6] DEBUG: CIMD2[moben]: sending <40:113 3E> >> 2010-07-27 10:40:31 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:113 43> >> 2010-07-27 10:40:37 [13130] [6] DEBUG: CIMD2[moben]: sending <40:115 40> >> 2010-07-27 10:40:37 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:115 45> >> 2010-07-27 10:40:40 [13130] [6] DEBUG: CIMD2[moben]: sending message >> 2010-07-27 10:40:40 [13130] [6] DEBUG: CIMD2[moben]: sending <03:117 >> 021:+48999999999 023:8765 056:0 055:0 044:0 >> 033:mytestsms 2A> >> 2010-07-27 10:40:40 [13130] [6] DEBUG: CIMD2[moben]: received: <53:117 >> 021:48999999999 060:100727104039 >> 93> >> 2010-07-27 10:40:46 [13130] [6] DEBUG: CIMD2[moben]: sending <40:119 >> 44> >> >> 2010-07-27 10:40:46 [13130] [6] DEBUG: CIMD2[moben]: received: <90:119 >> 49> >> >> 2010-07-27 10:40:52 [13130] [6] DEBUG: CIMD2[moben]: sending <40:121 >> 3D> >> >> 2010-07-27 10:40:52 [13130] [6] DEBUG: CIMD2[moben]: received: <90:121 >> 42> >> >> 2010-07-27 10:40:58 [13130] [6] DEBUG: CIMD2[moben]: sending <40:123 >> 3F> >> >> 2010-07-27 10:40:58 [13130] [6] DEBUG: CIMD2[moben]: received: <90:123 >> 44> >> >> 2010-07-27 10:41:04 [13130] [6] DEBUG: CIMD2[moben]: sending <40:125 >> 41> >> >> 2010-07-27 10:41:04 [13130] [6] DEBUG: CIMD2[moben]: received: <90:125 >> 46> >> >> 2010-07-27 10:41:10 [13130] [6] DEBUG: CIMD2[moben]: sending <40:127 >> 43> >> >> 2010-07-27 10:41:10 [13130] [6] DEBUG: CIMD2[moben]: received: <90:127 >> 48> >> >> 2010-07-27 10:41:16 [13130] [6] DEBUG: CIMD2[moben]: sending <40:129 >> 45> >> >> 2010-07-27 10:41:16 [13130] [6] DEBUG: CIMD2[moben]: received: <90:129 >> 4A> >> >> 2010-07-27 10:41:22 [13130] [6] DEBUG: CIMD2[moben]: sending <40:131 >> 3E> >> >> 2010-07-27 10:41:22 [13130] [6] DEBUG: CIMD2[moben]: received: <90:131 >> 43> >> >> 2010-07-27 10:41:28 [13130] [6] DEBUG: CIMD2[moben]: sending <40:133 >> 40> >> >> 2010-07-27 10:41:28 [13130] [6] DEBUG: CIMD2[moben]: received: <90:133 >> 45> >> >> 2010-07-27 10:41:34 [13130] [6] DEBUG: CIMD2[moben]: sending <40:135 >> 42> >> >> 2010-07-27 10:41:34 [13130] [6] DEBUG: CIMD2[moben]: received: <90:135 >> 47> >> >> 2010-07-27 10:41:40 [13130] [6] DEBUG: CIMD2[moben]: sending <40:137 >> 44> >> >> 2010-07-27 10:41:40 [13130] [6] DEBUG: CIMD2[moben]: received: <90:137 >> 49> >> >> 2010-07-27 10:41:46 [13130] [6] DEBUG: CIMD2[moben]: sending <40:139 >> 46> >> >> 2010-07-27 10:41:46 [13130] [6] DEBUG: CIMD2[moben]: received: <90:139 >> 4B> >> >> 2010-07-27 10:41:52 [13130] [6] DEBUG: CIMD2[moben]: sending <40:141 >> 3F> >> >> 2010-07-27 10:41:52 [13130] [6] DEBUG: CIMD2[moben]: received: <90:141 >> 44> >> >> 2010-07-27 10:41:58 [13130] [6] DEBUG: CIMD2[moben]: sending <40:143 >> 41> >> >> 2010-07-27 10:41:58 [13130] [6] DEBUG: CIMD2[moben]: received: <90:143 >> 46> >> >> 2010-07-27 10:42:04 [13130] [6] DEBUG: CIMD2[moben]: sending <40:145 >> 43> >> >> 2010-07-27 10:42:04 [13130] [6] DEBUG: CIMD2[moben]: received: <90:145 >> 48> >> >> 2010-07-27 10:42:10 [13130] [6] DEBUG: CIMD2[moben]: sending <40:147 >> 45> >> >> 2010-07-27 10:42:10 [13130] [6] DEBUG: CIMD2[moben]: received: <90:147 >> 4A> >> >> 2010-07-27 10:42:16 [13130] [6] DEBUG: CIMD2[moben]: sending <40:149 >> 47> >> >> 2010-07-27 10:42:16 [13130] [6] DEBUG: CIMD2[moben]: received: <90:149 >> 4C> >> >> 2010-07-27 10:42:22 [13130] [6] DEBUG: CIMD2[moben]: sending <40:151 >> 40> >> >> 2010-07-27 10:42:22 [13130] [6] DEBUG: CIMD2[moben]: received: <90:151 >> 45> >> >> 2010-07-27 10:42:28 [13130] [6] DEBUG: CIMD2[moben]: sending <40:153 >> 42> >> >> 2010-07-27 10:42:28 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:153 47> >> 2010-07-27 10:42:34 [13130] [6] DEBUG: CIMD2[moben]: sending <40:155 44> >> 2010-07-27 10:42:34 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:155 49> >> 2010-07-27 10:42:40 [13130] [6] DEBUG: CIMD2[moben]: sending <40:157 46> >> 2010-07-27 10:42:40 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:157 4B> >> 2010-07-27 10:42:46 [13130] [6] DEBUG: CIMD2[moben]: sending <40:159 48> >> 2010-07-27 10:42:46 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:159 4D> >> 2010-07-27 10:42:52 [13130] [6] DEBUG: CIMD2[moben]: sending <40:161 41> >> 2010-07-27 10:42:52 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:161 46> >> 2010-07-27 10:42:58 [13130] [6] DEBUG: CIMD2[moben]: sending <40:163 43> >> 2010-07-27 10:42:58 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:163 48> >> 2010-07-27 10:43:04 [13130] [6] DEBUG: CIMD2[moben]: sending <40:165 45> >> 2010-07-27 10:43:04 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:165 4A> >> 2010-07-27 10:43:10 [13130] [6] DEBUG: CIMD2[moben]: sending <40:167 47> >> 2010-07-27 10:43:10 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:167 4C> >> 2010-07-27 10:43:16 [13130] [6] DEBUG: CIMD2[moben]: sending <40:169 49> >> 2010-07-27 10:43:16 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:169 4E> >> 2010-07-27 10:43:22 [13130] [6] DEBUG: CIMD2[moben]: sending <40:171 42> >> 2010-07-27 10:43:22 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:171 47> >> 2010-07-27 10:43:28 [13130] [6] DEBUG: CIMD2[moben]: sending <40:173 44> >> 2010-07-27 10:43:28 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:173 49> >> 2010-07-27 10:43:34 [13130] [6] DEBUG: CIMD2[moben]: sending <40:175 46> >> 2010-07-27 10:43:34 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:175 4B> >> 2010-07-27 10:43:40 [13130] [6] DEBUG: CIMD2[moben]: sending <40:177 48> >> 2010-07-27 10:43:40 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:177 4D> >> 2010-07-27 10:43:46 [13130] [6] DEBUG: CIMD2[moben]: sending <40:179 4A> >> 2010-07-27 10:43:46 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:179 4F> >> 2010-07-27 10:43:52 [13130] [6] DEBUG: CIMD2[moben]: sending <40:181 43> >> 2010-07-27 10:43:52 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:181 48> >> 2010-07-27 10:43:58 [13130] [6] DEBUG: CIMD2[moben]: sending <40:183 45> >> 2010-07-27 10:43:58 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:183 4A> >> 2010-07-27 10:44:04 [13130] [6] DEBUG: CIMD2[moben]: sending <40:185 47> >> 2010-07-27 10:44:04 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:185 4C> >> 2010-07-27 10:44:10 [13130] [6] DEBUG: CIMD2[moben]: sending <40:187 49> >> 2010-07-27 10:44:10 [13130] [6] DEBUG: CIMD2[moben]: received: >> <90:187 4E> >> >> and finally the .conf file >> >> group = core >> admin-port = 13000 >> admin-password = bar >> status-password = foo >> smsbox-port = 13001 >> box-deny-ip = "*.*.*.*" >> box-allow-ip = "127.0.0.1" >> log-file = "/var/log/kannel/kannel.log" >> log-level = 0 >> access-log = "/var/log/kannel/core-access.log" >> access-log-clean = true >> unified-prefix = "+48,0048,0" >> store-type = "spool" >> store-location = "/var/spool/kannel/" >> dlr-storage = internal >> >> # SMSC Nokia CIMD2 >> group = smsc >> smsc = cimd2 >> smsc-id = "moben" >> unified-prefix = "+48,0048,0" >> our-host = "xxx.xxx.xxx.xxx" >> log-file = "/var/log/kannel/smsc.log" >> log-level = 0 >> host = "yyy.yyy.yyy.yyy" >> port = 9999 >> smsc-username = "username" >> smsc-password = "password" >> keepalive = 5 >> #my-number = "8765" >> sender-prefix = "" >> >> # SMSBOX SETUP >> group = smsbox >> bearerbox-host = localhost >> sendsms-port = 13013 >> sendsms-chars = "0123456789 +-" >> global-sender = 8765 >> log-file = "/var/log/kannel/smsbox.log" >> log-level = 0 >> access-log = "/var/log/kannel/smsbox-access.log" >> >> >> # SEND-SMS USERS -----------sekcja do zrobienia! >> group = sendsms-user >> username = tester >> password = foobar >> >> >> # SMS SERVICE Default >> # there should be default always >> group = sms-service >> keyword = default >> text = "No service specified" >> >> > >
