Below is my current config.

group = core
admin-port = 13015
admin-password = hard2guess
#admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
dlr-storage = internal
smsbox-port = 13016
#wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
access-log = "/var/log/kannel/access.log"
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-level = 0

#group = wapbox
#bearerbox-host = localhost
#log-file = "/var/log/kannel/wapbox.log"
group = smsc
smsc-id = huawei_e220
smsc = at
modemtype = huawei
device= /dev/ttyUSB0
my-number = +91
connect-allow-ip = 127.0.0.1
sim-buffering = true
log-level = 0


group = modems
id = huawei_e220
name = "Huawei"
detect-string = "huawei"
init-string = "ATZ"
init-string = "AT+CMEE=1"
#init-string = "AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
init-string = "AT+CNMI=2,1,2,2,0"
message-storage = SM
message-start = 0

group = smsbox
smsbox-id = mysmsc
bearerbox-host = 2
#bearerbox-port = 13018
sendsms-port = 13018
global-sender = +91
access-log = "/var/log/kannel/smsbox-access.log"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
mo-recode = true

group = smsbox-route
smsbox-id = mysmsc
smsc-id = huawei_e220

group = sendsms-user
username =
password = hard2guess
concatenation= true
max-messages = 10000

group = sms-service
keyword-regex = .*
catch-all = yes
accepted-smsc = huawei_e220
max-messages = 3
get-url = "http://localhost/~harbhag/test.php?phone=%p&text=%a";


group = sqlbox
id = sqlbox-db
smsbox-id = mysmsc
global-sender = "+91"
bearerbox-host = 202
bearerbox-port = 13016
smsbox-port = 13017
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/kannel-sqlbox.log"
log-level = 0

