Dear All,

 

I have Problem with kannel for Siemens C55

 

Like :

 

2007-10-06 16:06:58 [4613] [6] WARNING: AT2[linuxku]: trying to open device
with not closed device!!! Please report!!!

2007-10-06 16:06:58 [4613] [6] INFO: AT2[linuxku]: closing device

2007-10-06 16:06:58 [4613] [6] DEBUG: AT2[linuxku]: device opened

2007-10-06 16:06:59 [4613] [6] DEBUG: AT2[linuxku]: device opened

2007-10-06 16:06:59 [4613] [6] INFO: AT2[linuxku]: speed set to 19200

2007-10-06 16:06:59 [4613] [6] DEBUG: AT2[linuxku]: --> ^M

2007-10-06 16:07:01 [4613] [6] DEBUG: AT2[linuxku]: --> AT^M

2007-10-06 16:07:05 [4613] [6] DEBUG: AT2[linuxku]: --> AT&F^M

2007-10-06 16:07:09 [4613] [6] DEBUG: AT2[linuxku]: detecting modem type

2007-10-06 16:07:09 [4613] [6] INFO: AT2[linuxku]: opening device

 

 

2007-10-06 15:55:11 [4633] [0] INFO: HTTP: Opening server at port 13131.

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)

2007-10-06 15:55:11 [4633] [0] INFO: Set up send sms service at port 13131

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)

2007-10-06 15:55:11 [4633] [0] DEBUG:
----------------------------------------------

2007-10-06 15:55:11 [4633] [0] DEBUG: Kannel smsbox version 1.4.1 starting

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)

2007-10-06 15:55:11 [4633] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 4633.

2007-10-06 15:55:11 [4633] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 4633.

2007-10-06 15:55:11 [4633] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
maps to pid 4633.

2007-10-06 15:55:11 [4633] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 4633.

2007-10-06 15:55:11 [4633] [5] DEBUG: Thread 5
(gw/smsbox.c:url_result_thread) maps to pid 4633.

2007-10-06 15:55:11 [4633] [6] DEBUG: Thread 6
(gw/smsbox.c:http_queue_thread) maps to pid 4633.

2007-10-06 15:55:11 [4633] [0] INFO: Connected to bearerbox at localhost
port 13001.

2007-10-06 15:55:11 [4633] [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)

2007-10-06 15:55:11 [4633] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) maps to pid 4633.

2007-10-06 15:55:17 [4633] [2] DEBUG: HTTP: Creating HTTPClient for
`192.168.1.7'.

2007-10-06 15:55:17 [4633] [2] DEBUG: HTTP: Created HTTPClient area
0xa1486f8.

2007-10-06 15:55:17 [4633] [3] INFO: smsbox: Got HTTP request </sendsms>
from <192.168.1.7>

2007-10-06 15:55:17 [4633] [3] INFO: sendsms used by <mora>

2007-10-06 15:55:17 [4633] [3] INFO: sendsms sender:<mora:9788>
(192.168.1.7) to:<02192829535> msg:<testing by hendra>

2007-10-06 15:55:17 [4633] [3] DEBUG: Stored UUID
0ab18a87-4725-417e-9796-541d4cd4fe84

2007-10-06 15:55:17 [4633] [3] DEBUG: message length 17, sending 1 messages

2007-10-06 15:55:17 [4633] [3] DEBUG: Status: 202 Answer: <Sent.>

2007-10-06 15:55:17 [4633] [3] DEBUG: Delayed reply - wait for bearerbox

2007-10-06 15:55:17 [4633] [0] DEBUG: Got ACK (3) of
0ab18a87-4725-417e-9796-541d4cd4fe84

2007-10-06 15:55:17 [4633] [0] DEBUG: HTTP: Resetting HTTPClient for
`192.168.1.7'.

2007-10-06 15:56:17 [4633] [1] DEBUG: Timeout for fd:22 appeares.

2007-10-06 15:56:17 [4633] [1] DEBUG: HTTP: Destroying HTTPClient area
0xa1486f8.

2007-10-06 15:56:17 [4633] [1] DEBUG: HTTP: Destroying HTTPClient for
`192.168.1.7'.

2007-10-06 16:07:31 [4633] [0] INFO: Bearerbox told us to die

2007-10-06 16:07:31 [4633] [0] INFO: Received (and handled?) 0 requests in
740 seconds (0.00 per second)

2007-10-06 16:07:31 [4633] [0] INFO: Kannel smsbox terminating.

2007-10-06 16:07:31 [4633] [7] DEBUG: Thread 7
(gw/heartbeat.c:heartbeat_thread) terminates.

2007-10-06 16:07:31 [4633] [0] DEBUG: Waiting for 2
(gwlib/http.c:server_thread) to terminate

2007-10-06 16:07:31 [4633] [3] DEBUG: HTTP: No clients with requests,
quitting.

 

 

Kannel.conf 

 

group = core

admin-port = 13000

admin-password = moraadm69

#status-password = foo

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

log-level = 0 

access-log = "/var/log/kannel/gsm_access.log"

# Smsbox related

smsbox-port = 13001

box-deny-ip = "*.*.*.*"

box-allow-ip = "127.0.0.1;192.168.1.7"

#unified-prefix = "00358,0"

#white-list = "http://127.0.0.1/white-list.txt";

#black-list = "http://127.0.0.1/black-list.txt";

store-file = "/tmp/kannel.store"

 

# SMSC GSM

group = smsc

smsc = at

smsc-id = linuxku

host = localhost

allowed-smsc-id = linuxku

#modemtype = WAVECOM

modemtype = siemens

#modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom |
nokiaphone | ericsson

device = /dev/ttyUSB0

#port = 13014

speed = 19200

#speed = 9600

#sms-center = +6289644000001

sms-center = +62818445009 

#sms-center = +62855000000 IM3

#pin = 1234

validityperiod = 167

sim-buffering = true 

 

group = modems

id = siemens_c55

name = "Siemens C55"

detect-string = "SIEMENS"

detect-string2 = "C55"

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

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

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

speed = 19200

enable-hwhs = "AT\\Q3"

need-sleep = true

message-storage = "ME"

keepalive-cmd = "AT+CSQ"

#message-storage = "SM"

 

# SMSBOX SETUP

group = smsbox

bearerbox-host = localhost

sendsms-port = 13131

sendsms-chars = "0123456789 +-"

log-level = 0

sendsms-url = /sendsms

 

# SEND-SMS USERS

group = sendsms-user

username = hendra

password = hendra2007

#user-deny-ip = "*.*.*.*"

#user-allow-ip = "127.0.0.1"

 

# there should be default always

group = sms-service

keyword = default

#text = ""

concatenation = true

omit-empty = true

get-url = "http://localhost/terima/index.php?seq=%I&from=%p&to=%P&text=%a";

max-messages = 3

 

 

I don't receive message. May be anyone can help ?

 

Thanks very much.

 

Regards,

 

Hendra

 

 

Reply via email to