Discussion:
Yet another "3: Queued for later delivery" problem-Please help :(
Prashanth Swaminathan
2011-03-27 14:22:02 UTC
Permalink
Hi all :)

I'm 19, a student and i'm from India. I've set up my kannel.conf
file and when i run my bearerbox it runs smoothly and my status.html page
shows

"Status: running, uptime 0d 0h 39m 34s"
perfectly . This is how my status.html page looks like

-----------------------------------------------------------------------------------------------------------------------------

Kannel bearerbox version `1.4.3'. Build `Mar 20 2011 19:34:44', compiler
`4.4.5'. System Linux, release 2.6.35-23-generic, version #40-Ubuntu SMP Wed
Nov 17 22:15:35 UTC 2010, machine i686. Hostname TRANSLTR, IP 192.168.1.4.
Libxml version 2.7.7. Using OpenSSL 0.9.8o 01 Jun 2010. Using native malloc.

Status: running, uptime 0d 0h 39m 34s

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 38m 56s)

SMSC connections:
*B5310* AT2[B5310] (connecting, rcvd 0, sent 0, failed 0, queued 0
msgs)
*FAKE* FAKE:10000 (connecting, rcvd 0, sent 0, failed 0, queued 0
msgs)
--------------------------------------------------------------------------------------------------------------------------------
I tried sending messages with this "
http://localhost:13013/cgi-bin/sendsms?username=kannel&password=prash&text=helllo+world&to=+919958698191&from=+919790335856
"
in my browser
But i get the "3: Queued for later delivery" message with my messages being
only queued up. I'm not sure where i've gone wrong.
I'm BTW using my "Samsung Corby pro B5310" mobile as the modem. (I'm not
sure if it actually supported by kannel)


I'm attaching my config page along with this. PLEASE HELP ME!!!!!!! :(

=============================================================================================================
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/tmp/access.log"
store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql

#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = at
smsc-id = B5310
port = 10000
#speed=9600
connect-allow-ip =127.0.0.1
host=127.0.0.1
modemtype=auto
device=/dev/ttyS0
my-number="9790335856"
sms-center="+919894051914"
#include = /etc/kannel/modems.conf

group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = 127.0.0.1

#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

group = smsbox
smsbox-id = SMSbox
bearerbox-host =127.0.0.1
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/home/prashanth/access.log"


group = smsbox-route
smsbox-id = SMSbox
smsc-id = B5310


# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
..

#group = sendsms-user
#username = tester
#password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

group = sendsms-user
username=kannel
password=prash
user-deny-ip="*.*.*.*"
user-allow-ip=127.0.0.1


group=modems
id=B5310
name="B5310"
detect-string="Samsung B5310"
init-string="AT+CNMI=2,3,0,1,0;+CMEE=1"
keepalive-cmd=AT+CSQ
reset-string="AT"
#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = default
text = "No service specified"

===================================================================================================
--
Regards
Prashanth Swaminathan
Nikos Balkanas
2011-03-28 00:07:59 UTC
Permalink
Hi,

Your problem is obvious from the status page. Your AT SMSc should say
"connected" when ready to send SMS. Since it is not, your SMS are saved to
queue for later delivery.

It doesn't look that your modem is initializing properly. Check your
bearerbox logs for errors and then read in User Guide the section about
modem initialization. If still having problems, post your relvant detailed
bearerbox logs to this list.

BR,
Nikos
----- Original Message -----
From: Prashanth Swaminathan
To: ***@kannel.org
Sent: Sunday, March 27, 2011 5:22 PM
Subject: Yet another "3: Queued for later delivery" problem-Please help :(


Hi all :)

I'm 19, a student and i'm from India. I've set up my kannel.conf
file and when i run my bearerbox it runs smoothly and my status.html page
shows


"Status: running, uptime 0d 0h 39m 34s"
perfectly . This is how my status.html page looks like


-----------------------------------------------------------------------------------------------------------------------------
Kannel bearerbox version `1.4.3'. Build `Mar 20 2011 19:34:44', compiler
`4.4.5'. System Linux, release 2.6.35-23-generic, version #40-Ubuntu SMP Wed
Nov 17 22:15:35 UTC 2010, machine i686. Hostname TRANSLTR, IP 192.168.1.4.
Libxml version 2.7.7. Using OpenSSL 0.9.8o 01 Jun 2010. Using native malloc.
Status: running, uptime 0d 0h 39m 34s
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 38m 56s)

SMSC connections:
B5310 AT2[B5310] (connecting, rcvd 0, sent 0, failed 0, queued 0
msgs)
FAKE FAKE:10000 (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
--------------------------------------------------------------------------------------------------------------------------------
I tried sending messages with this "
http://localhost:13013/cgi-bin/sendsms?username=kannel&password=prash&text=helllo+world&to=+919958698191&from=+919790335856 "
in my browser
But i get the "3: Queued for later delivery" message with my messages being
only queued up. I'm not sure where i've gone wrong.
I'm BTW using my "Samsung Corby pro B5310" mobile as the modem. (I'm not
sure if it actually supported by kannel)




I'm attaching my config page along with this. PLEASE HELP ME!!!!!!! :(


=============================================================================================================
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/tmp/access.log"
store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql


#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs




# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!


group = smsc
smsc = at
smsc-id = B5310
port = 10000
#speed=9600
connect-allow-ip =127.0.0.1
host=127.0.0.1
modemtype=auto
device=/dev/ttyS0
my-number="9790335856"
sms-center="+919894051914"
#include = /etc/kannel/modems.conf


group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = 127.0.0.1


#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery


group = smsbox
smsbox-id = SMSbox
bearerbox-host =127.0.0.1
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/home/prashanth/access.log"




group = smsbox-route
smsbox-id = SMSbox
smsc-id = B5310




# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...


#group = sendsms-user
#username = tester
#password = foobar
#user-deny-ip = ""
#user-allow-ip = ""


group = sendsms-user
username=kannel
password=prash
user-deny-ip="*.*.*.*"
user-allow-ip=127.0.0.1




group=modems
id=B5310
name="B5310"
detect-string="Samsung B5310"
init-string="AT+CNMI=2,3,0,1,0;+CMEE=1"
keepalive-cmd=AT+CSQ
reset-string="AT"
#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"


# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.


group = sms-service
keyword = default
text = "No service specified"

===================================================================================================
--
Regards
Prashanth Swaminathan
Prashanth Swaminathan
2011-04-14 09:37:22 UTC
Permalink
I'm stil having the same problem :( :( . It's so frustrating :( .
I'm using a SIMCOM modem . I'm attaching my configuration file and my log
files. Please help me out.
Post by Nikos Balkanas
Hi,
Your problem is obvious from the status page. Your AT SMSc should say
"connected" when ready to send SMS. Since it is not, your SMS are saved to
queue for later delivery.
It doesn't look that your modem is initializing properly. Check your
bearerbox logs for errors and then read in User Guide the section about
modem initialization. If still having problems, post your relvant detailed
bearerbox logs to this list.
BR,
Nikos
----- Original Message ----- From: Prashanth Swaminathan
Sent: Sunday, March 27, 2011 5:22 PM
Subject: Yet another "3: Queued for later delivery" problem-Please help :(
Hi all :)
I'm 19, a student and i'm from India. I've set up my kannel.conf
file and when i run my bearerbox it runs smoothly and my status.html page
shows
"Status: running, uptime 0d 0h 39m 34s"
perfectly . This is how my status.html page looks like
-----------------------------------------------------------------------------------------------------------------------------
Kannel bearerbox version `1.4.3'. Build `Mar 20 2011 19:34:44', compiler
`4.4.5'. System Linux, release 2.6.35-23-generic, version #40-Ubuntu SMP Wed
Nov 17 22:15:35 UTC 2010, machine i686. Hostname TRANSLTR, IP 192.168.1.4.
Libxml version 2.7.7. Using OpenSSL 0.9.8o 01 Jun 2010. Using native malloc.
Status: running, uptime 0d 0h 39m 34s
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
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 38m 56s)
B5310 AT2[B5310] (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
FAKE FAKE:10000 (connecting, rcvd 0, sent 0, failed 0, queued 0 msgs)
--------------------------------------------------------------------------------------------------------------------------------
I tried sending messages with this "
http://localhost:13013/cgi-bin/sendsms?username=kannel&password=prash&text=helllo+world&to=+919958698191&from=+919790335856" in my browser
But i get the "3: Queued for later delivery" message with my messages being
only queued up. I'm not sure where i've gone wrong.
I'm BTW using my "Samsung Corby pro B5310" mobile as the modem. (I'm not
sure if it actually supported by kannel)
I'm attaching my config page along with this. PLEASE HELP ME!!!!!!! :(
=============================================================================================================
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = "*.*.*.*"
#admin-allow-ip = "127.0.0.1"
log-file = "/tmp/kannel.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/tmp/access.log"
store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql
#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs
# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!
group = smsc
smsc = at
smsc-id = B5310
port = 10000
#speed=9600
connect-allow-ip =127.0.0.1
host=127.0.0.1
modemtype=auto
device=/dev/ttyS0
my-number="9790335856"
sms-center="+919894051914"
#include = /etc/kannel/modems.conf
group = smsc
smsc = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = 127.0.0.1
#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery
group = smsbox
smsbox-id = SMSbox
bearerbox-host =127.0.0.1
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/home/prashanth/access.log"
group = smsbox-route
smsbox-id = SMSbox
smsc-id = B5310
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar.
..
#group = sendsms-user
#username = tester
#password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
group = sendsms-user
username=kannel
password=prash
user-deny-ip="*.*.*.*"
user-allow-ip=127.0.0.1
group=modems
id=B5310
name="B5310"
detect-string="Samsung B5310"
init-string="AT+CNMI=2,3,0,1,0;+CMEE=1"
keepalive-cmd=AT+CSQ
reset-string="AT"
#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword = default
text = "No service specified"
===================================================================================================
--
Regards
Prashanth Swaminathan
--
Regards
Prashanth Swaminathan
www.about.me/prashanthswami
--
Regards
Prashanth Swaminathan
www.about.me/prashanthswami
Loading...