I think you better post this to the list.
 
You still dont have any real SMSC connection. The group = smsc in your kannel.conf points back to the same Kannel instance... which doesnt have an smsc connection.
Kind of like the chicken and the egg.
 
Either install a GSM modem or get an account at one of the many service providers to send out sms messages.
 
Rene Kluwen
Chimit
-----Original Message-----
From: john decot [mailto:[EMAIL PROTECTED]
Sent: zondag 11 september 2005 13:48
To: Rene Kluwen
Subject: RE: sms send problem

I think you can help me .here are the logs which i get
 
 ./smsbox -v 1 smskannel.conf
2005-09-11 16:13:18 [3481] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2005-09-11 16:13:18 [3481] [0] INFO: Service global sender set as '13013'
2005-09-11 16:13:18 [3481] [0] INFO: HTTP: Opening server at port 13013.
2005-09-11 16:13:18 [3481] [0] INFO: Set up send sms service at port 13013
2005-09-11 16:13:18 [3481] [0] INFO: Connected to bearerbox at localhost port 13001.
2005-09-11 16:13:27 [3481] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2005-09-11 16:13:28 [3481] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1>
2005-09-11 16:13:54 [3481] [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <127.0.0.1>
2005-09-11 16:13:54 [3481] [3] INFO: sendsms used by <tester>
2005-09-11 16:13:54 [3481] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:<xxxyyyyyyyyyy> msg:<hello>
2005-09-11 16:13:56 [3481] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1>
 
 
 
./bearerbox -v 1 smskannel.conf
2005-09-11 16:13:15 [3472] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0
2005-09-11 16:13:15 [3472] [0] WARNING: DLR: using default 'internal' for storage type.
2005-09-11 16:13:15 [3472] [0] INFO: DLR using storage type: internal
2005-09-11 16:13:15 [3472] [0] INFO: HTTP: Opening server at port 13000.
2005-09-11 16:13:15 [3472] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100).
2005-09-11 16:13:15 [3472] [0] INFO: DLR rerouting for smsc id <(null)> disabled.
2005-09-11 16:13:15 [3472] [0] INFO: HTTP: Opening server at port 10011.
2005-09-11 16:13:15 [3472] [0] INFO: HTTP[(null)]: Initiated and ready
2005-09-11 16:13:15 [3472] [0] INFO: ----------------------------------------
2005-09-11 16:13:15 [3472] [0] INFO: Kannel bearerbox II version 1.4.0 starting
2005-09-11 16:13:15 [3472] [0] INFO: MAIN: Start-up done, entering mainloop
2005-09-11 16:13:18 [3472] [9] INFO: Client connected from <127.0.0.1>
2005-09-11 16:13:57 [3472] [12] ERROR: Error while gw_gethostbyname occurs.
2005-09-11 16:13:57 [3472] [12] ERROR: System error 1: Operation not permitted
2005-09-11 16:13:57 [3472] [12] ERROR: gethostbyname failed
2005-09-11 16:13:57 [3472] [12] ERROR: error connecting to server `localhost:13013' at port `13013'
2005-09-11 16:13:57 [3472] [12] ERROR: Couldn't send request to <http://localhost:13013?username=tester&password=foobar&to=xxxyyyyyyyyyy&text=hello&from=13013&coding=0&dlr-url=>
2005-09-11 16:13:57 [3472] [7] ERROR: HTTP[(null)]: Couldn't connect to SMS center (retrying in 10 seconds).
 
 
smskannel.conf looks follows
#
# 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 users@kannel.org
#
#   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.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 = "/tmp/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC CONNECTIONS
group = smsc
smsc = http
system-type= kannel
port = 10011
connect-allow-ip = 127.0.0.1
smsc-username= tester
smsc-password= foobar
send-url = ""http://localhost:13013">http://localhost:13013"
# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
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
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""
# 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"


Rene Kluwen <[EMAIL PROTECTED]> wrote:
Did you set up an smsc connection under group = smsc in kannel.conf?
 
Maybe it is a good idea to post your config.
 
Rene Kluwen
Chimit
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of john decot
Sent: vrijdag 9 september 2005 7:54
To: users@kannel.org
Subject: sms send problem

Hi all,
  i m first time to setting up kannel. i have used sample smskannel.conf  and run the daemon. i have tried to sent sms from http. Logs show as follows:
 
2005-09-09 10:42:03 [3301] [3] INFO: sendsms sender:<tester:13013> (127.0.0.1) to:< xxxyyyyyyyyyy> msg:<hello>
2005-09-09 10:42:05 [3301] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1>
2005-09-09 10:44:30 [3301] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1>
2005-09-09 10:44:31 [3301] [3] INFO: smsbox: Got HTTP request </favicon.ico> from <127.0.0.1>
where xxx= country code
          yyyyyyyyyy= mobile no.
 
web browser shows successfully sent. But i am not getting message in my mobile. I am connected to internet only no other hardware is there. i have heard that we can send message without using mobile set gateway.
 
 
what may be the problem with my kannel.  Any help will be apprieciated.
 
 
thanks in advance.
 
john.


Click here to donate to the Hurricane Katrina relief effort.


Yahoo! for Good
Watch the Hurricane Katrina Shelter From The Storm concert

Reply via email to