Hi!

I´ve a Nokia 7110 Phone setup with kannel. I startet smsbox and I can send
the sms via http. Smsbox gives the sms to bearbox and get the message:
Status: 202 Answer: <Sent.>

But bearerbox wont send the sms.

 

Here are the Logfiles:

 

Smsbox:

2010-12-12 14:09:59 [3267] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0

2010-12-12 14:09:59 [3267] [0] DEBUG: Kannel smsbox version `1.4.1'.

Build `Oct 17 2006 02:55:06', compiler `4.1.2 20061007 (prerelease) (Debian
4.1.1-16)'.

System Linux, release 2.6.26-2-686, version #1 SMP Thu Nov 25 01:53:57 UTC
2010, machine i686.

Hostname server01.raab.domain.com, IP 192.168.3.2.

Libxml version 2.6.26.

Using OpenSSL 0.9.8c 05 Sep 2006.

Compiled with MySQL 5.0.24a, using MySQL 5.0.51a.

Using native malloc.

 

2010-12-12 14:09:59 [3267] [0] INFO: Starting to log to file
/var/log/kannel/smsbox.log level 4

2010-12-12 14:09:59 [3267] [0] INFO: Added logfile
`/var/log/kannel/smsbox.log' with level `4'.

2010-12-12 14:09:59 [3267] [0] INFO: Service global sender set as
'+43111111111'

2010-12-12 14:09:59 [3267] [0] INFO: HTTP: Opening server at port 13013.

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2010-12-12 14:09:59 [3267] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 3267.

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2010-12-12 14:09:59 [3267] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 3267.

2010-12-12 14:09:59 [3267] [0] INFO: Set up send sms service at port 13013

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)

2010-12-12 14:09:59 [3267] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
maps to pid 3267.

2010-12-12 14:09:59 [3267] [0] DEBUG:
----------------------------------------------

2010-12-12 14:09:59 [3267] [0] DEBUG: Kannel smsbox version 1.4.1 starting

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)

2010-12-12 14:09:59 [3267] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 3267.

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)

2010-12-12 14:09:59 [3267] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 3267.

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)

2010-12-12 14:09:59 [3267] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 3267.

2010-12-12 14:09:59 [3267] [0] INFO: Connected to bearerbox at localhost
port 13001.

2010-12-12 14:09:59 [3267] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)

2010-12-12 14:09:59 [3267] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 3267.

2010-12-12 14:10:08 [3267] [2] DEBUG: HTTP: Creating HTTPClient for
`192.168.1.3'.

2010-12-12 14:10:08 [3267] [2] DEBUG: HTTP: Created HTTPClient area
0x8677c20.

2010-12-12 14:10:08 [3267] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <192.168.1.3>

2010-12-12 14:10:08 [3267] [3] INFO: sendsms used by <playsms>

2010-12-12 14:10:08 [3267] [3] INFO: sendsms sender:<playsms:+43111111111>
(192.168.1.3) to:<004369912120303> msg:<Halloaa5>

2010-12-12 14:10:08 [3267] [3] DEBUG: Stored UUID
71e2e1ca-bc20-4dad-8086-32623eb237c9

2010-12-12 14:10:08 [3267] [3] DEBUG: message length 8, sending 1 messages

2010-12-12 14:10:08 [3267] [3] DEBUG: Status: 202 Answer: <Sent.>

2010-12-12 14:10:08 [3267] [3] DEBUG: Delayed reply - wait for bearerbox

2010-12-12 14:10:08 [3267] [0] DEBUG: Got ACK (3) of
71e2e1ca-bc20-4dad-8086-32623eb237c9

2010-12-12 14:10:08 [3267] [0] DEBUG: HTTP: Resetting HTTPClient for
`192.168.1.3'.

2010-12-12 14:11:08 [3267] [1] DEBUG: Timeout for fd:23 appeares.

2010-12-12 14:11:08 [3267] [1] DEBUG: HTTP: Destroying HTTPClient area
0x8677c20.

