
Are you running the fakesmsc program? (e.g. ./fakesmsc -m 1 "100 200 text www Hello world") Since you said you are using Ubuntu it should be in *"/usr/lib/kannel/test"*otherwise you need to install it. -Billy 2010/9/17 Gitau George <com00204@gmail.com>
Hello guys, I am trying to retrieve sms sent from kannel fakesmsc on ubuntu jaunty jackalope.I am hoping to achieve that using php.Here is my kannel.conf
# # Sample configuration file for Kannel bearerbox on Debian. # See the documentation for explanations of fields. #
# HTTP administration is disabled by default. Make sure you set the # password if you enable it.
group = core admin-port = 13000 admin-password = bar admin-deny-ip = "*.*.*.*" admin-allow-ip = "127.0.0.1" wapbox-port = 13002 wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" # Smsbox related smsbox-port = 13001 #box-deny-ip = "*.*.*.*" box-allow-ip = "127.0.0.1" #unified-prefix = "00358,0" #white-list = "http://127.0.0.1/white-list.txt" #black-list = "http://127.0.0.1/black-list.txt" #store-file = "kannel.store"
group = wapbox bearerbox-host = localhost log-file = "/var/log/kannel/wapbox.log"
# SMSBOX SETUP
group = smsbox bearerbox-host = localhost sendsms-port = 13013 #sendsms-chars = "0123456789 +-" #global-sender = 12345 log-file = "/var/log/kannel/smsbox.log" #log-level = 0 #access-log = "access.log" #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage =
# SMSC Fake group = smsc smsc = fake host = localhost port = 10000 #smsc-id= smsfaker #dlr_mask=1+2 #dlr_url="http://localhost/sms/index.php?type=%d" connect-allow-ip = "127.0.0.1"
group = smsc smsc = http system-type = kannel smsc-username = george smsc-password = linkin port = 13015 send-url = " http://localhost/sms/index.php?phone=%p&text=%r&binary=%b&smsc=$i&time=%t"
# SMS SERVICE GET-URL EXAMPLE group = sms-service keyword = www get-url = " http://localhost/sms/index.php?phone=%p&text=%r&binary=%b&smsc=$i&time=%t"
group = sendsms-user username = kannel password = rL4y user-deny-ip = "*.*.*.*" user-allow-ip = "127.0.0.1" default-sender=100
I want to know how to go about retrieving the sms from php.Please feel free to point out any mistakes and or omissions in my kannel.conf. Iam new to kannel
Thanx in advance
Regards George.
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke