Thank u Mr Navjot Singh



Thank u Navjot for helping to solve problem with mysql..


I had another problem..
I am using nokia 6800 my phone ..is detecting and bearerbox and smsbox also working..but I am not able to send SMS throug web and I don't know how ro recive SMS through kannnel and reply through sms-service
I sned sms suing
#lynx "localhost:13013/cgi-bin/sendsms?username=tester&password=foobar&to=9890112293&text=hello"


but this message not send

MY  smskannel.conf file here:
#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
#
# It is run like this:
#
#  1% gw/bearerbox gw/smskannel.conf
#  2% gw/smsbox gw/smskannel.conf
#  3% test/fakesmsc -p 10000 -H localhost -i 1 -m 100 "123 345 text nop"
#
# ..all 3 commands in separate shells (or screen sessions)
#
# For any modifications to this file, see Kannel User Guide
# If that does not help, send email to [EMAIL PROTECTED]
#
#   Kalle Marjola May 2000
#   Changed for new fakesmsc version by Uoti Urpala Jan 2001
#   Added service and sendsms for HTTP SMSC by Kalle Marjola Mar 2001
#

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

# SMSC CONNECTIONS

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 10000
#connect-allow-ip = 127.0.0.1

group = smsc
smsc = at2
smsc-id = 6800
modemtype= nokiaphone
device = /dev/ttyS1
speed = 0
sms-center = +919822035354
my-number = +919822035454


# MODEM GROUP group = modems id = nokiaphone name = "Nokia Phone" detect-string = "Nokia Moble Phone" init-string= "AT+CNMI=1,2,0,1,0" need-sleep = true keepalive-cmd="AT+CBC;+CSQ" enable-hwhs = "AT+IFC=2,2" # SMSBOX SETUP

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

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
user-allow-ip = "127.0.0.1"
default-sender = "+919822035454"
max-messages = 1
concatenation = true
# SERVICES

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

# there should be default always

group = sms-service
keyword = default
text = "No service specified"


AND kannel.log file is here..


2004-02-17 16:24:24 [0] INFO: Added logfile `/tmp/kannel/kannel.log' with level `0'.
2004-02-17 16:24:24 [0] INFO: Started access logfile `/tmp/kannel/access.log'.
2004-02-17 16:24:24 [0] DEBUG: Started thread 1 (gw/bb_store.c:store_cleanup)
2004-02-17 16:24:24 [0] INFO: SSL not supported, no SSL initialization done.
2004-02-17 16:24:24 [0] DEBUG: HTTP: Opening server at port 13000.
2004-02-17 16:24:24 [0] DEBUG: Started thread 2 (gwlib/fdset.c:poller)
2004-02-17 16:24:24 [0] DEBUG: Started thread 3 (gwlib/http.c:server_thread)
2004-02-17 16:24:24 [0] DEBUG: Started thread 4 (gw/bb_http.c:httpadmin_run)
2004-02-17 16:24:24 [0] DEBUG: starting smsbox connection module
2004-02-17 16:24:24 [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run)
2004-02-17 16:24:24 [0] INFO: AT2[6800]: configuration shows modemtype <nokiaphone>
2004-02-17 16:24:24 [0] DEBUG: AT2[6800]: Reading modem definitions from <smskannel.conf>
2004-02-17 16:24:24 [0] DEBUG: AT2[6800]: Found <1> modems in config
2004-02-17 16:24:24 [0] INFO: AT2[6800]: read modem definition for <Nokia Phone>
2004-02-17 16:24:24 [0] DEBUG: Started thread 6 (gw/smsc/smsc_at2.c:at2_device_thread)
2004-02-17 16:24:24 [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router)
2004-02-17 16:24:24 [0] INFO: ----------------------------------------
2004-02-17 16:24:24 [0] INFO: Kannel bearerbox II version 1.3.1 starting
2004-02-17 16:24:24 [0] INFO: Loading store file /tmp/kannel/kannel.store
2004-02-17 16:24:24 [0] INFO: Store-file size 4746, starting to unpack
2004-02-17 16:24:24 [0] INFO: Retrieved 15 messages, non-acknowledged messages: 15
2004-02-17 16:24:24 [0] INFO: MAIN: Start-up done, entering mainloop
2004-02-17 16:24:24 [0] DEBUG: AT2[6800]: start called
2004-02-17 16:24:24 [6] INFO: AT2[6800]: trying to use speed <9600> from modem definition
2004-02-17 16:24:24 [6] INFO: AT2[6800]: opening device
2004-02-17 16:24:24 [6] DEBUG: AT2[6800]: device opened
2004-02-17 16:24:24 [6] INFO: AT2[6800]: speed set to 9600
2004-02-17 16:24:24 [6] DEBUG: AT2[6800]: --> ^M
2004-02-17 16:24:24 [7] DEBUG: sms_router: time to sleep
2004-02-17 16:24:24 [7] DEBUG: sms_router: list_len = 15
2004-02-17 16:24:24 [7] DEBUG: sms_router: time to sleep
2004-02-17 16:24:30 [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)
2004-02-17 16:24:30 [8] INFO: Client connected from <127.0.0.1>
2004-02-17 16:24:30 [8] DEBUG: Started thread 9 (gw/bb_boxc.c:boxc_sender)
2004-02-17 16:24:30 [8] DEBUG: boxc_receiver: unlocking sender
2004-02-17 16:24:30 [9] DEBUG: boxc_sender: sender unlocked
2004-02-17 16:24:37 [8] DEBUG: boxc_receiver: sms received



So please help me.. What is the problem to my congiguration file and How i can send SMS

Thank u
from
Haresh Ghoghari

_________________________________________________________________
MSN Hotmail now on your Mobile phone. http://server1.msn.co.in/sp03/mobilesms/ Click here.





Reply via email to