Hello to all,
                 I am using gateway from trunk and want to send the
sms from nokia-2700 classic, my sms are in queue not send i mentioned
the status. so kindly help me to solve this problem.



Kannel bearerbox version `svn-r4951M'. Build `Feb 21 2012 18:09:35',
compiler `4.4.6 20110731 (Red Hat 4.4.6-3)'. System Linux, release
2.6.32-71.el6.i686, version #1 SMP Fri Nov 12 04:17:17 GMT 2010,
machine i686. Hostname localhost.localdomain, IP 127.0.0.1. Libxml
version 2.7.6. Using OpenSSL 1.0.0-fips 29 Mar 2010. Compiled with
MySQL 5.1.52, using MySQL 5.1.52. Using native malloc.

Status: running, uptime 0d 0h 42m 5s

WDP: received 0 (0 queued), sent 0 (0 queued)

SMS: received 0 (0 queued), sent 0 (2 queued), store size 2
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: received 0, sent 0
DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
DLR: 0 queued, using mysql storage

Box connections:
    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 39m 39s)

SMSC connections:
    nokia[nokia]    AT2[nokia] (online 2523s, rcvd: sms 0
(0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 0
(0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs)


and my configuration file is look like as

group = core
admin-port = 13000
smsbox-port = 13003
admin-password = admin
status-password = daily
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "192.168.*.*;127.0.0.1; localhost"
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.*.*;127.0.0.1; localhost"
log-file = "/var/log/kannel/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
sms-incoming-queue-limit = -1
store-type = file
store-location = /knl_backup
store-dump-freq = 2
dlr-storage= mysql

group = smsc
smsc = at
smsc-id = "nokia"
#modemtype = huawei
#device = /dev/ttyUSB0
#modemtype = mtk2
modemtype = nokia
device = /dev/ttyACM0
speed = 9600
keepalive = 5
#allowed-smsc-id = "nokia"
my-number = 919910022741
sms-center = 919810051914
#my-number = 918420200877
connect-allow-ip = 127.0.0.1
log-level = 0
allowed-smsc-id = "nokia"

group = smsbox
#smsbox-id = sqlbox
bearerbox-host = localhost
#bearerbox-port = 13003
sendsms-port = 13131
sendsms-url = "/"
global-sender = 919910022741
#global-sender = 918420200877
log-level = 0
access-log = /var/log/kannel/smsbox.access
log-file = /var/log/kannel/smsbox.log


group = sendsms-user
username = kanneluser
password = admin
concatenation= true
user-allow-ip = "*.*.*.*"
max-messages = 10

group = sms-service
keyword = default
#keyword-regex = .*
catch-all = true
max-messages = 1
get-url = http://localhost/save_msg.php?q=%k&sender=%p&message=%a
#get-url = "http://localhost/index.php?msisdn=%p&keyword=%k&content=%r";;

# DLR with MySQL support configuration
group = mysql-connection
id = mydlr
host = localhost
username = *****
password = *****
database = msg_dlr
max-connections = 1

group = dlr-db
id = mydlr
table = sms_dlr
field-smsc = smsc
field-timestamp = ts
field-source = source
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

group = modems
#id = huawei
#name = "Huawei"
id = nokia
name = "Nokia Classic2700"
#id = mtk2
#name = "MTK2"
detect-string = "ATI"
init-string = "AT+CNMI=1,2,0,0,1"
#init-srting = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
speed = 115200
message-storage = "ME"


my logs is also mentioned below:

2012-02-22 18:44:55 [13348] [6] DEBUG: AT2[nokia]: <-- +CMS ERROR: 500
2012-02-22 18:44:55 [13348] [6] ERROR: AT2[nokia]: +CMS ERROR: +CMS ERROR: 500
2012-02-22 18:44:55 [13348] [6] ERROR: AT2[nokia]: +CMS ERROR: An
unknown error occurred (500)
2012-02-22 18:44:55 [13348] [6] DEBUG: AT2[nokia]: send command status: 1
2012-02-22 18:45:01 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:01 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:07 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:07 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:13 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:13 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:19 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:19 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:21 [13348] [7] DEBUG: sms_router: gwlist_len = 2
2012-02-22 18:45:21 [13348] [7] DEBUG: sms_router: handling message
(0x9c57db8 vs 0x9c57db8)
2012-02-22 18:45:21 [13348] [7] DEBUG: re-queing SMS not-yet-to-be resent
2012-02-22 18:45:21 [13348] [7] DEBUG: sms_router: handling message
(0x9c62c40 vs 0x9c57db8)
2012-02-22 18:45:21 [13348] [7] DEBUG: re-queing SMS not-yet-to-be resent
2012-02-22 18:45:21 [13348] [7] DEBUG: sms_router: handling message
(0x9c57db8 vs 0x9c57db8)
2012-02-22 18:45:21 [13348] [7] DEBUG: re-queing SMS not-yet-to-be resent
2012-02-22 18:45:21 [13348] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2012-02-22 18:45:25 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:25 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:31 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:31 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:37 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:37 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:43 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:43 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:49 [13348] [6] DEBUG: AT2[nokia]: --> AT^M
2012-02-22 18:45:50 [13348] [6] DEBUG: AT2[nokia]: <-- OK
2012-02-22 18:45:51 [13348] [7] DEBUG: sms_router: gwlist_len = 2
2012-02-22 18:45:51 [13348] [7] DEBUG: sms_router: handling message
(0x9c62c40 vs 0x9c62c40)
2012-02-22 18:45:51 [13348] [7] DEBUG: re-queing SMS not-yet-to-be resent
2012-02-22 18:45:51 [13348] [7] DEBUG: sms_router: handling message
(0x9c57db8 vs 0x9c62c40)
2012-02-22 18:45:51 [13348] [7] DEBUG: Message routed successfully.
2012-02-22 18:45:51 [13348] [7] DEBUG: sms_router: handling message
(0x9c62c40 vs 0x9c62c40)
2012-02-22 18:45:51 [13348] [7] DEBUG: re-queing SMS not-yet-to-be resent
2012-02-22 18:45:51 [13348] [7] DEBUG: sms_router: handling message
(0x9c62c40 vs 0x9c62c40)
2012-02-22 18:45:51 [13348] [7] DEBUG: re-queing SMS not-yet-to-be resent
2012-02-22 18:45:51 [13348] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2012-02-22 18:45:52 [13348] [6] DEBUG: AT2[nokia]: TP-Validity-Period:
24.0 hours
2012-02-22 18:45:52 [13348] [6] DEBUG: AT2[nokia]: --> AT+CMGS=28^M
2012-02-22 18:45:52 [13348] [6] DEBUG: AT2[nokia]: <-- >
2012-02-22 18:45:52 [13348] [6] DEBUG: AT2[nokia]: send command status: 1
2012-02-22 18:45:52 [13348] [6] DEBUG: AT2[nokia]: -->
0011000C811989199983990000A7102010B2CC66BF41F3F6FCFA96B3C9
2012-02-22 18:45:52 [13348] [6] DEBUG: AT2[nokia]: --> ^Z
2012-02-22 18:45:54 [13348] [6] DEBUG: AT2[nokia]: <-- >
2012-02-22 18:45:54 [13348] [6] DEBUG: AT2[nokia]: <-- +CMS ERROR: 500
2012-02-22 18:45:54 [13348] [6] ERROR: AT2[nokia]: +CMS ERROR: +CMS ERROR: 500
2012-02-22 18:45:54 [13348] [6] ERROR: AT2[nokia]: +CMS ERROR: An
unknown error occurred (500)
2012-02-22 18:45:54 [13348] [6] DEBUG: AT2[nokia]: send command status: 1



-- 
Thanks & Regards,

-Vijay Kumar Dadhich

Reply via email to