Developers section: Using SMSRelay from Kannel SMSGateway software

If you are using the OpenSource Kannel software (get it on http://www.kannel.3glab.org/) then interfacing with SMSRelay is very simple. You configure Kannel to use SMSRelay by using the SMSC part of the following full example configuration:

#
# Example configuration file for kannel
# to send messages over SMSRElay
#

#-----------------------
# Core Section
#-----------------------
group = core
admin-port = 13000
admin-password = "your-admin-password-here"
status-password = "your-status-password-here"
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1"
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
log-file = "/var/log/kannel/kannel-core.log"
log-level = 0
access-log = "/var/log/kannel/kannel-access.log"
unified-prefix = "00,+;001,1;002,2;003,3;004,4;005,5;006,6;007,7;008,8;009,9"

#-----------------------
# SMSBox
#-----------------------

group = smsbox
bearerbox-host = localhost
sendsms-port = 14000
sendsms-chars = "+0123456789"
access-log = "/var/log/kannel/kannel.smsbox.access-log"
log-file = "/var/log/kannel/kannel.smsbox.log"
log-level = 0

#-----------------------
# SMSCs
#-----------------------

group = smsc
smsc = http
smsc-id = smsrelay
system-type = kannel
smsc-username = "your-smsrelay-username-here"
smsc-password = "your-smsrelay-password-here"
send-url = "http://blue.smsrelay.com/cgi-bin/sendsms"
connect-allow-ip = "193.53.0.*;64.39.29.163"
port = 5000

#-----------------------
# USERS
#-----------------------

group = sendsms-user
username = local-user
password = local-users-password
concatenation = true
max-messages = 10