Oded Arbel
m-Wise Inc.
[EMAIL PROTECTED]
(972)-67-340014
(972)-9-9581711 (ext: 116)
In the force if Yoda's so strong, construct a sentence with words in the proper order then why can't he?
-----Original Message-----
From: Bing Tan [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 1:09 PM
To: Oded Arbel
Cc: [EMAIL PROTECTED]
Subject: RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!>From: "Oded Arbel" <[EMAIL PROTECTED]> >To: "Bing Tan" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply! >Date: Mon, 13 May 2002 11:22:46 +0200 > >Very weird. try this : don't define a speed setting in the smsc group, >and do define a my-number and smsc-id entry. now try it and send the >logs over, k ? > >-- >Oded Arbel >m-Wise Inc. >[EMAIL PROTECTED] >(972)-67-340014 >(972)-9-9581711 (ext: 116) > >::.. >Computers are useless. They can only give you answers. > -- Pablo Picasso > > > > >-----Original Message----- >From: Bing Tan [mailto:[EMAIL PROTECTED]] >Sent: Monday, May 13, 2002 10:31 AM >To: [EMAIL PROTECTED]; Oded Arbel >Subject: RE: I need precious help: Nokia 6110 as SMSC but I dont get any >reply! > > >So as to give you guys alittle bit more background, my Kannel 1.1.6 is >loaded on a fresh onstallation of redhat 7.2, so there isn't anything >else on the box. > >It looks like the module quit while trying to access the modem, for no >apparent reason. also your log file looks corrupted : >2002-05-12 16:53:08 [5] DEBUG: AT2[/dev/tty! S0! ]: --> AT&F^M >It the name of the device shouldn't have exlamation marks in it. >another thing I noticed about your log is that bearerbox attempts >autodetect instead of using the nokiaphone entry. this could be cause by >a wrong configuration. please put an empty line between your smsc group >settings and the modems include directive, and also check your >modemsbing.conf to make sure that it contains the nokiaphone entry. > >This was one thing i was quite confused. I dont know why it goes to >autodetect but I am thinking even if it goes to autodetect, it does >eventually find something to connect to through the modemsbing.conf( >which by the way is at the bottom of this email) I tried separating the >include line as you suggested but no cigar. If ever, i also do hae a >nokia 7110 which i tried but still the same...no luck. >if none of this helps, please upgrade to the latest CVS, try again and >send us the los one more time. > >i am not familiar with using cvs at all... >-- >Oded Arbel >m-Wise Inc. >[EMAIL PROTECTED] >(972)-67-340014 >(972)-9-9581711 (ext: 116) > >::.. >If man evolved from the ape, how come there are still apes around? Some >of them were given choices. > -- from Johnny Hart's comic strip "B.C." > > > > >-----Original Message----- >From: Bing Tan [mailto:[EMAIL PROTECTED]] >Sent: Monday, May 13, 2002 7:54 AM >To: [EMAIL PROTECTED] >Subject: I need precious help: Nokia 6110 as SMSC but I dont get any >reply! > > > > > >Bing Tan > >Can i ask you you guys for help? I am really new to Kannel so hope you >bear with me. I've searched through the archives and I'm pretty sure >this isnt a question that was posted....so its either Im really out of >my luck here or just plain stupid. > >I setup my machine properly. I use a 6110 phone on dau9p cable smsc. I >send an sms to this phone but i dont get any reply.I have no access.log >entry and my kannel.log says: > >2002-05-12 16:53:02 [0] INFO: Kannel bearerbox II version 1.1.6 starting >2002-05-12 16:53:02 [0] INFO: Started access logfile `access.log'. >2002-05-12 16:53:02 [0] DEBUG: HTTP: Opening server at port 13000. >2002-05-12 16:53:02 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) >2002-05-12 16:53:02 [0] DEBUG: Started thread 2 >(gwlib/http.c:server_thread) >2002-05-12 16:53:02 [0] DEBUG: Started thread 3 >(gw/bb_http.c:httpadmin_run) >2002-05-12 16:53:02 [0] DEBUG: starting smsbox connection module >2002-05-12 16:53:02 [0] DEBUG: Started thread 4 >(gw/bb_boxc.c:smsboxc_run) >2002-05-12 16:53:02 [0] INFO: AT2[/dev/ttyS0]: configuration shows >modemtypeI tried to take out the speed, but the connection terminates because it failed to get anything I had to put it back. Now it seems there are no errorrs but still I dont get any messages sent back to me when i type in "default", or "nop". Can you send me a copy of your kannel.log/ kannel.conf/ modems.conf, so i can at least compare it to mine? I dont know what a log file is suppose to look like when its running properly....
I appreciate the help very very much
My kannel.log now looks like this:
2002-05-13 10:31:52 [0] INFO: Kannel bearerbox II version 1.1.6 starting2002-05-13 10:31:52 [0] INFO: Started access logfile `access.log'.
2002-05-13 10:31:52 [0] DEBUG: HTTP: Opening server at port 13000.
2002-05-13 10:31:52 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2002-05-13 10:31:52 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2002-05-13 10:31:52 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run)
2002-05-13 10:31:52 [0] DEBUG: starting smsbox connection module
2002-05-13 10:31:52 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run)
2002-05-13 10:31:52 [0] INFO: AT2[at2]: configuration shows modemtype <nokiaphone>
2002-05-13 10:31:52 [0] DEBUG: AT2[at2]: Reading modem definitions from <kanneltry.conf>
2002-05-13 10:31:52 [0] DEBUG: Loading include file `/root/gateway-1.1.6/doc/modemstry.conf' (on line 48 of file kanneltry.conf).
2002-05-13 10:31:52 [0] DEBUG: AT2[at2]: Found <10> modems in config
2002-05-13 10:31:52 [0] INFO: AT2[at2]: read modem definition for <Nokia Phone>
2002-05-13 10:31:52 [0] DEBUG: Started thread 5 (gw/smsc_at2.c:at2_device_thread)
2002-05-13 10:31:52 [0] DEBUG: Started thread 6 (gw/bb_smscconn.c:sms_router)
2002-05-13 10:31:52 [0] INFO: MAIN: Start-up done, entering mainloop
2002-05-13 10:31:52 [5] INFO: AT2[at2]: opening device
2002-05-13 10:31:52 [5] DEBUG: AT2[at2]: device opened
2002-05-13 10:31:52 [0] DEBUG: AT2[at2]: start called
2002-05-13 10:31:52 [6] DEBUG: sms_router: time to sleep
2002-05-13 10:31:52 [6] DEBUG: sms_router: list_len = 0
2002-05-13 10:31:53 [5] DEBUG: AT2[at2]: device opened
2002-05-13 10:31:53 [5] INFO: AT2[at2]: init device
2002-05-13 10:31:53 [5] INFO: AT2[at2]: speed set to 9600
2002-05-13 10:31:53 [5] DEBUG: AT2[at2]: --> AT^M
2002-05-13 10:32:16 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function)
2002-05-13 10:32:16 [7] INFO: Client connected from <127.0.0.1>
2002-05-13 10:32:16 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)
my smsbox.log:
2002-05-13 10:32:16 [0] DEBUG: Kannel smsbox version 1.1.6 starting
2002-05-13 10:32:16 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)
2002-05-13 10:32:16 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)
2002-05-13 10:32:16 [0] INFO: Connected to bearerbox at localhost port 13001.
2002-05-13 10:32:16 [0] DEBUG: Started thread 6 (gw/heartbeat.c:heartbeat_thread)
My kannel.conf:
>group = smsc
>smsc = at2
>smsc-id=at2
>modemtype = nokiaphone
>device=/dev/ttyS0
>speed=9600 /11
>pin=XXXX
>my-number=534xxxx (my cell number-is that correct?)
>include= /root/gateway-1.1.6/doc/modemsbing.conf
>
>2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS0]: Reading modem >definitions from >2002-05-12 16:53:02 [0] DEBUG: Loading include file >`/root/gateway-1.1.6/doc/modemsbing.conf' (on line 45 of file >smskannel.conf). >2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS! ! ! 0]! : Found <10> >modems in config >2002-05-12 16:53:02 [0] INFO: AT2[/dev/ttyS0]: modemtype not found, >revert to autodetect >2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type >2002-05-12 16:53:02 [5] INFO: AT2[/dev/ttyS0]: opening device >2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: device opened >2002-05-12 16:53:02 [5] INFO: AT2[/dev/ttyS0]: speed set to 9600 >2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: --> ^M >2002-05-12 16:53:02 [0] DEBUG: Started thread 5 >(gw/smsc_at2.c:at2_device_thread) >2002-05-12 16:53:02 [0] DEBUG: Started thread 6 >(gw/bb_smscconn.c:sms_router) >2002-05-12 16:53:02 [0] INFO: MAIN: Start-up done, entering mainloop >2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS0]: start called >2002-05-12 16:53:02 [6] DEBUG: sms_router: time to sleep >2002-05-12 16:53:02 [6] DEBUG: sms_router: list_len = 0 >2002-05-12 16:53:04 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M >2002-05-12 16:53:08 [5] DEBUG: AT2[/dev! /t! ty! S0! ]: --> AT&F^M >2002-05-12 16:53:12 [5] DEBUG: Thread 5 >(gw/smsc_at2.c:at2_device_thread) terminates. >2002-05-12 16:53:28 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function) >2002-05-12 16:53:28 [7] INFO: Client connected from <127.0.0.1> >2002-05-12 16:53:28 [7] DEBUG: Started thread 8 >(gw/bb_boxc.c:boxc_sender) >2002-05-12 17:07:07 [0] WARNING: SIGHUP received, catching and >re-opening logs >2002-05-12 17:07:17 [0] WARNING: Killing signal received, shutting >down... >2002-05-12 17:07:17 [0] DEBUG: Shutting down Kannel... >2002-05-12 17:07:17 [0] DEBUG: shutting down smsc >2002-05-12 17:07:17 [0] DEBUG: AT2[/dev/ttyS0]: Shutting down SMSCConn, >slow >2002-05-12 17:07:17 [0] DEBUG: shutting down udp >2002-05-12 17:07:17 [0] WARNING: New killing signal received, killing >neverthless... > >Here's my smskannel.conf : > >group = core >admin-port = 13000 >smsbox-port = 13001 >admin-password = bar >log-file = "/tmp/kannel.log" >log-level = 2 >box-deny-ip = "*.*.*.*" >box-allow-ip = "127.0.0.1" >unified-prefix = "+63917,0917,+0917" >access-log = "access.log" > >group = smsc >smsc = at2 >modemtype = nokiaphone >device=/dev/ttyS0 >speed=9600 >pin=XXXX >include= /root/gateway-1.1.6/doc/modemsbing.conf > >group = smsbox >bearerbox-host = localhost >sendsms-port = 13013 >global-sender = 534XXXX >sendsms-chars = "0123456789 " >log-file = "/tmp/smsbox.log" >log-level = 2 >access-log = "access.log" > >group = sendsms-user >username = tester >password = foobar > >group = sendsms-user >username = kannel >password = rL4y >user-deny-ip = "*.*.*.*" >user-allow-ip = "127.0.0.1" > >group = sms-service >keyword = get >text = "shake your bon bon" > >group = sms-service >keyword = relay >get-url = " http://localhost:15130/sms?user=kannel > >&pass=rL4y&from=%p&to=%P&text=%r" >max-messages = 1 > >group = sms-service >keyword = default >text = "No service specified" > > >and here is my modems.conf: > ># Modems configuration ># ># Example and default values ># ># 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" > > ># If modemtype=auto, try everyone and defaults to this one >group = modems >id = generic >name = "Generic Modem" > >group = modems >id = wavecom >name = Wavecom >detect-string = "WAVECOM" > >group = modems >id = premicell >name = Premicell >detect-string = "PREMICEL" >no-pin = true >no-smsc = true > >group = modems >id = siemens_tc35 >name = "Siemens TC35" >detect-string = "SIEMENS" >detect-string2 = "TC35" >init-string = "AT+CNMI=1,2,0,0,1" >speed = 19200 >enable-hwhs = "AT\\Q3" >need-sleep = true > >group = modems >id = siemens_m20 >name = "Siemens M20" >detect-string = "SIEMENS" >detect-string2 = "M20" >speed = 19200 >enable-hwhs = "AT\\Q3" >need-sleep = true > >group = modems >id = nokiaphone >name = "Nokia Phone" >detect-string = "Nokia Mobile Phone" >need-sleep = true >keepalive-cmd = "AT+CBC;+CSQ" > >group = modems >id = falcom >name = "Falcom" >detect-string = "Falcom" >no-smsc = true > >group = modems >id = ericsson_r520m >name = "Ericsson R520m" >detect-string = "R520m" >init-string = "AT+CNMI=3,2,0,0" > >group = modems >id = ericsson_t68 >name = "Ericsson T68" >detect-string = "T68" >init-string = "AT+CNMI=3,3" >keepalive-cmd = "AT+CBC;+CSQ" >broken = true > >group = modems >id = alcatel >name = "Alcatel" >detect-string = "Alcatel" >init-string = "AT+CNMI=3,2,0,0" > > >Any help is extremely appreciated. Thanks in advance. > > > >Bing Tan > > > _____ > >MSN Photos is the easiest way to share and print your photos: Click > Here > >
MSN Photos is the easiest way to share and print your photos: Click Here
