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.
-----------------
2011-10-11 05:27:35 [17850] [4] WARNING: No translation found for <Hello> from 
<+1111111111> to <+12222222222>
2011-10-11 05:27:35 [17850] [4] ERROR: request failed
-----------------
 
Now referring to clickatell api, I have 2 questions:
(1)
In USA, the clickatell api requires the format:
 
http://api.clickatell.com/http/sendmsg?to=12222222222&from=1111111111&text=
hellob&api_id=some_api_id&user=some_user&password=some_pswd&MO=1
 
How do we add MO=1 in the configuration?
 
(2) kannel bearbox prepared the message to clickatell:
 
http://api.clickatell.com/http/sendmsg?to=%2B1111111111&from=%2B12222222222&api_id=3336318&user=clickatell_username&password=clickatell_password&cliMsgId=1a0aae6fb48e48ed8b8a4067d340d71e&text=Request+Failed&charset=UTF-8
 
The from/to here is opposite to from/to in smppsim's message. So how they are 
changed?
 
My configuration is below:
-----------------
group =core
admin-port =7000
admin-password =bar
smsbox-port =7003
log-file ="/tmp/bearerbox.log"
group =smsc
smsc =smpp
smsc-id =smppsim
host =10.10.4.22
port =2775
receive-port =2775
smsc-username =smppuser
smsc-password =smpppswd
enquire-link-interval=600
system-type ="VMA"
address-range =""
transceiver-mode =true
interface-version =34
msg-id-type =0
 
group =smsc
smsc =http
smsc-id =my_smsc-id
system-type =clickatell
system-id =clickatell_api_id
host =10.10.4.22
port =7776
receive-port =7776
smsc-username =clickatell_username
smsc-password =clickatell_password
transceiver-mode =true
send-url ="http://api.clickatell.com/http";
connect-allow-ip ="*.*.*.*"
 
group =smsbox
bearerbox-host =localhost
sendsms-port =7013
global-sender =7013
log-file ="/tmp/smsbox.log"
log-level =0
 
group =sendsms-user
username =clickatell_username
password =clickatell_password
default-smsc =my_smsc-id
concatenation =1
 
group =sms-service
keyword =nop
text ="You asked nothing and I did it!"
 
group =sms-service
omit-empty = true
catch-all = true
keyword =defaull
get-url = "http://%S";
text ="No service specified"
max-messages =0
 
-----------------
 
Thanks
Y.F.

Reply via email to