Hello,
I've this problem: I'm able to send SMSes but I'm not able to receive them. Why?
In the log file of the modem and smsbox  I don't see any error!
I've read the user manual and I've searched on the net, but i didn't find anything!
Can you help me?

Below my log and settings file!

Thank you
Bye


-------------------------------------------KANNEL.CONF ------------------------------------------------------------------

include = /etc/kannel/modems.conf

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/etc/kannel/kannel.log"
log-level = 1
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 = internal

#---------------------------------------------
# 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 = 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
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/etc/kannel/smsbox.log"
log-level = 1
#access-log = "/tmp/access.log"

#---------------------------------------------
# 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... # http://127.0.0.1:13013/cgi-bin/sendsms?username=tester&password=foobar&to=3921776&text=ciccio

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

#---------------------------------------------
# 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 =
#keyword-regex = .*
catch-all = true
#max-messages = 10
get-url = "http://localhost/sms?phone=%p&text=%a";




#penna usb
group = smsc
smsc=at
modemtype = auto
#speed = 19200
device=/dev/ttyUSB0
#device=/dev/ttyACM0
my-number=3453361361
log-level=1
log-file = "/etc/kannel/modem.log"


-------------------------------------------MODEM.LOG ------------------------------------------------------------------

2010-01-26 19:11:54 [7919] [7] INFO: AT2[/dev/ttyUSB0]: opening device
2010-01-26 19:11:55 [7919] [7] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2010-01-26 19:12:09 [7919] [7] INFO: AT2[/dev/ttyUSB0]: Closing device
2010-01-26 19:12:09 [7919] [7] INFO: AT2[/dev/ttyUSB0]: opening device
2010-01-26 19:12:10 [7919] [7] INFO: AT2[/dev/ttyUSB0]: speed set to 57600
2010-01-26 19:12:10 [7919] [7] INFO: AT2[/dev/ttyUSB0]: Closing device
2010-01-26 19:12:10 [7919] [7] INFO: AT2[/dev/ttyUSB0]: detect speed is 57600
2010-01-26 19:12:10 [7919] [7] INFO: AT2[/dev/ttyUSB0]: opening device
2010-01-26 19:12:11 [7919] [7] INFO: AT2[/dev/ttyUSB0]: speed set to 57600
2010-01-26 19:12:12 [7919] [7] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported
2010-01-26 19:12:12 [7919] [7] INFO: AT2[/dev/ttyUSB0]: Closing device
2010-01-26 19:12:12 [7919] [7] INFO: AT2[/dev/ttyUSB0]: opening device
2010-01-26 19:12:12 [7919] [7] INFO: AT2[/dev/ttyUSB0]: Logging in
2010-01-26 19:12:12 [7919] [7] INFO: AT2[/dev/ttyUSB0]: init device
2010-01-26 19:12:12 [7919] [7] INFO: AT2[/dev/ttyUSB0]: speed set to 57600
2010-01-26 19:12:13 [7919] [7] INFO: AT2[/dev/ttyUSB0]: Phase 2+ is supported 2010-01-26 19:12:13 [7919] [7] INFO: AT2[/dev/ttyUSB0]: AT SMSC successfully opened.

-------------------------------------------KANNEL.LOG ------------------------------------------------------------------

2010-01-26 19:11:54 [7919] [0] INFO: Added logfile `/etc/kannel/kannel.log' with level `1'.
2010-01-26 19:11:54 [7919] [0] INFO: HTTP: Opening server at port 13000.
2010-01-26 19:11:54 [7919] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2010-01-26 19:11:54 [7919] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-01-26 19:11:54 [7919] [0] INFO: SMS resend retry set to unlimited.
2010-01-26 19:11:54 [7919] [0] INFO: DLR rerouting for smsc id <FAKE> disabled. 2010-01-26 19:11:54 [7919] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2010-01-26 19:11:54 [7919] [0] INFO: Added logfile `/etc/kannel/modem.log' with level `1'. 2010-01-26 19:11:54 [7919] [0] INFO: AT2[/dev/ttyUSB0]: configuration doesn't show modemtype. will autodetect 2010-01-26 19:11:54 [7919] [7] INFO: Logging thread `7' to logfile `/etc/kannel/modem.log' with level `1'. 2010-01-26 19:11:54 [7919] [0] INFO: ---------------------------------------- 2010-01-26 19:11:54 [7919] [0] INFO: Kannel bearerbox II version 1.4.3 starting
2010-01-26 19:11:54 [7919] [0] INFO: MAIN: Start-up done, entering mainloop
2010-01-26 19:12:31 [7919] [5] INFO: Client connected from <127.0.0.1>

-------------------------------------------KANNEL.LOG ------------------------------------------------------------------

2010-01-26 19:12:31 [7937] [0] INFO: Added logfile `/etc/kannel/smsbox.log' with level `1'.
2010-01-26 19:12:31 [7937] [0] INFO: Service global sender set as '13013'
2010-01-26 19:12:31 [7937] [0] INFO: HTTP: Opening server at port 13013.
2010-01-26 19:12:31 [7937] [0] INFO: Set up send sms service at port 13013
2010-01-26 19:12:31 [7937] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2010-01-26 19:19:04 [7937] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2010-01-26 19:19:04 [7937] [3] INFO: sendsms used by <tester>
2010-01-26 19:19:04 [7937] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:<3921776> msg:<ciccio> 2010-01-26 19:19:04 [7937] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1> 2010-01-26 19:19:07 [7937] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1> 2010-01-26 19:19:46 [7937] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2010-01-26 19:19:46 [7937] [3] INFO: sendsms used by <tester>
2010-01-26 19:19:46 [7937] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:<3921776> msg:<ciccio> 2010-01-26 19:20:14 [7937] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2010-01-26 19:20:14 [7937] [3] INFO: sendsms used by <tester>
2010-01-26 19:20:14 [7937] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:<3921776> msg:<ciccio> 2010-01-26 19:20:48 [7937] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2010-01-26 19:20:48 [7937] [3] INFO: sendsms used by <tester>
2010-01-26 19:20:48 [7937] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:<3921776> msg:<ciccio7> 2010-01-26 19:21:07 [7937] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2010-01-26 19:21:07 [7937] [3] INFO: sendsms used by <tester>
2010-01-26 19:21:07 [7937] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:<3921776> msg:<ciccio7>

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

Reply via email to