os : Red hat linux 9.0
## the configuration file
group=core admin-port=13000 smsbox-port=13001 admin-password=admin admin-deny-ip="*.*.*.*" admin-allow-ip="127.0.0.1" box-deny-ip="*.*.*.*" box-allow-ip="127.0.0.1" udp-deny-ip="*.*.*.*" udp-allow-ip="127.0.0.1" log-file="kannel_gateway_mylog.txt" log-level=1 access-log="access.log"
#SMS box configuration
group=smsbox sendsms-port=13013 bearerbox-host=localhost sendsms-chars="0123456789+-" log-file="kannel_sms_log.txt" log-level=1 access-log="access.log" reply-couldnotfetch="custom reply could not fetch content" reply-requestfailed="could not contact http service"
#SMS service configurations
group=sms-service keyword="hello" text="Hello world" name="test hello world service" max-messages=5 concatenation=true
group= sms-service keyword= default text="No service specified"
group=sendsms-user username=test password=test
#SMS center specifics
group=smsc smsc=at2 smsc-id=email_smsc modemtype=auto #nokiaphone device= /dev/ttyS0 #speed=0 default. try the modem definitions. keepalive=5 my-number="0777641638" sim-buffering=false #include="my_modem_def.conf" include="modems.conf"
#my_modem_def.conf #group=modems #id=nokiaphone #name="Nokia Phone" #detect-string="Nokia Mobile Phone" #need-sleep=true #keepalive-cmd="AT+CBC;+CSQ" #enable-mms=true
group=smsc smsc=fake port=10000 connect-allow-ip="127.0.0.1"
This is the output of the bearerbox in the shell
2004-05-04 12:13:44 [0] INFO: Added logfile `kannel_gateway_mylog.txt' with level `1'.
2004-05-04 12:13:44 [0] INFO: Started access logfile `access.log'.
2004-05-04 12:13:44 [0] INFO: SSL not supported, no SSL initialization done.
2004-05-04 12:13:44 [0] INFO: AT2[email_smsc]: configuration doesn't show modemtype. will autodetect
2004-05-04 12:13:44 [5] INFO: AT2[email_smsc]: opening device
2004-05-04 12:13:44 [0] INFO: ----------------------------------------
2004-05-04 12:13:44 [0] INFO: Kannel bearerbox II version 1.2.1 starting
2004-05-04 12:13:44 [0] INFO: MAIN: Start-up done, entering mainloop
2004-05-04 12:13:44 [5] INFO: AT2[email_smsc]: speed set to 57600
2004-05-04 12:17:13 [8] INFO: Client connected from <127.0.0.1>
This is the output of the smsbox in the shell
2004-05-04 12:17:13 [0] INFO: Added logfile `kannel_sms_log.txt' with level `1'.
2004-05-04 12:17:13 [0] INFO: Logging accesses to 'access.log'.
2004-05-04 12:17:13 [0] INFO: Started access logfile `access.log'.
2004-05-04 12:17:13 [0] INFO: Set up send sms service at port 13013
2004-05-04 12:17:13 [0] INFO: Connected to bearerbox at localhost port 13001.
This is what i used to send an SMS push. I got a response on the web browser saying it "sent". but there was no sms recieved by the recipient phone
http://localhost:13013/cgi-bin/sendsms?user=test&pass=test&from=0777641638&to=0717291599&text=hello+world&charset=&udh=&mclass=2&coding=1&mwi=4&validity=&deferred=
