RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Bing Tan
ction)2002-05-14 03:23:35 [7] INFO: Client connected from <127.0.0.1>2002-05-14 03:23:35 [7] DEBUG: Started thread 8 (gw/bb_boxc.c:boxc_sender)

>From: "Oded Arbel" <[EMAIL PROTECTED]>
>To: "Bing Tan" <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply! 
>Date: Mon, 13 May 2002 18:55:48 +0200 
> 
>Ok - now it doesn't connec at all - and with speed set it does ? weird. 
>can I see the full kannel.log when speed is set, please ? 
>the smsbox log isn't interesting - it is composed of smsbox logging into 
>bearerbox and then disconnecting when bearerbox goes down. 
> 
>I have trier to connect my Nokia phone using the DLR cable and was 
>successful, I don't know the type of cable that you have, so I can't 
>tell you much about it. 
>But they way that you test it currently is the way to go : get the modem 
>connected before doing anything else (which of course won't work if the 
>modem isn't connected properly). 
> 
>-- 
>Oded Arbel 
>m-Wise Inc. 
>[EMAIL PROTECTED] 
>(972)-67-340014 
>(972)-9-9581711 (ext: 116) 
> 
>::.. 
>He's dead, Jim. You grab his wallet, I'll grab his tricorder. 
> 
> 
> 
> 
>-Original Message- 
>From: Bing Tan [mailto:[EMAIL PROTECTED]] 
>Sent: Monday, May 13, 2002 6:14 PM 
>To: Oded Arbel 
>Cc: [EMAIL PROTECTED] 
>Subject: RE: I need precious help: Nokia 6110 as SMSC but I dont get any 
>reply! 
> 
> 
> 
> 
> 
>Hi Odel, here are my log files. I took out the speed as you requested 
>and this is what i get in my kannel.logit seems like it searches for 
>it and then it fails to connect. below is also my smsbox.log 
> 
>kannel.log 
> 
>2002-05-13 14:48:27 [0] INFO:  
>2002-05-13 14:48:27 [0] INFO: Kannel bearerbox II version 1.1.6 starting 
>2002-05-13 14:48:27 [0] INFO: Started access logfile `access.log'. 
>2002-05-13 14:48:27 [0] DEBUG: HTTP: Opening server at port 13000. 
>2002-05-13 14:48:27 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 
>2002-05-13 14:48:27 [0] DEBUG: Started thread 2 
>(gwlib/http.c:server_thread) 
>2002-05-13 14:48:27 [0] DEBUG: Started thread 3 
>(gw/bb_http.c:httpadmin_run) 
>2002-05-13 14:48:27 [0] DEBUG: starting smsbox connection module 
>2002-05-13 14:48:27 [0] DEBUG: Started thread 4 
>(gw/bb_boxc.c:smsboxc_run) 
>2002-05-13 14:48:27 [0] INFO: AT2[at2]: configuration shows modemtype 
> 
>2002-05-13 14:48:27 [0] DEBUG: AT2[at2]: Reading modem definitions from 
> 
>2002-05-13 14:48:27 [0] DEBUG: Loading incl! ud! e file 
>`/root/gateway-1.1.6/doc/modemstry.conf' (on line 48 of file 
>kanneltry.conf). 
>2002-05-13 14:48:27 [0] DEBUG: AT2[at2]: Found <10> modems in config 
>2002-05-13 14:48:27 [0] INFO: AT2[at2]: read modem definition for >Phone> 
>2002-05-13 14:48:27 [0] DEBUG: Started thread 5 
>(gw/smsc_at2.c:at2_device_thread) 
>2002-05-13 14:48:27 [0] DEBUG: Started thread 6 
>(gw/bb_smscconn.c:sms_router) 
>2002-05-13 14:48:27 [0] INFO: MAIN: Start-up done, entering mainloop 
>2002-05-13 14:48:27 [5] INFO: AT2[at2]: trying to use speed <9600> from 
>modem definition 
>2002-05-13 14:48:27 [5] INFO: AT2[at2]: opening device 
>2002-05-13 14:48:27 [5] DEBUG: AT2[at2]: device opened 
>2002-05-13 14:48:27 [5] INFO: AT2[at2]: speed set to 9600 
>2002-05-13 14:48:27 [5] DEBUG: AT2[at2]: --> ^M 
>2002-05-13 14:48:27 [0] DEBUG: AT2[at2]: start called 
>2002-05-13 14:48:27 [6] DEBUG: sms_router: time to sleep 
>2002-05-13 14:48:27 [6] DEBUG: sms_router: list_le! n ! = 0 
>2002-05-13 14:48:29 [5] DEBUG: AT2[at2]: --> AT^M 
>2002-05-13 14:48:33 [5] DEBUG: AT2[at2]: --> AT^M 
>2002-05-13 14:48:37 [5] DEBUG: AT2[at2]: --> AT^M 
>2002-05-13 14:48:41 [5] INFO: AT2[at2]: closing device 
>2002-05-13 14:48:41 [5] INFO: AT2[at2]: speed in modem definition don't 
>work, will autodetect 
>2002-05-13 14:48:41 [5] DEBUG: AT2[at2]: detecting modem speed. 
>2002-05-13 14:48:41 [5] INFO: AT2[at2]: opening device 
>2002-05-13 14:48:41 [5] DEBUG: AT2[at2]: device opened 
>2002-05-13 14:48:41 [5] INFO: AT2[at2]: speed set to 57600 
>2002-05-13 14:48:41 [5] DEBUG: AT2[at2]: --> ^M 
>2002-05-13 14:48:43 [5] DEBUG: AT2[at2]: --> AT^M 
>2002-05-13 14:48:47 [5] DEBUG: AT2[at2]: --> AT^M 
>2002-05-13 14:48:49 [4] DEBUG: Started thread 7 (gw/bb_boxc.c:function) 
>2002-05-13 14:48:49 [7] INFO: Client connected from <127.0.0.1> 
>2002-05-13 14:48:49 [7] DEBUG: Started thread 8 
>(gw/bb_boxc.c:boxc_sender) 
>2002-05-13 14:48:51 [! 5]! DEBUG: AT2[at2]: --> AT^M 
>2002-05-13 14:48:55 [5] INFO: AT2[at2]: closing device 
>2

RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Bing Tan
49 [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread)2002-05-13 14:48:49 [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread)2002-05-13 14:48:49 [0] INFO: Connected to bearerbox at localhost port 13001.2002-05-13 14:48:49 [0] DEBUG: Started thread 6 (gw/heartbeat.c:heartbeat_thread)2002-05-13 15:52:19 [0] WARNING: SIGHUP received, catching and re-opening logs
DO you think it has anything to do with my dau9p cable? someone suggested i use dlr3p instead
I wrote to someone and he told me to try it out directly by connecting to a url, im just thinking if at this stage it already doesnt work, it wont make sense doing all that because you will involve more programs and more machines.
Bing

>From: "Oded Arbel" <[EMAIL PROTECTED]>
>To: "Bing Tan" <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply! 
>Date: Mon, 13 May 2002 14:12:48 +0200 
> 
>Your log file is incomplete. perhaps you do not give it enough time - 
>after starting Kannel, it can take upto a minute for the modem to be 
>ready to send. 
> 
> >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) 
> 
>What happens after that ? I cannot help you if you don't supply the 
>logs. please take out the speed option from the smsc group - Kannel 
>should use the setting from the modems.conf, and autodetect is failed - 
>this is the behaviour that is needed for trouble shooting. you can put 
>it back if you still think it's needed - after everything runs smoothly. 
> 
>-- 
>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! 
> 
> 
> 
>I 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 starting 
> 
>2002-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 
> 
> 
>2002-05-13 10:31:52 [0] DEBUG: AT2[at2]: Reading modem definitions from 
> 
> 
>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 >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

RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Oded Arbel



Your 
log file is incomplete. perhaps you do not give it enough time - after starting 
Kannel, it can take upto a minute for the modem to be ready to 
send.
 
>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)
 
What happens after that ? I 
cannot help you if you don't supply the logs. please take out the speed option 
from the smsc group - Kannel should use the setting from the modems.conf, and 
autodetect is failed - this is the behaviour that is needed for trouble 
shooting. you can put it back if you still think it's needed - after everything 
runs smoothly.
 
--Oded Arbelm-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 
  PMTo: Oded ArbelCc: 
  [EMAIL PROTECTED]Subject: RE: I need precious help: Nokia 6110 
  as SMSC but I dont get any reply!
  
  
  I 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 
  starting
  2002-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 
  2002-05-13 10:31:52 [0] DEBUG: AT2[at2]: Reading modem 
  definitions from 
  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 
  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= 
  >my-number=534 (my cell number-is that correct?)
  
  >include= /root/gateway-1.1.6/doc/modemsbing.conf 
  
  > 
  
  >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 ? 
  > 
  >-- 
  >Ode

RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Bing Tan

I 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 starting
2002-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 
2002-05-13 10:31:52 [0] DEBUG: AT2[at2]: Reading modem definitions from 
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 
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= 
>my-number=534 (my cell number-is that correct?)

>include= /root/gateway-1.1.6/doc/modemsbing.conf 

> 

>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 i

RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Oded Arbel



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 Arbelm-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 
  AMTo: [EMAIL PROTECTED]; Oded ArbelSubject: 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^MIt 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 Arbelm-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 AMTo: [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 postedso 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 starting2002-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 module2002-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 modemtype 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 config2002-05-12 16:53:02 [0] INFO: 
AT2[/dev/ttyS0]: modemtype not found, revert to autodetect2002-05-12 
16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type2002-05-12 
16:53:02 [5] INFO: AT2[/dev/ttyS0]: opening device2002-05-12 16:53:02 
[5] DEBUG: AT2[/dev/ttyS0]: device opened2002-05-12 16:53:02 [5] INFO: 
AT2[/dev/ttyS0]: speed set to 96002002-05-12 16:53:02 [5] DEBUG: 
AT2[/dev/ttyS0]: --> ^M2002-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 mainloop2002-05-12 16:53:02 [0] 
DEBUG: AT2[/dev/ttyS0]: start called2002-05-12 16:53:02 [6] DEBUG: 
sms_router: time to sleep2002-05-12 16:53:02 [6] DEBUG: sms_router: 
list_len = 02002-05-12 16:53:04 [5] DEBUG: AT2[/dev/ttyS0]: --> 
AT^M2002-05-12 16:53:08 [5] DEBUG: AT2[/dev! /t! ty! S0! ]: --> 
AT&F^M2002-05-12 16:53:12 [5] DEBUG:

RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Bing Tan

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^MIt 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 Arbelm-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 AMTo: [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 postedso 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 starting2002-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 module2002-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 modemtype 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 config2002-05-12 16:53:02 [0] INFO: AT2[/dev/ttyS0]: modemtype not found, revert to autodetect2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: detecting modem type2002-05-12 16:53:02 [5] INFO: AT2[/dev/ttyS0]: opening device2002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: device opened2002-05-12 16:53:02 [5] INFO: AT2[/dev/ttyS0]: speed set to 96002002-05-12 16:53:02 [5] DEBUG: AT2[/dev/ttyS0]: --> ^M2002-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 mainloop2002-05-12 16:53:02 [0] DEBUG: AT2[/dev/ttyS0]: start called2002-05-12 16:53:02 [6] DEBUG: sms_router: time to sleep2002-05-12 16:53:02 [6] DEBUG: sms_router: list_len = 02002-05-12 16:53:04 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M2002-05-12 16:53:08 [5] DEBUG: AT2[/dev/tty! S0! ]: --> AT&F^M2002-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 logs2002-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 smsc2002-05-12 17:07:17 [0] DEBUG: AT2[/dev/ttyS0]: Shutting down SMSCConn, slow2002-05-12 17:07:17 [0] DEBUG: shutting down udp2002-05-12 17:07:17 [0] WARNING: New killing signal received, killing neverthless...
Here's my smskannel.conf :
group = coreadmin-port = 13000smsbox-port = 13001admin-password = barlog-file = "/tmp/kannel.log"log-level = 2box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"unified-prefix = "+63917,0917,+0917"access-log 

RE: I need precious help: Nokia 6110 as SMSC but I dont get any reply!

2002-05-13 Thread Oded Arbel



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^MIt 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. if none of this helps, please upgrade to the 
latest CVS, try again and send us the los one more time.
 
--Oded Arbelm-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 
  AMTo: [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 postedso 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 starting2002-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 module2002-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 modemtype 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 config2002-05-12 16:53:02 [0] INFO: AT2[/dev/ttyS0]: 
  modemtype not found, revert to autodetect2002-05-12 16:53:02 [5] DEBUG: 
  AT2[/dev/ttyS0]: detecting modem type2002-05-12 16:53:02 [5] INFO: 
  AT2[/dev/ttyS0]: opening device2002-05-12 16:53:02 [5] DEBUG: 
  AT2[/dev/ttyS0]: device opened2002-05-12 16:53:02 [5] INFO: 
  AT2[/dev/ttyS0]: speed set to 96002002-05-12 16:53:02 [5] DEBUG: 
  AT2[/dev/ttyS0]: --> ^M2002-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 mainloop2002-05-12 16:53:02 [0] DEBUG: 
  AT2[/dev/ttyS0]: start called2002-05-12 16:53:02 [6] DEBUG: sms_router: 
  time to sleep2002-05-12 16:53:02 [6] DEBUG: sms_router: list_len = 
  02002-05-12 16:53:04 [5] DEBUG: AT2[/dev/ttyS0]: --> AT^M2002-05-12 
  16:53:08 [5] DEBUG: AT2[/dev/tty! S0! ]: --> AT&F^M2002-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 logs2002-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 
  smsc2002-05-12 17:07:17 [0] DEBUG: AT2[/dev/ttyS0]: Shutting down 
  SMSCConn, slow2002-05-12 17:07:17 [0] DEBUG: shutting down 
  udp2002-05-12 17:07:17 [0] WARNING: New killing signal received, killing 
  neverthless...
  Here's my smskannel.conf 
  :
  group = coreadmin-port = 13000smsbox-port = 
  13001admin-password = barlog-file = "/tmp/kannel.log"log-level = 
  2box-deny-ip = "*.*.*.*"box-allow-ip = "127.0.0.1"unified-prefix = 
  "+63917,0917,+0917"access-log = "access.log"
  group = smscsmsc = at2modemtype = 
  nokiaphonedevice=/dev/ttyS0speed=9600pin=include= 
  /root/gateway-1.1.6/doc/modemsbing.conf
  group = smsboxbearerbox-host = localhostsendsms-port = 
  13013global-sender = 534sendsms-chars = "0123456789 "log-file 
  = "/tmp/smsbox.log"log-level = 2access-log = "access.log"
  group = sendsms-userusername = testerpassword = 
  foobar
  group = sendsms-userus