Hi,

You need to start bearerbox before smsbox. See comments in configuration file.

BR,
Nikos
  ----- Original Message ----- 
  From: my google 
  To: [email protected] 
  Sent: Tuesday, January 27, 2009 3:19 PM
  Subject: Kannel error ?


  Dears,


  I have smpp account with sms company and I am trying to setup sms gateway ..I 
did the following:
  I have download gateway-1.4.2.tar.gz 

  [~/gateway-1.4.2/gw]# tar xzvf gateway-1.4.2.tar.gz 
  [~/gateway-1.4.2/gw]# cd gateway-1.4.2
  [~/gateway-1.4.2/gw]# ./configure
  [~/gateway-1.4.2/gw]# make
  and I added the follwing configration for my smpp account with the company I 
bought from them:

  group = smsc
  smsc = smpp
  host = smpp2.routesms.com
  port = 2345
  smsc-username = "user"
  smsc-password = "pass"
  system-type = "smpp"
  enquire-link-interval=180
  source-addr-npi=1
  source-addr-ton=0
  dest-addr-npi=1
  dest-addr-ton=1
   
  but after I test I get the following errors:
  [~/gateway-1.4.2/gw]#  ./smsbox -v 1 smskannel.conf
  2009-01-27 06:18:54 [22628] [0] INFO: Debug_lvl = 1, log_file = <none>, 
log_lvl = 0
  2009-01-27 06:18:54 [22628] [0] INFO: Service global sender set as '13013'
  2009-01-27 06:18:54 [22628] [0] INFO: HTTP: Opening server at port 13013.
  2009-01-27 06:18:54 [22628] [0] INFO: Set up send sms service at port 13013
  2009-01-27 06:18:54 [22628] [0] ERROR: connect failed
  2009-01-27 06:18:54 [22628] [0] ERROR: System error 111: Connection refused
  2009-01-27 06:18:54 [22628] [0] ERROR: error connecting to server `127.0.0.1' 
at port `13001'
  2009-01-27 06:18:54 [22628] [0] PANIC: Couldn't connect to the bearerbox.
  2009-01-27 06:18:54 [22628] [0] PANIC: ./smsbox(gw_panic+0x10d) [0x43d3fd]
  2009-01-27 06:18:54 [22628] [0] PANIC: ./smsbox(main+0xc3a) [0x41240a]
  2009-01-27 06:18:54 [22628] [0] PANIC: 
/lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x335401c40b]
  2009-01-27 06:18:54 [22628] [0] PANIC: ./smsbox [0x40d26a]


  What shall I do?

  Thanx in advanced 

  Bw,




------------------------------------------------------------------------------
  Windows Live™ Hotmail®:…more than just e-mail. Check it out. 

Reply via email to