It seems kannel can not connect to your GSM Modem. 

Regards


Willy
  ----- Original Message ----- 
  From: Gupteshwar Joshi 
  To: [email protected] 
  Sent: Thursday, May 31, 2007 12:23 AM
  Subject: Send and recieve SMS problem


  Hello,
  I trying to build Kannel as SMS GW as a advancement to 
  my existing GIS project. 

  I reffered user guide and could possibly build SMS center.
  And I am not able to send or recieve SMS.
  I am providing some information regarding this. 

  My kannel.conf is as follows ;
  group = core
  admin-port = 13000
  admin-password = bar
  admin-deny-ip = "*.*.*.*"
  admin-allow-ip = " 127.0.0.1"
  smsbox-port = 13009 
  wapbox-port = 13004
  box-deny-ip = "*.*.*.*"
  box-allow-ip = "127.0.0.1;200.100.0.*"
  wdp-interface-name = "*" 
  log-file = "/var/log/kannel/bearbox.log" 
  log-level = 1

  group = smsbox
  bearerbox-host = localhost
  sendsms-port = 13131
  global-sender = 123456
  sendsms-chars = "0123456789 +-"
  access-log = "kannel.access"
  log-file = "/var/log/kannel/smsbox.log" 
  log-level = 0

  group = wapbox
  bearerbox-host = localhost


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

  group = sendsms-user
  username = tester 
  password = foobar
  #user-deny-ip = ""
  #user-allow-ip = ""
  group = smsc
  smsc = at
  modemtype = auto
  device=/dev/ttyS0
  my-number = "+919970508102"
  connect-allow-ip = 127.0.0.1
  log-level = 0

  My log file is as follows :

  [EMAIL PROTECTED]:~$ sudo tail -f /var/log/kannel/bearbox.log 
  2007-05-27 14:17:32 [16730] [0] INFO: BOXC: 'smsbox-max-pending' not set, 
using default (100). 
  2007-05-27 14:17:32 [16730] [0] INFO: DLR rerouting for smsc id <(null)> 
disabled.
  2007-05-27 14:17:32 [16730] [0] INFO: AT2[/dev/ttyS0]: configuration doesn't 
show modemtype. will autodetect
  2007-05-27 14:17:32 [16730] [0] INFO: Adding interface * 
  2007-05-27 14:17:32 [16730] [0] INFO: ----------------------------------------
  2007-05-27 14:17:32 [16730] [0] INFO: Kannel bearerbox II version 1.4.0 
starting
  2007-05-27 14:17:32 [16730] [4] INFO: AT2[/dev/ttyS0]: opening device 
  2007-05-27 14:17:32 [16730] [0] INFO: MAIN: Start-up done, entering mainloop
  2007-05-27 14:17:33 [16730] [4] INFO: AT2[/dev/ttyS0]: speed set to 115200
  2007-05-27 14:17:33 [16730] [13] INFO: Client connected from < 127.0.0.1>

  Following is the Kannel status :

  Kannel bearerbox version `1.4.0'. Build `Jul 3 2006 11:30:50', compiler 
`4.1.2 20060613 (prerelease) (Ubuntu 4.1.1-2ubuntu5)'. System Linux, release 
2.6.17-10-generic, version #2 SMP Fri Oct 13 18:45:35 UTC 2006, machine i686. 
Hostname localhost, IP 127.0.0.1. Libxml version 2.6.26. Using OpenSSL 0.9.8b 
04 May 2006. Compiled with MySQL 5.0.21, using MySQL 5.0.24a. Using native 
malloc. 

  Status: going down, uptime 0d 0h 22m 17s

  WDP: received 0 (0 queued), sent 0 (0 queued)

  SMS: received 0 (0 queued), sent 0 (0 queued), store size -1

  SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec

  DLR: 0 queued, using internal storage

  No boxes connected

  SMSC connections:
      unknown    AT2[/dev/ttyS0] (connecting, rcvd 0, sent 0, failed 0, queued 
0 msgs)





  Please , help me in this regard.



  regards

   

  -- 
                (((()))) 
                (@ @)
                   (_)
  +----oOO------------Ooo----------+
  |      Gupteshwar D Joshi            |
  |                                              |
  +------------------------------------+   
                |___|___|  
                   | | | |
                ooO Ooo 

Reply via email to