Thank you all for your replay

Sorry I don't understand this step of installation

Installing the gateway
After you have compiled Kannel, you need to install certain programs in a 
suitable place. This is most
easily done by using make again:
make bindir=/path/to/directory install
Replace /path/to/directory with the pathname of the actual directory where the 
programs should
be installed. The programs that are installed are (as filenames from the root 
of the source directory):
gw/bearerbox
gw/smsbox
gw/wapbox


what shall I do here? see what is the error below:
[~/gateway-1.4.2/gw]# mkdir bin
[~/gateway-1.4.2]# make gw/bearerbox=gw/bin/ install
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install: cannot create directory `/usr/local': Permission denied
make: *** [install] Error 1


Am I right?

by other hand I have tried to start bearerbox first but I got this errors:

2009-01-27 11:25:50 [27681] [0] INFO: ----------------------------------------
2009-01-27 11:25:50 [27681] [0] INFO: Kannel bearerbox II version 1.4.2 starting
2009-01-27 11:25:50 [27681] [0] INFO: MAIN: Start-up done, entering mainloop
2009-01-27 11:25:50 [27681] [0] DEBUG: smsc_fake: start called
2009-01-27 11:26:36 [27681] [6] ERROR: connect failed
2009-01-27 11:26:36 [27681] [6] ERROR: System error 110: Connection timed out
2009-01-27 11:26:36 [27681] [6] ERROR: error connecting to server 
`smpp2.routesms.com' at port `2345'
2009-01-27 11:26:36 [27681] [6] ERROR: 
SMPP[SMPP:smpp2.routesms.com:2345/2345:abseng:smpp]: Couldn't connect to server.
2009-01-27 11:26:36 [27681] [6] ERROR: 
SMPP[SMPP:smpp2.routesms.com:2345/2345:abseng:smpp]: Couldn't connect to SMS 
center (retrying in 10 seconds).

can you help brothers?

From: [email protected]
To: [email protected]; [email protected]
Subject: Re: Kannel error ?
Date: Tue, 27 Jan 2009 16:28:44 +0200










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. 
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009

Reply via email to