Hi ALL

 

This is my kannel configuration. As mentioned before Iam new to kannel
and I am still trying to send an sms and my Nokia N73 PHONE IS NOT
WORKING. The log s you asked are below.Any MISTAKES I HAVE MADE.

 

The gateway is running on RED HAT 9.

 

##########Below it the /etc/kannel.conf file########################

 

#CORE

 

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = hard2guess

#status-password = hard2guess

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

admin-allow-ip = ""

#log-file = "/tmp/kannel.log"

log-level = 0

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"

 

#---------------------------------------------

# SMSC CONNECTIONS

 

group = smsc

smsc = at

smsc-id = GSMModem

modem type = auto

device = /dev/ttyUSB0

my-number = 26876049970

speed = 460800

log = 0

 

 

group = modems

id = nokia

name =  "Nokia N73"

detect-string = "Nokia"

init-string="ATZ"

init-string="ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Modem Type = USB Modem

 

#---------------------------------------------

# 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 = "26876049970"

#sendsms-chars = "0123456789 +-"

log-file = "/tmp/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=foo
bar...

 

group = sendsms-user

username = kannel

password = hard2guess

concatenation = true

max-messages = 2

#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 = default

catch = all

 

# There should be always a 'default' service. This service is used when
no # other 'sms-service' is applied.

 

group = sms-service

keyword = default

text = "No service specified"

 

####################################################

 

The bearerbox  and smsbox start well. see below logs:

 

####BEARER BOX STARTS UP LIKE THIS ##########################

 

[r...@langa root]# bearerbox -v 1 /home/gateway-1.4.3/gw/smskannel.conf
2010-08-10 03:45:53 [3287] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0

 

2010-08-10 03:45:53 [3287] [0] WARNING: DLR: using default 'internal'
for storage type.

2010-08-10 03:45:53 [3287] [0] INFO: DLR using storage type: internal 

2010-08-10 03:45:53 [3287] [0] INFO: HTTP: Opening server at port 13000.

2010-08-10 03:45:53 [3287] [0] ERROR: bind failed

2010-08-10 03:45:53 [3287] [0] ERROR: System error 98: Address already
in use

2010-08-10 03:45:53 [3287] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).

2010-08-10 03:45:53 [3287] [0] INFO: Set SMS resend frequency to 60
seconds.

2010-08-10 03:45:53 [3287] [0] INFO: SMS resend retry set to unlimited.

2010-08-10 03:45:53 [3287] [0] INFO: DLR rerouting for smsc id <(FAKE)>
disabled.

2010-08-10 03:45:53 [3287] [0] INFO:
........................................................................
........................................

2010-08-10 03:45:53 [3287] [0] INFO: Kannel bearerbox II version 1.4.1
starting

2010-08-10 03:45:53 [3287] [0] INFO: MAIN: Start-up done,entering
mainloop

2010-08-10 03:45:53 [3287] [0] INFO: Client connected from<127.0.0.1>

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

 

###### SMSBOX STARTS UP LIKE THIS ###########################

 

[[r...@langa root]# smsbox -v 1 /home/gateway-1.4.3/gw/smskannel.conf  

2010-08-10 03:47:24 [3297] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0 2010-08-10 03:47:24 [3297] [0] INFO: Starting to log to file
2010-08-10 

2010-08-10 03:47:24 [3297] [0] INFO: HTTP: Opening server at port 13013.

2010-08-10 03:47:24 [3297] [0] INFO: Set up send sms service at port
13013 

03:47:24 [3297] [0] INFO: Connected to bearerbox at 127.0.0.1 port
13001.

 

 

DISCLAIMER

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the 
[email protected], then delete the email and destroy any copies of it. 
Please note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of Swaziland Posts & 
Telecommunication Corporation (SPTC) or any of its subsidiaries or associated 
companies. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. Swaziland 
Posts & Telecommunication Corporation (SPTC) accepts no liability for any 
damage caused by any virus transmitted by this email. E-mail transmission 
cannot be guaranteed to be secure or error-free as information could be 
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain 
viruses. The sender therefore does not accept liability for any errors or 
omissions in the contents of this message, which arise as a result of e-mail 
transmission.

Swaziland Posts & Telecommunication Corporation, 

Phutfumani Building, Mahlokohla Street, Mbabane, Swaziland,

 www.sptc.co.sz 


Reply via email to