Hi,  

I've read user manual and past mail reply, but maybe I am stupid, I really
dont get it.  Do I need write a own script to receive reply message from
Kannel?  Can I read in-coming message from http?  I am able to send sms, but
when people reply it, SMS shows received, but where/how can I read the reply
message?  

Thanks for your help.

roger
enclos is kannel.conf

group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
#log-file = "/tmp/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

#---------------------------------------------
# SMSC CONNECTIONS
#
# SMSC connections are created in bearerbox and they handle SMSC specific
# protocol and message relying. You need these to actually receive and send
# messages to handset, but can use GSM modems as virtual SMSCs

# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = at
modemtype = auto
device=/dev/ttyS0
my-number = +8615810365155
#smsc-id = FAKE
alt-charset = GB2312
#port = 12000
connect-allow-ip = 127.0.0.1

#---------------------------------------------
# SMSBOX SETUP
#
# Smsbox(es) do higher-level SMS handling after they have been received from
# SMS centers by bearerbox, or before they are given to bearerbox for
delivery

group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "/tmp/access.log"

#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
# send PUSH sms messages, i.e. calling URL like
#
http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar...

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

#---------------------------------------------
# SERVICES
#
# These are 'responses' to sms PULL messages, i.e. messages arriving from
# handsets. The response is based on message content. Only one sms-service
is
# applied, using the first one to match.

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.

group = sms-service
keyword = www
get-url = "http://%S";

group = sms-service
keyword = relay
#get-url =
"http://localhost:13130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r";
max-messages = 0

group = sms-service
keyword = default
catch-all = yes
get-url =
"http://192.168.10.173/test.php?smsvendor=kannel&from=%P&to=%p&text=%b";
assume-plain-text = true
max-messages = 3
text = "No service specified"

include = "/usr/local/kannel/modems.conf"

-- 
View this message in context: 
http://www.nabble.com/help-with-receiving-message-tp25419665p25419665.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to