Links

   Quran Explorer - Interactive Audio Recitations & Translations

Friday, October 28, 2011

Kannel SMS Engine

1. For Safaricom 3G Modem - Huawei E173

This is the relevant (just enough) config. of course u will need core sms-box sms-user among others

group = smsc
smsc = at
modemtype = auto
device = /dev/ttyUSB0
#my-number = +254722456789
#speed = 57600
sms-center = +254722500029
#connect-allow-ip = "127.0.0.1"
port = 10000


group = modems
id = "Huawei"
name = "HUAWEI E173"
no-pin = true
init-string = "AT+CNMI=1,1,0,1,0"
need-sleep = true
sendline-sleep = 1000
detect-string = "huawei"







2. Connecting/Testing to SMPP Simulator (SMPPSim)

#SMSC
group = smsc
smsc = smpp
smsc-id = SMPPSim
denied-smsc-id = saf_modem
host = localhost
port = 2775
smsc-username = smppclient1
smsc-password = password
system-type = "VMA"
interface-version = "33"


#SMS SERVICE
group = sms-service
keyword = smpp_echo
accepted-smsc = SMPPSim
get-url = "http://localhost:9090/bizypalace/echo?keyword=echo&smsbody=%s&smsc_id=%i"
faked-sender = "BISON"

#USER
group = sendsms-user
username = smppclient1
password = password
forced-smsc = SMPPSim