Hi John, Let me suggest you the reading of the following document, specially, chapter 4.
http://www.kannel.org/download/1.3.2/arch-1.3.2/arch.html You can´t send SMS "to internet" and expect they will arrive to your phone. The only ways are: through a direct connection to an operator´s SMSC or using a GSM modem (v.g. GSM phone) connected to the serial port of your Kannel machine. FAKE SMSC is only for test purposes, not for sending nor receiving any messages. Rodrigo. On 9/12/05, john decot <[EMAIL PROTECTED]> wrote: > > > > 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" > # 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] 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 using fake sms. 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. > Rene Kluwen <[EMAIL PROTECTED]> wrote: > > 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 > > > > ________________________________ > Click here to donate to the Hurricane Katrina relief effort. > > > > ________________________________ > Yahoo! for Good > Watch the Hurricane Katrina Shelter From The Storm concert > > > > ________________________________ > Yahoo! for Good > Watch the Hurricane Katrina Shelter From The Storm concert > >