Hi all,

I can not send sms by using wavecom with kannel. Now I use cygwin + window2000 and run bearerbox from kannel with this configuration :

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 = "00358,0"
access-log = "access.log"
store-file = "kannel.store"
#ssl-certkey-file = "mycertandprivkeyfile.pem"



# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "access.log"


# SEND-SMS USERS


group = sendsms-user
username = jap
password = smskiller
#user-deny-ip = ""
user-allow-ip = "127.0.0.1"
max-messages = 2
concatenation = true

# this sender is for Kannel relay testing (http_smsc)

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


# SERVICES


group = sms-service
keyword = www
text = "You asked nothing and I did it!"
catch-all = true

# this service is for Kannel relay testing, when this Kannel
# works as relay gateway

group = sms-service
keyword = relay
get-url = "http://localhost:13013/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r";
max-messages = 2
concatenation = true


# there should be default always

group = sms-service
keyword = default
get-url="http://localhost:13013/sms?user=jap&pass=smskiller&from=%p&to=%P&text=%r";
max-messages = 2
concatenation = true
text = "No service specified"


group = smsc smsc = at2 modemtype = wavecom device = /dev/ttyS1 speed = 9600


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

The bearerbox stop with the message look like this

...
2003-06-19 18:31:40 [6] DEBUG: AT2[/dev/ttyS1]: device opened
2003-06-19 18:31:40 [6] INFO: AT2[/dev/ttyS1]: init device
2003-06-19 18:31:40 [6] INFO: AT2[/dev/ttyS1]: speed set to 9600
2003-06-19 18:31:40 [6] DEBUG: AT2[/dev/ttyS1]: --> AT^M

I think it occure some problem about my configuration, Does anybody can help me ?

kannel log look like this

2003-06-19 18:31:40 [0] INFO: Added logfile `/tmp/kannel.log' with level `0'.
2003-06-19 18:31:40 [0] INFO: Started access logfile `access.log'.
2003-06-19 18:31:40 [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup)
2003-06-19 18:31:40 [0] DEBUG: HTTP: Opening server at port 13000.
2003-06-19 18:31:40 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2003-06-19 18:31:40 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2003-06-19 18:31:40 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2003-06-19 18:31:40 [0] DEBUG: starting smsbox connection module
2003-06-19 18:31:40 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2003-06-19 18:31:40 [0] INFO: AT2[/dev/ttyS1]: configuration shows modemtype <wavecom>
2003-06-19 18:31:40 [0] DEBUG: AT2[/dev/ttyS1]: Reading modem definitions from <gsmmodem.conf>
2003-06-19 18:31:40 [0] DEBUG: AT2[/dev/ttyS1]: Found <1> modems in config
2003-06-19 18:31:40 [0] INFO: AT2[/dev/ttyS1]: read modem definition for <Wavecom>
2003-06-19 18:31:40 [0] DEBUG: Started thread 6 (gw/smsc/smsc_at2.c:at2_device_thread)
2003-06-19 18:31:40 [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2003-06-19 18:31:40 [0] INFO: ----------------------------------------
2003-06-19 18:31:40 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2003-06-19 18:31:40 [6] INFO: AT2[/dev/ttyS1]: opening device
2003-06-19 18:31:40 [6] DEBUG: AT2[/dev/ttyS1]: device opened
2003-06-19 18:31:40 [7] DEBUG: sms_router: time to sleep
2003-06-19 18:31:40 [0] INFO: Loading store file kannel.store
2003-06-19 18:31:40 [0] INFO: Store-file size 0, starting to unpack
2003-06-19 18:31:40 [0] INFO: Retrieved 0 messages, non-acknowledged messages: 0
2003-06-19 18:31:40 [0] INFO: MAIN: Start-up done, entering mainloop
2003-06-19 18:31:40 [0] DEBUG: AT2[/dev/ttyS1]: start called
2003-06-19 18:31:40 [7] DEBUG: sms_router: list_len = 0
2003-06-19 18:31:40 [6] DEBUG: AT2[/dev/ttyS1]: device opened
2003-06-19 18:31:40 [6] INFO: AT2[/dev/ttyS1]: init device
2003-06-19 18:31:40 [6] INFO: AT2[/dev/ttyS1]: speed set to 9600
2003-06-19 18:31:40 [6] DEBUG: AT2[/dev/ttyS1]: --> AT^M




Thanks so much

Jap

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail





Reply via email to