So, what's your problem?
BR,
Nikos
----- Original Message -----
From: "Igor Stewart" <i...@san.co.mz>
To: <users@kannel.org>
Sent: Sunday, September 19, 2010 1:02 PM
Subject: Not sending sms from ESME (SMPPBOX configuration)
Hi All.
IΒ΄ve got a problem setting up smppbox,
My scenario
I have got two different SMSC connected to my kannel box
I want to run kannel as smpp server for a certain client (ESME)
I recieve sms on both SMSC and forward it to smpp client and vice versa
My configurations
/etc/kannel/KANNEL.CONF
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.*.*;196.28.239.50"
unified-prefix = "+258,00258,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"
#####################################################
## VODACOM
######################################################
group = smsc
smsc = smpp
smsc-id = VODACOM
host=41.76.144.123
port = 5016
receive-port=5016
smsc-username=Santech
smsc-password=s2nt3q3
connect-allow-ip = 127.0.0.1
keepalive = 55
idle-timeout = 30
system-type="VMA"
##system-type="SMPP"
service-type=smpp
address-range=""
interface-version=0x34
enquire-link-interval=10
reconnect-delay=60
connect-allow-ip="127.0.0.1,41.76.144.123"
source-addr-ton=1
source-addr-npi=1
dest-addr-ton=1
dest-addr-npi=1
#############################################
##MCEL
##############################################
group = smsc
smsc = smpp
smsc-id = MCEL
host=192.168.7.6
port = 6060
receive-port=6060
smsc-username=msantech
smsc-password=sanpwdtc
connect-allow-ip = 127.0.0.1
keepalive = 55
idle-timeout = 30
system-type="wzt"
###system-type="SMPP"
service-type=smpp
address-range=""
interface-version=0x34
enquire-link-interval=10
reconnect-delay=60
connect-allow-ip="127.0.0.1,196.28.230.113,192.168.7.6,192.168.7.9"
group = smsbox
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
sendsms-port = 13014
#global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "/tmp/access.log"
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
group = sms-service
keyword = nop
text = "You asked nothing and I did it!"
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword = idade
text = "SANTECH : Idade desconhecida. COMPRA FRALDA!"
group = sms-service
keyword = default
text = "No service specified"
/etc/kannel/SMPPBOX.CONF
#smppbox config file
group = core
group = smppbox
bearerbox-host = localhost
bearerbox-port = 13001
smppbox-port = 2346
our-system-id = SANTECH
smpp-logins = "/etc/kannel/clientes.txt"
#smpp-logins file
/etc/kannel/CLIENT.TXT
santech minded remote *.*.*.*
the way a execute the binaries
1- cd /usr/local/sbin
2- ./bearerbox -v 1 /etc/kannel/kannel.conf
3- ./smsbox -v 1 /etc/kannel/kannel.conf
4- ./smppbox -v 1 /etc/kannel/smppbox.conf
when a run the command 2- the output is
:/usr/local/sbin# ./bearerbox -v 1 /etc/kannel/kannel.conf
2010-09-19 06:03:09 [6906] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2010-09-19 06:03:09 [6906] [0] WARNING: DLR: using default 'internal' for
storage type.
2010-09-19 06:03:09 [6906] [0] INFO: DLR using storage type: internal
2010-09-19 06:03:09 [6906] [0] INFO: SSL not supported, no SSL
initialization done.
2010-09-19 06:03:09 [6906] [0] INFO: HTTP: Opening server at port 13000.
2010-09-19 06:03:09 [6906] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2010-09-19 06:03:09 [6906] [0] INFO: Set SMS resend frequency to 60 seconds.
2010-09-19 06:03:09 [6906] [0] INFO: SMS resend retry set to unlimited.
2010-09-19 06:03:09 [6906] [0] INFO: DLR rerouting for smsc id <VODACOM>
disabled.
2010-09-19 06:03:09 [6906] [0] INFO: DLR rerouting for smsc id <MCEL>
disabled.
2010-09-19 06:03:09 [6906] [0]
INFO: ----------------------------------------
2010-09-19 06:03:09 [6906] [0] INFO: Kannel bearerbox II version svn-r4843M
starting
2010-09-19 06:03:09 [6906] [0] INFO: MAIN: Start-up done, entering mainloop
when a run the command 3- the output is
:/usr/local/sbin# ./smsbox -v 1 /etc/kannel/kannel.conf
2010-09-19 06:04:09 [6917] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2010-09-19 06:04:09 [6917] [0] INFO: HTTP: Opening server at port 13014.
2010-09-19 06:04:09 [6917] [0] INFO: Set up send sms service at port 13014
2010-09-19 06:04:09 [6917] [0] INFO: Connected to bearerbox at 127.0.0.1
port 13001.
when a run the command 4- the output is
:/usr/local/sbin# ./smppbox -v 1 /etc/kannel/smppbox.conf
2010-09-19 06:06:00 [6927] [0] INFO: Debug_lvl = 1, log_file = <none>,
log_lvl = 0
2010-09-19 06:06:00 [6927] [0] WARNING: DLR: using default 'internal' for
storage type.
2010-09-19 06:06:00 [6927] [0] INFO: DLR using storage type: internal
2010-09-19 06:06:00 [6927] [0] INFO: Waiting for SMPP connections on port
2346.
2010-09-19 06:06:04 [6927] [1] INFO: Client connected from <192.168.10.248>
2010-09-19 06:06:04 [6927] [1] INFO: Connected to bearerbox at localhost
port 13001.
2010-09-19 06:06:19 [6927] [3] INFO: Client connected from <192.168.10.248>
2010-09-19 06:06:19 [6927] [3] INFO: Connected to bearerbox at localhost
port 13001.
2010-09-19 06:06:34 [6927] [5] INFO: Client connected from <192.168.10.248>
2010-09-19 06:06:34 [6927] [5] INFO: Connected to bearerbox at localhost
port 13001.
2010-09-19 06:06:49 [6927] [7] INFO: Client connected from <192.168.10.248>
2010-09-19 06:06:49 [6927] [7] INFO: Connected to bearerbox at localhost
port 13001.
and the message above keep at ./bearerbox -v 1 /etc/kannel/kannel.conf
output
2010-09-19 06:06:19 [6906] [5] INFO: Client connected from <127.0.0.1>
2010-09-19 06:06:34 [6906] [5] INFO: Client connected from <127.0.0.1>
2010-09-19 06:06:49 [6906] [5] INFO: Client connected from <127.0.0.1>
2010-09-19 06:07:05 [6906] [5] INFO: Client connected from <127.0.0.1>
2010-09-19 06:07:20 [6906] [5] INFO: Client connected from <127.0.0.1>
2010-09-19 06:07:35 [6906] [5] INFO: Client connected from <127.0.0.1>
I dont know whatΒ΄s missing, I have ready the userguide but nothing there.
Please help