Hi guys.

i wanted to send a picture,ringtone,animation to a user using a push
here's the step what i have in mind:

1) the user will text a keyword related to the item he/she want to download.
2) kannel will send a push back to the user notifying that the item is now ready for download + a SMS message saying like "Thank you for downloading this content"
3) the user will download the item using his/her mobile internet.

what i have so far is running bearerbox,smsbox and wapbox.
i can text a keyword to kannel and make kannel reply a text also.
i also made a voting system

what i dont understand is to how to code or configure on how to send the notification.

can anyone make a step-by-step instructions on how to do it? i am soooo confused right now.
and i dont know how to send either

attached is my kannel configuration and i'm using sony ericsson k800i

if you see something wrong on my config, feel free to tell me so i can evaluate.


thank you in advance for the support! =D
#
# THIS IS A SAMPLE CONFIGURATION FOR KANNEL
#
# For any modifications to this file, see Kannel User Guide 
# If that does not help, send email to [email protected]
#

#Modem Detection
group = modems
id = sonyericsson_k800
name = "Sony Ericsson K800"
detect-string = "Sony Ericsson"
detect-string2 = "K800"
init-string = "AT+CNMI=2,3"
message-storage = "SM"
enable-mms = true

#Modem Detection
group = modems
id = nokia_6610
name = "Nokia 6610"
detect-string = "Nokia"
detect-string2 = "6610"
init-string = "AT+CNMI=1,2,0,1,0"
message-storage = "SM"
enable-mms = true

#include = "/home/kannel/kannel-snapshot/doc/examples/modems.conf"

#CORE Setup
group = core
admin-port = 13000
smsbox-port = 13008
admin-password = 
status-password = 
wapbox-port = 13007
wdp-interface-name = "*"
log-file = "/home/kannel/kannel-log/kannel.log"
log-level = 0
access-log = "/home/kannel/kannel-log/kannel-access.log"
#box-deny-ip = "*.*.*.*"
#box-allow-ip = 
"localhost,projects2.XXX.XXX.XXX,202.XXX.XXX.XXX,10.106.1.19,10.106.1.206"
box-allow-ip = "*.*.*.*"
store-file = "/home/kannel/kannel-log/kannel-store.log"
store-dump-freq = 30
#unified-prefix = "+63,0063,0,+,00"

#WAP BOX
group = wapbox
bearerbox-host = "localhost"
log-file = "/home/kannel/kannel-log/kannel-wapbox.log"
log-level = 0
#map-url = "http://mmsc/* http://localhost:1981/*

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
trusted-pi = true

group = wap-push-user
wap-push-user = apcmms
ppg-username = 
ppg-password = 
allowed-prefix = +63,0063

#SMSC Group
group = smsc
smsc = at
smsc-id = APCSMS
modemtype = auto
device = /dev/ttyACM0
#my-number = "+63920611XXXX"
#sms-center = "+63918000XXXX"
connect-allow-ip = "localhost"
log-level = 0

group = smsbox
bearerbox-host = localhost
smsbox-id = dlrbox

#SMSBOX Group
group = smsbox
bearerbox-host = "localhost"
sendsms-port = 12121
sendsms-chars = "0123456789 +-"
global-sender = "0920611XXXX"
access-log = "/home/kannel/kannel-log/kannel-smsbox-access.log"
log-file = "/home/kannel/kannel-log/kannel-smsbox.log"
log-level = 0
#user-allow-ip = 
"localhost,projects2.XXX.XXX.XXX,202.XXX.XXX.XXX,10.106.1.19,10.106.1.206"

#Send SMS Group
group = sendsms-user
username = ctcarino
password = passw0rd
concatenation = true
max-messages = 0
#user-allow-ip = 
"localhost,projects2.XXX.XXX.XXX,202.XXX.XXX.XXX,10.106.1.19,10.106.1.206"

#SMS Service
#group = sms-service
#keyword = "pic"
#get-url = "http://localhost/logo2.JPG";

#SMS Service
group = sms-service
keyword = "www"
text = "This is the correct keyword! (www)"

#SMS Service
group = sms-service
keyword = "www"
text = "This is the correct keyword2! (www)"


#SMS Service Voting System
group = sms-service
keyword = "vote"
keyword-regex = "vote"
catch-all = yes
get-url = "http://localhost/exec_php_sms.php?sender=%p&text=%r";

#SMS Service
group = sms-service
keyword = "big"
get-url = "http://localhost/test/test.txt";

#SMS Service Default
group = sms-service
keyword = "default"
text = "Keyword Wrong!"

Reply via email to