Hi,
I have made my kannel to process the message and call a servlet url, but
when i send bulk sms to this modem i get 10 prompt replies , but after that
i get could not fetch content and that too after 5 or 10 minutes.
I am calling netbeans servlet.

#include = /home/parimal/Documents/modems.conf

group = core
admin-port = 13000
admin-password = admin
status-password = status
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
log-file = /var/log/kannel/bearerbox.log
access-log = /var/log/kannel/access-log.log
box-allow-ip = "127.0.0.1,192.168.60.213,192.168.60.242,192.168.60.211"
log-level = 0

#---------------------------------------------
# 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
group = smsc
smsc = at
modemtype = auto
device = /dev/ttyUSB0
sms-center = +919442099997
my-number = 09440375777
connect-allow-ip = "127.0.0.1,192.168.60.213,192.168.60.242,192.168.60.211"
log-file = /var/log/kannel/modem.log
log-level = 0
max-error-count = 5
#sim-buffering = true

#----------------------------------------------------------------------
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 09440375777
immediate-sendsms-reply=1
log-file = "/var/log/kannel/smsbox.log"
log-level = 0

#---------------------------------------------
# SEND-SMS USERS
#
# These users are used when Kannel smsbox sendsms interface is used to
group = sendsms-user
username = cdacbang
password = root123
#user-allow-ip = ""

#---------------------------------------------
# There should be always a 'default' service. This service is used when no
# other 'sms-service' is applied.
group = sms-service
keyword = default
text="the default format is:submit/status usr pwd jobid "
catch-all=true
#---------------------------------------------

group=sms-service
keyword=submit
get-url="
http://localhost:8084/kannel-server/JobResubmitServlet?sender=%p&key=%k&usr=%s&pwd=%s&jobid=%s
"

group=sms-service
keyword=status
get-url="
http://localhost:8084/kannel-server/StatusServlet?sender=%p&key=%k&usr=%s&pwd=%s&jobid=%s
"


group = modems
id = "WAVECOM MODEM"
name = "WAVECOM MODEM"
detect-string = "WAVECOM MODEM"
init-string="ATZ"
init-string="ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
init-string="AT+CNMI=2,2,0,1,1"
#init-string="AT+CNMI=1,2,2,2,1"
speed = 115200
need-sleep=true
#AT+CMEE=2

Reply via email to