2010-12-12 14:11:08 [3267] [1] DEBUG: HTTP: Destroying HTTPClient for
`192.168.1.3'.

 

 

Bearerbox Logfile:

2010-12-12 13:27:57 [2267] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `0'.

2010-12-12 13:27:57 [2267] [0] INFO: HTTP: Opening server at port 13000.

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2010-12-12 13:27:57 [2267] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 2267.

2010-12-12 13:27:57 [2267] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)

2010-12-12 13:27:57 [2267] [0] DEBUG: starting smsbox connection module

2010-12-12 13:27:57 [2267] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)

2010-12-12 13:27:57 [2267] [0] INFO: Set SMS resend frequency to 60 seconds.

2010-12-12 13:27:57 [2267] [0] INFO: SMS resend retry set to unlimited.

2010-12-12 13:27:57 [2267] [0] INFO: DLR rerouting for smsc id <7110>
disabled.

2010-12-12 13:27:57 [2267] [0] INFO: AT2[7110]: configuration shows
modemtype <nokiaphone>

2010-12-12 13:27:57 [2267] [0] DEBUG: AT2[7110]: Reading modem definitions
from </etc/kannel/kannel.conf>

2010-12-12 13:27:57 [2267] [0] DEBUG: AT2[7110]: Found <2> modems in config

2010-12-12 13:27:57 [2267] [0] INFO: AT2[7110]: read modem definition for
<Nokia Phone>

2010-12-12 13:27:57 [2267] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 2267.

2010-12-12 13:27:57 [2267] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 2267.

2010-12-12 13:27:57 [2267] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)

2010-12-12 13:27:57 [2267] [6] INFO: AT2[7110]: opening device

2010-12-12 13:27:57 [2267] [6] DEBUG: AT2[7110]: device opened

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)

2010-12-12 13:27:57 [2267] [0] DEBUG: starting UDP sender/receiver module

2010-12-12 13:27:57 [2267] [0] INFO: Adding interface *

2010-12-12 13:27:57 [2267] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9200>

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 8
(gw/bb_udp.c:udp_receiver)

2010-12-12 13:27:57 [2267] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2010-12-12 13:27:57 [2267] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps
to pid 2267.

2010-12-12 13:27:57 [2267] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 9
(gw/bb_udp.c:udp_sender)

2010-12-12 13:27:57 [2267] [0] DEBUG: udpc_create: Bound to UDP
<0.0.0.0:9201>

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 10
(gw/bb_udp.c:udp_receiver)

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 11
(gw/bb_udp.c:udp_sender)

2010-12-12 13:27:57 [2267] [0] DEBUG: starting wapbox connection module

2010-12-12 13:27:57 [2267] [0] ERROR: Missing wapbox-port variable, cannot
start WAP

2010-12-12 13:27:57 [2267] [0] DEBUG: starting WDP router

2010-12-12 13:27:57 [2267] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [12] DEBUG: udp_die: removing producers from
udp-lists

2010-12-12 13:27:57 [2267] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router)
terminates.

2010-12-12 13:27:57 [2267] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender)
maps to pid 2267.

2010-12-12 13:27:57 [2267] [0] DEBUG: Started thread 12
(gw/bearerbox.c:wdp_router)

2010-12-12 13:27:57 [2267] [0] INFO:
----------------------------------------

2010-12-12 13:27:57 [2267] [0] INFO: Kannel bearerbox II version 1.4.1
starting

2010-12-12 13:27:57 [2267] [0] INFO: MAIN: Start-up done, entering mainloop

2010-12-12 13:27:57 [2267] [0] DEBUG: AT2[7110]: start called

2010-12-12 13:27:57 [2267] [7] DEBUG: sms_router: gwlist_len = 0

2010-12-12 13:27:58 [2267] [6] DEBUG: AT2[7110]: device opened

2010-12-12 13:27:58 [2267] [6] INFO: AT2[7110]: init device