On Sun, May 1, 2011 at 6:32 PM, Nikos Balkanas <[email protected]> wrote:
> Yes, it is solvable. bb doesn't read your MOs because of modem
> misconfiguration. Please post your configuration.
>
> BR,
> Nikos
> On Sun, May 1, 2011 at 3:15 PM, Harbhag Singh Sohal
> <[email protected]> wrote:
>>
>> This is what I receive from kannel when I send MO.
>>
>> 2011-05-01 08:40:51 SMS HTTP-request sender:+91********** request:
>> 'Hello Thanks for sending SMS' url:
>> 'http://202.164.53.116/~harbhag/test.php?phone=%2B91*********&text='
>> reply: 200 '<< successful >>'
>>
>> This is from the smsbox-access.log.
>> I want kannel to send this sms for every MO. But it does not do that
>> and also there is not any error in logs as you have already seen it. I
>> receive this for only 3 SMSs continuously and after that I need to
>> restart kannel and reset modem.
>> Please , is this solvable or I am out of luck.
>>
>>
>> On Sun, May 1, 2011 at 3:47 PM, Nikos Balkanas <[email protected]>
>> wrote:
>> > Where do these logs demonstrate the problem? I don't see any problems in
>> > them.
>> >
>> > BR,
>> > Nikos
>> > On Sun, May 1, 2011 at 7:28 AM, Harbhag Singh Sohal
>> > <[email protected]> wrote:
>> >>
>> >> Bearerbox log
>> >>
>> >> 2011-05-01 09:27:41 [20261] [6] INFO: AT2[huawei_e220]: opening device
>> >> 2011-05-01 09:27:41 [20261] [0] INFO: Kannel bearerbox II version 1.5.0
>> >> starting
>> >> 2011-05-01 09:27:41 [20261] [0] INFO: MAIN: Start-up done, entering
>> >> mainloop
>> >> 2011-05-01 09:27:41 [20261] [0] DEBUG: AT2[huawei_e220]: start called
>> >> 2011-05-01 09:27:41 [20261] [7] DEBUG: Thread 7
>> >> (gw/bb_smscconn.c:sms_router) maps to pid 20261.
>> >> 2011-05-01 09:27:41 [20261] [6] DEBUG: AT2[huawei_e220]: device
>> >> opened. Telnet mode = 0
>> >> 2011-05-01 09:27:42 [20261] [6] DEBUG: AT2[huawei_e220]: device opened
>> >> 2011-05-01 09:27:42 [20261] [6] INFO: AT2[huawei_e220]: speed set to
>> >> 115200
>> >> 2011-05-01 09:27:42 [20261] [6] DEBUG: AT2[huawei_e220]: --> ^M
>> >> 2011-05-01 09:27:44 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT^M
>> >> 2011-05-01 09:27:44 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:44 [20261] [6] INFO: AT2[huawei_e220]: Closing device
>> >> 2011-05-01 09:27:44 [20261] [6] INFO: AT2[huawei_e220]: detect speed is
>> >> 115200
>> >> 2011-05-01 09:27:44 [20261] [6] DEBUG: AT2[huawei_e220]: detecting
>> >> modem
>> >> type
>> >> 2011-05-01 09:27:44 [20261] [6] INFO: AT2[huawei_e220]: opening device
>> >> 2011-05-01 09:27:44 [20261] [6] DEBUG: AT2[huawei_e220]: device
>> >> opened. Telnet mode = 0
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: device opened
>> >> 2011-05-01 09:27:45 [20261] [6] INFO: AT2[huawei_e220]: speed set to
>> >> 115200
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: --> ATZ^M
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT^M
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: <-- AT
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:45 [20261] [6] DEBUG: AT2[huawei_e220]: --> ^M
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT^M
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- AT
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT&F^M
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- AT&F
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: --> ATE0^M
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- ATE0
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: --> ATI^M
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <--
>> >> Manufacturer: huawei
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- Model:
>> >> E220
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- Revision:
>> >> 11.117.10.00.00
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- IMEI:
>> >> 358192019381758
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +GCAP:
>> >> +CGSM,+DS,+ES
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: found string
>> >> <huawei>, using modem definition <Huawei>
>> >> 2011-05-01 09:27:47 [20261] [6] DEBUG: AT2[huawei_e220]: -->
>> >> AT+CSMS=?^M
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CSMS:
>> >> (0-1)
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:48 [20261] [6] INFO: AT2[huawei_e220]: Closing device
>> >> 2011-05-01 09:27:48 [20261] [6] INFO: AT2[huawei_e220]: opening device
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: device
>> >> opened. Telnet mode = 0
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: device opened
>> >> 2011-05-01 09:27:48 [20261] [6] INFO: AT2[huawei_e220]: Logging in
>> >> 2011-05-01 09:27:48 [20261] [6] INFO: AT2[huawei_e220]: init device
>> >> 2011-05-01 09:27:48 [20261] [6] INFO: AT2[huawei_e220]: speed set to
>> >> 115200
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: --> ATZ^M
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT^M
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: <-- AT
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:48 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT&F^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- AT&F
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: --> ATE0^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- ATE0
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: -->
>> >> AT+IFC=2,2^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPIN?^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPIN:
>> >> READY
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: -->
>> >> AT+CMGF=0^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: -->
>> >> AT+CSMS=?^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: -->
>> >> AT+CNMI=2,1,2,2,0^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CSMS:
>> >> (0-1)
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:27:49 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:27:53 [20261] [5] INFO: Client connected from
>> >> <202.164.53.116>
>> >> 2011-05-01 09:27:53 [20261] [5] DEBUG: Started thread 8
>> >> (gw/bb_boxc.c:function)
>> >> 2011-05-01 09:27:53 [20261] [8] DEBUG: Thread 8
>> >> (gw/bb_boxc.c:function) maps to pid 20261.
>> >> 2011-05-01 09:27:53 [20261] [8] DEBUG: Started thread 9
>> >> (gw/bb_boxc.c:boxc_sender)
>> >> 2011-05-01 09:27:53 [20261] [8] DEBUG: boxc_receiver: got boxc_id
>> >> <mysmsc> from <202.164.53.116>
>> >> 2011-05-01 09:27:53 [20261] [9] DEBUG: Thread 9
>> >> (gw/bb_boxc.c:boxc_sender) maps to pid 20261.
>> >> 2011-05-01 09:27:59 [20261] [5] INFO: Client connected from
>> >> <202.164.53.116>
>> >> 2011-05-01 09:27:59 [20261] [5] DEBUG: Started thread 10
>> >> (gw/bb_boxc.c:function)
>> >> 2011-05-01 09:27:59 [20261] [10] DEBUG: Thread 10
>> >> (gw/bb_boxc.c:function) maps to pid 20261.
>> >> 2011-05-01 09:27:59 [20261] [10] DEBUG: Started thread 11
>> >> (gw/bb_boxc.c:boxc_sender)
>> >> 2011-05-01 09:27:59 [20261] [11] DEBUG: Thread 11
>> >> (gw/bb_boxc.c:boxc_sender) maps to pid 20261.
>> >> 2011-05-01 09:27:59 [20261] [10] DEBUG: boxc_receiver: got boxc_id
>> >> <mysmsc> from <202.164.53.116>
>> >> 2011-05-01 09:28:51 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:28:51 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:28:51 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:29:53 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:29:53 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:29:53 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:30:55 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:30:55 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:30:55 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:31:57 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:31:57 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:31:57 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:32:59 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:32:59 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:32:59 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:34:01 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:34:01 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:34:01 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >> 2011-05-01 09:35:03 [20261] [6] DEBUG: AT2[huawei_e220]: --> AT+CPMS?^M
>> >> 2011-05-01 09:35:03 [20261] [6] DEBUG: AT2[huawei_e220]: <-- +CPMS:
>> >> "SM",0,20,"SM",0,20,"SM",0,20
>> >> 2011-05-01 09:35:03 [20261] [6] DEBUG: AT2[huawei_e220]: <-- OK
>> >>
>> >> smsbox log
>> >>
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG: Kannel smsbox version 1.5.0
>> >> starting
>> >> 2011-05-01 08:39:58 [13669] [2] DEBUG: Thread 2
>> >> (gwlib/http.c:server_thread) maps to pid 13669.
>> >> 2011-05-01 08:39:58 [13669] [2] DEBUG: HTTP: Including port 13018, fd
>> >> 8 for polling in server thread
>> >> 2011-05-01 08:39:58 [13669] [3] DEBUG: Thread 3
>> >> (gw/smsbox.c:sendsms_thread) maps to pid 13669.
>> >> 2011-05-01 08:39:58 [13669] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> >> maps to pid 13669.
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG:   dumping group (sendsms-user):
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG:     <group> = <sendsms-user>
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG:     <max-messages> = <10000>
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG:     <username> = <foo>
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG:     <concatenation> = <true>
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG:     <password> = <bar>
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG: Started thread 4
>> >> (gw/smsbox.c:obey_request_thread)
>> >> 2011-05-01 08:39:58 [13669] [4] DEBUG: Thread 4
>> >> (gw/smsbox.c:obey_request_thread) maps to pid 13669.
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG: Started thread 5
>> >> (gw/smsbox.c:url_result_thread)
>> >> 2011-05-01 08:39:58 [13669] [5] DEBUG: Thread 5
>> >> (gw/smsbox.c:url_result_thread) maps to pid 13669.
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG: Started thread 6
>> >> (gw/smsbox.c:http_queue_thread)
>> >> 2011-05-01 08:39:58 [13669] [6] DEBUG: Thread 6
>> >> (gw/smsbox.c:http_queue_thread) maps to pid 13669.
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG: Connecting to <202.164.53.116>
>> >> 2011-05-01 08:39:58 [13669] [0] INFO: Connected to bearerbox at
>> >> 202.164.53.116 port 13016.
>> >> 2011-05-01 08:39:58 [13669] [0] DEBUG: Started thread 7
>> >> (gw/heartbeat.c:heartbeat_thread)
>> >> 2011-05-01 08:39:58 [13669] [7] DEBUG: Thread 7
>> >> (gw/heartbeat.c:heartbeat_thread) maps to pid 13669.
>> >> 2011-05-01 08:40:51 [13669] [4] DEBUG: match found: .*
>> >> 2011-05-01 08:40:51 [13669] [4] INFO: Starting to service <A1> from
>> >> <+919**********> to <+91****************>
>> >> 2011-05-01 08:40:51 [13669] [4] DEBUG: Started thread 8
>> >> (gwlib/fdset.c:poller)
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller)
>> >> maps to pid 13669.
>> >> 2011-05-01 08:40:51 [13669] [4] DEBUG: Started thread 9
>> >> (gwlib/http.c:write_request_thread)
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG: Thread 9
>> >> (gwlib/http.c:write_request_thread) maps to pid 13669.
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG: Queue contains 0 pending
>> >> requests.
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG: Parsing URL
>> >>
>> >> `http://***************/~harbhag/test.php?phone=%2B91************&text=':
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Scheme: http://
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Host: 202.164.53.116
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Port: 80
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Username: (null)
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Password: (null)
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Path: /~harbhag/test.php
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Query:
>> >> phone=%2B91************&text=
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG:   Fragment: (null)
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG: Connecting nonblocking to
>> >> <*************>
>> >>
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG: HTTP: Opening connection to
>> >> `***********:80' (fd=28).
>> >> 2011-05-01 08:40:51 [13669] [9] DEBUG: Socket connecting
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: Get info about connecting socket
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: HTTP: Sending request:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: Octet string at 0x868b378:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   len:  135
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   size: 1024
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   immutable: 0
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 47 45 54 20 2f 7e 68 61
>> >> 72 62 68 61 67 2f 74 65   GET /~harbhag/te
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 73 74 2e 70 68 70 3f 70
>> >> 68 6f 6e 65 3d 25 32 42   st.php?phone=%2B
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 39 31 39 34 36 33 30 33
>> >> 30 37 31 33 26 74 65 78   919463030713&tex
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 74 3d 20 48 54 54 50 2f
>> >> 31 2e 31 0d 0a 48 6f 73   t= HTTP/1.1..Hos
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 74 3a 20 32 30 32 2e 31
>> >> 36 34 2e 35 33 2e 31 31   t: 202.164.53.11
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 36 0d 0a 43 6f 6e 6e 65
>> >> 63 74 69 6f 6e 3a 20 6b   6..Connection: k
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 65 65 70 2d 61 6c 69 76
>> >> 65 0d 0a 55 73 65 72 2d   eep-alive..User-
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 41 67 65 6e 74 3a 20 4b
>> >> 61 6e 6e 65 6c 2f 31 2e   Agent: Kannel/1.
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 35 2e 30 0d 0a 0d 0a
>> >>                          5.0....
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: Octet string dump ends.
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: HTTP: Status line: <HTTP/1.1 200
>> >> OK>
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: HTTP: Received response:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: Octet string at 0x868b368:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   len:  314
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   size: 1024
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   immutable: 0
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 44 61 74 65 3a 20 53 75
>> >> 6e 2c 20 30 31 20 4d 61   Date: Sun, 01 Ma
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 79 20 32 30 31 31 20 30
>> >> 33 3a 31 30 3a 35 31 20   y 2011 03:10:51
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 47 4d 54 0d 0a 53 65 72
>> >> 76 65 72 3a 20 41 70 61   GMT..Server: Apa
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 63 68 65 2f 32 2e 32 2e
>> >> 31 34 20 28 55 62 75 6e   che/2.2.14 (Ubun
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 74 75 29 0d 0a 58 2d 50
>> >> 6f 77 65 72 65 64 2d 42   tu)..X-Powered-B
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 79 3a 20 50 48 50 2f 35
>> >> 2e 33 2e 32 2d 31 75 62   y: PHP/5.3.2-1ub
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 75 6e 74 75 34 2e 38 0d
>> >> 0a 56 61 72 79 3a 20 41   untu4.8..Vary: A
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 63 63 65 70 74 2d 45 6e
>> >> 63 6f 64 69 6e 67 0d 0a   ccept-Encoding..
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 43 6f 6e 74 65 6e 74 2d
>> >> 4c 65 6e 67 74 68 3a 20   Content-Length:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 38 32 0d 0a 4b 65 65 70
>> >> 2d 41 6c 69 76 65 3a 20   82..Keep-Alive:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 74 69 6d 65 6f 75 74 3d
>> >> 31 35 2c 20 6d 61 78 3d   timeout=15, max=
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 31 30 30 0d 0a 43 6f 6e
>> >> 6e 65 63 74 69 6f 6e 3a   100..Connection:
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 20 4b 65 65 70 2d 41 6c
>> >> 69 76 65 0d 0a 43 6f 6e    Keep-Alive..Con
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 74 65 6e 74 2d 54 79 70
>> >> 65 3a 20 74 65 78 74 2f   tent-Type: text/
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 68 74 6d 6c 0d 0a 0d 0a
>> >> 3c 68 74 6d 6c 3e 3c 68   html....<html><h
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 65 61 64 3e 3c 74 69 74
>> >> 6c 65 3e 48 65 6c 6c 6f   ead><title>Hello
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 3c 2f 74 69 74 6c 65 3e
>> >> 3c 2f 68 65 61 64 3e 0a   </title></head>.
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 3c 62 6f 64 79 3e 54 68
>> >> 61 6e 6b 73 20 66 6f 72   <body>Thanks for
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 20 73 65 6e 64 69 6e 67
>> >> 20 53 4d 53 3c 2f 62 6f    sending SMS</bo
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG:   data: 64 79 3e 3c 2f 68 74 6d
>> >> 6c 3e                     dy></html>
>> >> 2011-05-01 08:40:51 [13669] [8] DEBUG: Octet string dump ends.
>> >> 2011-05-01 08:40:51 [13669] [5] DEBUG: message length 28, sending 1
>> >> messages
>> >> 2011-05-01 08:40:51 [13669] [0] DEBUG: Got ACK (0) of
>> >> 8ec25e4d-7fcd-4cd3-9597-ba6e6aa92d8b
>> >> 2011-05-01 08:40:51 [13669] [0] DEBUG: No client - multi-send or ACK
>> >> to pull-reply
>> >> 2011-05-01 08:41:06 [13669] [8] DEBUG: HTTP: Server closed connection,
>> >> destroying it <202.164.53.116:80:0::><0x8690ba8><fd:28>.
>> >> 2011-05-01 09:27:35 [13669] [0] INFO: Bearerbox told us to die
>> >> 2011-05-01 09:27:35 [13669] [0] INFO: Received (and handled?) 1
>> >> requests in 2804 seconds (0.00 per second)
>> >> 2011-05-01 09:27:35 [13669] [0] INFO: Kannel smsbox terminating.
>> >> 2011-05-01 09:27:35 [13669] [7] DEBUG: Thread 7
>> >> (gw/heartbeat.c:heartbeat_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [0] DEBUG: Waiting for 2
>> >> (gwlib/http.c:server_thread) to terminate
>> >> 2011-05-01 09:27:35 [13669] [3] DEBUG: HTTP: No clients with requests,
>> >> quitting.
>> >> 2011-05-01 09:27:35 [13669] [3] DEBUG: Thread 3
>> >> (gw/smsbox.c:sendsms_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [2] DEBUG: Thread 2
>> >> (gwlib/http.c:server_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> >> terminates.
>> >> 2011-05-01 09:27:35 [13669] [0] DEBUG: Waiting for 4
>> >> (gw/smsbox.c:obey_request_thread) to terminate
>> >> 2011-05-01 09:27:35 [13669] [6] DEBUG: Thread 6
>> >> (gw/smsbox.c:http_queue_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [4] DEBUG: Thread 4
>> >> (gw/smsbox.c:obey_request_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [0] DEBUG: Waiting for 5
>> >> (gw/smsbox.c:url_result_thread) to terminate
>> >> 2011-05-01 09:27:35 [13669] [5] DEBUG: Thread 5
>> >> (gw/smsbox.c:url_result_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [0] DEBUG: Waiting for 9
>> >> (gwlib/http.c:write_request_thread) to terminate
>> >> 2011-05-01 09:27:35 [13669] [9] DEBUG: Thread 9
>> >> (gwlib/http.c:write_request_thread) terminates.
>> >> 2011-05-01 09:27:35 [13669] [8] DEBUG: Thread 8 (gwlib/fdset.c:poller)
>> >> terminates.
>> >> 2011-05-01 09:27:35 [13669] [0] DEBUG: Immutable octet strings: 262.
>> >> 2011-05-01 09:27:59 [20277] [0] INFO: Added logfile
>> >> `/var/log/kannel/smsbox.log' with level `0'.
>> >> 2011-05-01 09:27:59 [20277] [0] INFO: Service global sender set as
>> >> '+919417212503'
>> >> 2011-05-01 09:27:59 [20277] [0] INFO: Logging accesses to
>> >> '/var/log/kannel/smsbox-access.log'.
>> >> 2011-05-01 09:27:59 [20277] [0] INFO: Started access logfile
>> >> `/var/log/kannel/smsbox-access.log'.
>> >> 2011-05-01 09:27:59 [20277] [0] INFO: HTTP: Opening server at port
>> >> 13018.
>> >> 2011-05-01 09:27:59 [20277] [0] DEBUG: Started thread 1
>> >> (gwlib/fdset.c:poller)
>> >> 2011-05-01 09:27:59 [20277] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> >> maps to pid 20277.
>> >> 2011-05-01 09:27:59 [20277] [0] DEBUG: Started thread 2
>> >> (gwlib/http.c:server_thread)
>> >> 2011-05-01 09:27:59 [20277] [2] DEBUG: Thread 2
>> >> (gwlib/http.c:server_thread) maps to pid 20277.
>> >>
>> >> 2011/5/1 Nikos Balkanas <[email protected]>:
>> >> > Hi,
>> >> >
>> >> > Please post detailed bb logs and smsbox logs demonstrating the
>> >> > problem.
>> >> >
>> >> > BR,
>> >> > Nikos
>> >> > ----- Original Message ----- From: "Harbhag Singh Sohal"
>> >> > <[email protected]>
>> >> > To: <[email protected]>
>> >> > Sent: Sunday, May 01, 2011 6:21 AM
>> >> > Subject: Re: kannel responds to max 3 messages
>> >> >
>> >> >
>> >> >> No, I did not mean that. It does not reply even for shorter
>> >> >> messages.
>> >> >> Like messages containing less than 10 characters.
>> >> >> I read the UG about max-messages and I think it specify in how many
>> >> >> no. of parts a messages should be aplit if its more than 160 chars.
>> >> >> But I have fixed reply message. Whenver kannel receives SMS , I just
>> >> >> want it to reply back with "Thanks for Sending SMS".
>> >> >> and Kannel does this only for upto 3 SMS and then I need to restart
>> >> >> kannel and reset modem to get reply for 3 more SMS and then on and
>> >> >> on
>> >> >> and on.....
>> >> >>
>> >> >> 2011/5/1 Nikos Balkanas <[email protected]>:
>> >> >>>
>> >> >>> Hi,
>> >> >>>
>> >> >>> You specify in sms-service:
>> >> >>>
>> >> >>> max-messages = 3
>> >> >>>
>> >> >>> and you are wandering why kannel doesn't reply for longer messages?
>> >> >>> Have
>> >> >>> you
>> >> >>> read the UG about it?
>> >> >>>
>> >> >>> BR,
>> >> >>> Nikos
>> >> >>> ----- Original Message ----- From: "Harbhag Singh Sohal"
>> >> >>> <[email protected]>
>> >> >>> To: <[email protected]>
>> >> >>> Sent: Saturday, April 30, 2011 8:31 PM
>> >> >>> Subject: kannel responds to max 3 messages
>> >> >>>
>> >> >>>
>> >> >>>> this is my sms-service group
>> >> >>>> group = sms-service
>> >> >>>> keyword-regex = .*
>> >> >>>> catch-all = yes
>> >> >>>> accepted-smsc = huawei_e220
>> >> >>>> max-messages = 3
>> >> >>>> get-url = "http://localhost/~harbhag/test.php?phone=%p&text=%a";
>> >> >>>>
>> >> >>>> On receiving MO, kannel replies back to the mobile. But it replies
>> >> >>>> back to max 3 SMS after that, it starts storing SMS in the
>> >> >>>> database
>> >> >>>> in
>> >> >>>> sent_sms table of sqlbox as MO.
>> >> >>>>
>> >> >>>> I want that kannel replies to every message that It receives. How
>> >> >>>> can
>> >> >>>> I achieve this ?
>> >> >>>>
>> >> >>>> Thanks
>> >> >>>>
>> >> >>>> --
>> >> >>>> Harbhag Singh Sohal
>> >> >>>> www.harbhag.wordpress.com
>> >> >>>>
>> >> >>>
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Harbhag Singh Sohal
>> >> >> www.harbhag.wordpress.com
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Harbhag Singh Sohal
>> >> www.harbhag.wordpress.com
>> >>
>> >
>> >
>>
>>
>>
>> --
>> Harbhag Singh Sohal
>> www.harbhag.wordpress.com
>>
>
>



-- 
Harbhag Singh Sohal
www.harbhag.wordpress.com

Reply via email to