hmmm I hope response if low cause no one looked at this yet :p (I'm getting
worried... :s )

but if no one can understand the problem I'm adding some more info about it
below:
(refer to previous post for earlier info on problem)

when I recieve a message this happens in the boxes:
-------------------------------------------------------

2003-11-06 23:48:03 [7] DEBUG: AT2[wavecom_1]: <-- +CMT: ,23
2003-11-06 23:48:03 [7] DEBUG: AT2[wavecom_1]: <-- 
0791449737019037040C9144876163200100003011603254440004EE37BC0C
2003-11-06 23:48:03 [7] DEBUG: AT2[wavecom_1]: Numeric sender
(international) <+MYNUMBER>
2003-11-06 23:48:03 [7] DEBUG: AT2[wavecom_1]: --> AT+CNMA^M
2003-11-06 23:48:03 [10] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2003-11-06 23:48:03 [10] DEBUG: boxc_sender: sent message to <127.0.0.1>
2003-11-06 23:48:03 [9] DEBUG: boxc_receiver: sms received
2003-11-06 23:48:03 [9] WARNING: Cannot find SMSCConn for message to
<+MYNUMBER>, rejected.
2003-11-06 23:48:03 [9] WARNING: Message rejected by bearerbox, no router!
2003-11-06 23:48:03 [9] DEBUG: send_msg: sending msg to box: <127.0.0.1>
2003-11-06 23:48:03 [9] DEBUG: boxc_receiver: got ack
2003-11-06 23:48:03 [1] DEBUG: Dumping 1 messages and 1 acks to store
2003-11-06 23:48:04 [7] DEBUG: AT2[wavecom_1]: <-- OK
2003-11-06 23:48:07 [0] DEBUG: Main Thread: Nothing todo.
2003-11-06 23:48:17 [0] DEBUG: Main Thread: Nothing todo.
2003-11-06 23:48:27 [0] DEBUG: Main Thread: Nothing todo.
2003-11-06 23:48:32 [9] DEBUG: boxc_receiver: heartbeat with load value 0
received



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



gw/smsbox gw/update.conf
2003-11-06 23:46:02 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-11-06 23:46:02 [0] DEBUG: Kannel smsbox version `cvs-20031101'.
System Linux, release 2.4.20-gentoo-r6, version #1 Fri Sep 26 23:43:56 BST
2003, machine i686.
Hostname jarlco, IP 192.168.0.10.
Libxml version 20508.
Using OpenSSL 0.9.6k 30 Sep 2003.
Using MySQL 4.0.14.
Using native malloc.

2003-11-06 23:46:02 [0] INFO: HTTP: Opening server at port 13013.
2003-11-06 23:46:02 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2003-11-06 23:46:02 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2003-11-06 23:46:02 [0] INFO: Set up send sms service at port 13013
2003-11-06 23:46:02 [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)
2003-11-06 23:46:02 [0]
DEBUG: ----------------------------------------------
2003-11-06 23:46:02 [0] DEBUG: Kannel smsbox version cvs-20031101 starting
2003-11-06 23:46:02 [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2003-11-06 23:46:02 [0] DEBUG: Started thread 5
(gw/smsbox.c:url_result_thread)
2003-11-06 23:46:02 [0] DEBUG: Started thread 6
(gw/smsbox.c:http_queue_thread)
2003-11-06 23:46:02 [0] INFO: Connected to bearerbox at localhost port
13001.
2003-11-06 23:46:02 [0] DEBUG: Started thread 7
(gw/heartbeat.c:heartbeat_thread)
2003-11-06 23:46:30 [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'.
2003-11-06 23:46:30 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <127.0.0.1>
2003-11-06 23:46:30 [3] INFO: sendsms used by <jarl>
2003-11-06 23:46:30 [3] DEBUG: Status: 400 Answer: <Sender missing and no
global set, rejected>
2003-11-06 23:46:30 [3] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'.
2003-11-06 23:48:03 [4] INFO: Starting to service <nope> from <+MYNUMBER> to
<1234>
2003-11-06 23:48:03 [4] DEBUG: formatted text answer: <default>
2003-11-06 23:48:03 [4] DEBUG: message length 14, sending 1 messages



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


and when I try:
http://localhost:13013/cgi-bin/sendsms?username=jarl&password=xxxxx&to=07816360210&text=Hello+jarl
I get: Sender missing and no global set, rejected

my config file looks like this:
------------------------------------------
group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13001
store-file = "/tmp/kannel.store"
log-level = 2
log-file = "/tmp/kannel.log"
access-log = /tmp/kannel.access
dlr-storage = mysql

# SMSC CONNECTIONS

group = smsc
smsc = at
smsc-id = wavecom_1
allowed-smsc-id = wavecom_1
modemtype = wavecom
device = /dev/ttyS0
speed = 9600


# MODEM GROUP

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
sendsms-url = "/cgi-bin/sendsms"
sendota-url = "/cgi-bin/sendota"
sendsms-chars = "0123456789 +-"
global-sender = 079
reply-couldnotfetch = "Sorry, service was unable to fetch content..."
reply-couldnotrepresent = "Sorry, real message could not be represented as
SMS"
reply-requestfailed = "Sorry, the request failed"
reply-emptymessage = "Empty SMS was recieved"
log-file = "/tmp/smsbox.log"
access-log = "/tmp/kannel.access"
log-level = 3

# SEND SMS USER CONFIG

group = sendsms-user
username = jarl
password = cornell

group = sendsms-user
username = tester
password = foobar

# SMS SERVICE

group = sms-service
keyword = xxx
aliases = "af;ta;argh;tsk"
name = test1
header = Jarl's SMS Service
footer = J.C
text = xxx service

group = sms-service
keyword = www
get-url = "http://%S";

group = sms-service
keyword = vote
text = "Thank you for your vote it will now be processed"

group = sms-service
keyword = nop
text = "service"

# DEFAULT SERVICE

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


# MYSQL CONFIGURATION

group = mysql-connection
id = mydlr1
host = localhost
mysql-username = jarl
mysql-password = xxx
database = kannel

# STORAGE GROUP

group = dlr-db
id = mydlr1
table = SmsEvent
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc
field-source = source




Reply via email to