Hi All,

I am trying to send SMS using Kannel to my cellphone but messages are not
getting SMS to my phone. I am using this URL

http://localhost:13131/cgi-bin/sendsms?from=9173010133&username=playsms&password=playsms&text=hi%20budddy!&to=9638269138

I am getting this while running above URL
3: Queued for later delivery

I am using my cell phone as a modem. its a dual sim device. below is my
configuration and logs.

*Kannel.conf*

# CORE
group = core
admin-port = 13000
admin-password = playsms
status-password = playsms
log-file = /var/log/kannel/kannel.log
log-level = 0
access-log = /var/log/kannel/access.log
smsbox-port = 13001
dlr-storage = internal
store-type = file
store-file = /var/log/kannel/kannel.store
#store-type = spool
#store-location = /var/spool/kannel/store
smsbox-max-pending = 100

# SMSBOX
group = smsbox
bearerbox-host = localhost
bearerbox-port = 13001
sendsms-port = 13131
sendsms-chars = "0123456789+ "
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/access.log
mo-recode = true


group = smsc
smsc = at
modemtype = Samsung Electronics Co., Ltd C3322
device = /dev/ttyACM0
speed = 19200
log-file = /var/log/kannel/smsc-default.log
my-number = +919173010133
sms-center = +919084051550
validityperiod = 167
log-level = 0


group = modems
broken = true
id = Samsung Electronics Co., Ltd C3322
name = "Samsung Electronics Co., Ltd C3322"
detect-string = "C3322"
init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
speed = 115200
enable-mms = true
message-storage = SM


# SENDSMS-USER
group = sendsms-user
default-smsc = at
username = playsms
password = playsms
#max-messages = 6
concatenation = true

# SMS SERVICE 'default'
group = sms-service
keyword = default
omit-empty = true
max-messages = 0
get-url = "http://192.168.1.28/playsms/index.php";


*Kannel status in browser*

http://localhost:13000/status?password=playsms

Kannel bearerbox version `1.4.3'. Build `Nov 24 2011 09:54:00', compiler
`4.6.2'. System Linux, release 3.13.0-34-generic, version #60-Ubuntu SMP
Wed Aug 13 15:45:27 UTC 2014, machine x86_64. Hostname inextrix, IP
127.0.1.1. Libxml version 2.7.8. Using OpenSSL 1.0.0e 6 Sep 2011. Compiled
with MySQL 5.5.17, using MySQL 5.5.38. Using SQLite 3.7.9. Using native
malloc.

Status: running, uptime 0d 0h 2m 49s

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

SMS: received 0 (0 queued), sent 0 (3 queued), store size 3

SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

DLR: 0 queued, using internal storage

Box connections:
    smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 2m 3s)
 SMSC connections:
    *unknown*    AT2[/dev/ttyACM0] (connecting, rcvd 0, sent 0, failed 0,
queued 0 msgs)



*Bearerbox*

2014-11-27 16:28:16 [3834] [9] DEBUG: boxc_receiver: sms received
2014-11-27 16:28:16 [3834] [9] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2014-11-27 16:28:25 [3834] [7] DEBUG: sms_router: handling message
(0x7f9220000c20 vs 0x7f9220000c20)
2014-11-27 16:28:25 [3834] [7] DEBUG: re-queing SMS not-yet-to-be resent
2014-11-27 16:28:25 [3834] [7] DEBUG: sms_router: handling message
(0x7f9220000c20 vs 0x7f9220000c20)
2014-11-27 16:28:25 [3834] [7] DEBUG: re-queing SMS not-yet-to-be resent
2014-11-27 16:28:25 [3834] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2014-11-27 16:28:28 [3834] [8] DEBUG: Dumping 2 messages to store
2014-11-27 16:28:48 [3834] [1] DEBUG: Timeout for fd:34 appeares.
2014-11-27 16:28:48 [3834] [1] DEBUG: HTTP: Destroying HTTPClient area
0x7f9240000a90.
2014-11-27 16:28:48 [3834] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2014-11-27 16:28:55 [3834] [7] DEBUG: sms_router: gwlist_len = 1
2014-11-27 16:28:55 [3834] [7] DEBUG: sms_router: handling message
(0x7f9220000c20 vs 0x7f9220000c20)
2014-11-27 16:28:55 [3834] [7] DEBUG: re-queing SMS not-yet-to-be resent
2014-11-27 16:28:55 [3834] [7] DEBUG: sms_router: handling message
(0x7f9220000c20 vs 0x7f9220000c20)
2014-11-27 16:28:55 [3834] [7] DEBUG: re-queing SMS not-yet-to-be resent
2014-11-27 16:28:55 [3834] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2014-11-27 16:29:25 [3834] [7] DEBUG: sms_router: gwlist_len = 1
2014-11-27 16:29:25 [3834] [7] DEBUG: sms_router: handling message
(0x7f9220000c20 vs 0x7f9220000c20)
2014-11-27 16:29:25 [3834] [7] DEBUG: Message routed successfully.


*smsbox*

2014-11-27 16:28:16 [3874] [2] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2014-11-27 16:28:16 [3874] [2] DEBUG: HTTP: Created HTTPClient area
0x7fb5d0000a90.
2014-11-27 16:28:16 [3874] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <127.0.0.1>
2014-11-27 16:28:16 [3874] [3] INFO: sendsms used by <playsms>
2014-11-27 16:28:16 [3874] [3] INFO: sendsms sender:<playsms:9173010133>
(127.0.0.1) to:<9974740823> msg:<hi budddy!>
2014-11-27 16:28:16 [3874] [3] DEBUG: Stored UUID
7d868996-9a92-4026-ac31-348dd3450c0b
2014-11-27 16:28:16 [3874] [3] DEBUG: message length 10, sending 1 messages
2014-11-27 16:28:16 [3874] [3] DEBUG: Status: 202 Answer: <Sent.>
2014-11-27 16:28:16 [3874] [3] DEBUG: Delayed reply - wait for bearerbox
2014-11-27 16:28:16 [3874] [0] DEBUG: Got ACK (0) of
7d868996-9a92-4026-ac31-348dd3450c0b
2014-11-27 16:28:16 [3874] [0] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2014-11-27 16:29:16 [3874] [1] DEBUG: Timeout for fd:24 appeares.
2014-11-27 16:29:16 [3874] [1] DEBUG: HTTP: Destroying HTTPClient area
0x7fb5d0000a90.
2014-11-27 16:29:16 [3874] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.

How to to figure out the actual problem, why sms is not being sent? Any
idea or thought on this will be appreciated .


Regards
Juned Khan / Network Engineer
+91 9974740823/ juned.k...@inextrix.com

iNextrix Technologies Pvt Ltd.
www.inextrix.com <http://htmlsig.com/www.inextrix.com>

[image: Facebook] <https://www.facebook.com/junedkhan23> [image: Twitter]
<https://twitter.com/juned23> [image: Google Plus]
<https://plus.google.com/+JunedKhan> [image: Linkedin]
<http://htmlsig.com/in.linkedin.com/in/junedk>

This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Company Name is
not responsible for errors or omissions in this message and denies any
responsibility for any damage arising from the use of e-mail. Any opinion
and other statement contained in this message and any attachment are solely
those of the author and do not necessarily represent those of the company.

Reply via email to