Sorry for being a spammer but I do really need this...

I really can't send a msg from http...
Can I do this? are there any other way to send a msg thru http

<html>
 <head>
   <title></title>
 </head>
 <body>
 <form name="temp" method="get" action="http://localhost:13013/empty.html";;>
 <input type="text" name="to" value="+56456456" />
 <textarea name="msg" rows="4" cols="20">
  hello
 </textarea>
 </form>
 </body>
</html>

My file is working on fakesmsc... But I do not know if 
my file is working on sending cause my modem will be delivered by friday
Is my config right... based on the user guide i'm quite right on the modem part
but I have no confidence even a little bit on the connection on http to kannel
and kannel to modem... sorry for being a newbie...

Thanks very much... God bless to you all...

#---------------------------------------------
# CORE
#
# There is only one core group and it sets all basic settings
# of the bearerbox (and system). You should take extra notes on
# configuration variables like 'store-file' (or 'store-dir'),
# 'admin-allow-ip' and 'access.log'


group = core
admin-port = 13000
smsbox-port = 13001
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/gateway-1.4.1/gw/logs/kannel.log"
log-level = 0
#box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/gateway-1.4.1/gw/logs/access.log"
store-file = "/gateway-1.4.1/gw/logs/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 = fake
smsc-id = FAKE
port = 10000
connect-allow-ip = 124.0.0.1

# SMSC HTTP
# This special "SMSC" is used for HTTP based connections with other gateways 
and various other relay
# services, when direct SMSC is not available.

group = smsc
smsc = http
smsc-id = httprelay
host = localhost
port = 14000
system-type = kannel
smsc-username = tester
smsc-password = foobar
send-url = "http://localhost:13013/";;;
connect-allow-ip = "127.0.0.1"
log-file = "/gateway-1.4.1/gw/logs/http.log"

# GSM modem
# This driver allows a GSM Modem or Phone to be connected to Kannel and work as 
a virtual SMSC

group = smsc
smsc = at
smsc-id = modemrelay
modemtype = auto
#device = /dev/ttyS0
device = /dev/ttyUSB0
speed = 9600
pin = 1234
smsc-username = tester
smsc-password = foobar
#log-file = "/gateway-1.4.1/gw/logs/modem.log"

#---------------------------------------------
# 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 = "/gateway-1.4.1/gw/logs/smsbox.log"
log-level = 0
access-log = "/gateway-1.4.1/gw/logs/access.log"

group = smsbox-route
smsbox-id = smsbox
smsc-ids = httprelay

#---------------------------------------------
# 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 = default
text = "No service specified"

# Service for catching url messages

group = sms-service
keyword = 
catch-all = yes
name = http
#get-url = "http://127.0.0.1/sendsms?to=%p&msg=%r";;
accept-x-kannel-headers = true
max-messages = 0
concatenation = true
accepted-smsc = httprelay

#---------------------------------------------
# Modem configuration

# group = modems
# id = "my-id"
# name = "my-name"
# detect-string = "MODEM"
# detect-string2 = "" [Default]
# init-string = "AT+CNMI=1,2,0,0,0" [Default]
# speed = 9600 [Default]
# enable-hwhs = "AT+IFC=2,2" [Default]
# need-sleep = false [Default]
# no-pin = false [Default]
# no-smsc = false [Default]
# sendline-sleep = 100 [Default, miliseconds]
# keepalive-cmd = "AT" [Default]
# broken = false [Default]
# message-storage = "SM"
# enable-mms = false [Default]

group = modems
id = itegno3800
name = "iTEGNO 3800"
detect-string = "ITEGNO"
detect-string2 = "3800"
speed = 19200
pin = 1234



      

Reply via email to