2010-12-12 13:27:58 [2267] [6] INFO: AT2[7110]: speed set to 19200

2010-12-12 13:27:58 [2267] [6] DEBUG: AT2[7110]: --> ATZ^M

2010-12-12 14:09:59 [2267] [5] INFO: Client connected from <127.0.0.1>

2010-12-12 14:09:59 [2267] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
maps to pid 2267.

2010-12-12 14:09:59 [2267] [5] DEBUG: Started thread 13
(gw/bb_boxc.c:function)

2010-12-12 14:09:59 [2267] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender)
maps to pid 2267.

2010-12-12 14:09:59 [2267] [13] DEBUG: Started thread 14
(gw/bb_boxc.c:boxc_sender)

2010-12-12 14:10:08 [2267] [13] DEBUG: boxc_receiver: sms received

2010-12-12 14:10:08 [2267] [13] DEBUG: send_msg: sending msg to box:
<127.0.0.1>

2010-12-12 14:10:08 [2267] [7] DEBUG: sms_router: handling message
(0x872a260 vs 0x872a260)

2010-12-12 14:12:08 [2267] [7] DEBUG: sms_router: handling message
(0x872a260 vs 0x872a260)

2010-12-12 14:12:08 [2267] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2010-12-12 14:12:38 [2267] [7] DEBUG: sms_router: gwlist_len = 1

2010-12-12 14:12:38 [2267] [7] DEBUG: sms_router: handling message
(0x872a260 vs 0x872a260)

2010-12-12 14:12:38 [2267] [7] DEBUG: sms_router: handling message
(0x872a260 vs 0x872a260)

2010-12-12 14:12:38 [2267] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2010-12-12 14:13:08 [2267] [7] DEBUG: sms_router: gwlist_len = 1

2010-12-12 14:13:08 [2267] [7] DEBUG: sms_router: handling message
(0x872a260 vs 0x872a260)

2010-12-12 14:13:08 [2267] [7] DEBUG: sms_router: handling message
(0x872a260 vs 0x872a260)

2010-12-12 14:13:08 [2267] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2010-12-12 14:13:30 [2267] [13] INFO: Connection closed by the box
<127.0.0.1>

2010-12-12 14:13:30 [2267] [14] DEBUG: send_msg: sending msg to box:
<127.0.0.1>

2010-12-12 14:13:30 [2267] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender)
terminates.

2010-12-12 14:13:30 [2267] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function)
terminates.

 

Kannel.conf

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = claudia

#admin-deny-ip = ""

#admin-allow-ip = "*.*.*.*"

wdp-interface-name = "*"

log-file = "/var/log/kannel/bearerbox.log"

#box-deny-ip = ""

box-allow-ip = "*.*.*.*"

 

group = smsc

smsc = at

smsc-id = 7110

modemtype = nokiaphone

device = /dev/ttyS0

speed = 19200

pin = 6220

 

group = smsbox

bearerbox-host = localhost

sendsms-port = 13013

global-sender = +43111111111

#sendsms-chars = "0123456789 +-"

log-file = "/var/log/kannel/smsbox.log"

log-level = 4

#access-log = "kannel.access"

 

group = sendsms-user

username = playsms

password = playsms

user-allow-ip = "*.*.*.*"

max-messages=4

 

# Default service.

group = sms-service

keyword = default

text = "No services defined"

 

group = modems

id = siemens_tc35

name = "Siemens TC35"

detect-string = "coM"

#init-string = "AT+CNMI=1,2,0,1,1"

init-string = "AT+CMEE=2"

speed = 19200

no-pin = true

enable-hwhs = "AT\\Q3"

need-sleep = true

 

group = modems

id = nokiaphone

name = "Nokia Phone"

detect-string = "Nokia Mobile Phone"

need-sleep = true

keepalive-cmd = "AT+CBC;+CSQ"

enable-mms = true

 

 

 

Any help will be appreciated

Regards Martin

Reply via email to