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

2 comments:

  1. Thanks for the write-up, I had been testing a system using the same modem model, but was unable to get the correct init-string for incoming texts....thankfully this has sorted it out. Big ups.

    ReplyDelete
  2. Yeah!! Taking into consideration this demand, SMPP service protocol and SMPP Provider are one of the major messaging techniques business units are currently focusing on.

    ReplyDelete

Feel free to leave a comment