If you want to forward message from one smsc (smppsim) to another
(clickatell), use the reroute-smsc-id config option.

See users manual.

 

 

 

From: [email protected] [mailto:[email protected]] On Behalf
Of fatima zahra Berrehili
Sent: Wednesday, 02 May, 2012 18:16
To: [email protected]
Subject: Asking for help

 

Dear Sir/Madam,
  I have a requirement to setup a smpp connection from smppsim to kannel,
and forward the message from kannel to clickatell through http connection.
 
>From the logs, I can see message "Hello" from smppsim arrived at kannel, but
I got "Request Failed" in smsbox.
2012-05-02 17:44:58 [2049] [4] WARNING: No translation found for <Hello from
SMPPSim> from <+4477665545> to <4477665544>
2012-05-02 17:44:58 [2049] [4] ERROR: request failed
My configuration is : 
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#
 
# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.
 
group = core
admin-port = 13000
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = ""
wapbox-port = 13002
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
 
 
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = 'mysecrect'
dlr-storage = mysql
 
#--- mysql connection
group = mysql-connection
id = mydlr
host = localhost
username = root
password = 0000
database = kannelDb
max-connections = 1
 
#---- DLR table structure
group = dlr-db
id = mydlr
table = kannel_dlr
field-smsc = smsc
field-timestamp = timestamp
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc_id
 
#---- This is connection to smpp simulater
group = smsc
smsc = smpp
smsc-id = testsmsc
host = localhost 
port = 2775
receive-port = 2775 
smsc-username = smppclient1
smsc-password = password
system-type = 'VMA'
service-type = 'test'
interface-version = 34
address-range = 4477665544
msg-id-type = 0
transceiver-mode = true
my-number = 4477665544
validityperiod = 167
 
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
 
group = sendsms-user
username = mounir
password = 000000
default-smsc =  SMPPSim
 
group =sms-service
omit-empty = true
catch-all = true
keyword =defaull
get-url = "http://%S";
text ="No service specified"
max-messages =2

Reply via email to