Selasa, 29 Desember 2009

Setup Kannel as SMS gateway on Linux

Hello All,
I am new with Kannel and trying for SMS gateway with my UBUNTU box.
I have gone through documentation and already done something

Please , help me in this regard to sort out the problem
What I am getting is as follows.

My kannel.conf is as follows ;

#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

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;192.168.10.*"
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
global-sender = 123456
sendsms-chars = "0123456789 +-"
access-log = "/var/log/kannel/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 = cimd2
smsc-id = "indictrans"
host = localhost
port = 13006
smsc-username = ''
smsc-password = ''
keepalive = 5
my-number = "9970059664"


#group = smsc
#smsc = at
#modemtype=auto
#device= /dev/ttyUSB0
#speed=115200
#smsc-id = "indictrans"
#validityperiod=567
#keepalive=60
#my-number=9970059664
#sim-buffering=false


#group = smsc
#smsc = at
#modemtype = auto
#device=/dev/ttyUSB0
#my-number = "+919970508102"
#connect-allow-ip = 127.0.0.1
#log-level = 0

My log file is as follows
2007-06-14 23:52:19 [2133] [6] ERROR: CIMD2[indictrans] login failed.
2007-06-14 23:52:19 [2133] [6] ERROR: CIMD2[indictrans]: Couldn't connect to
SMSC (retrying in 10 seconds).
2007-06-14 23:52:19 [2133] [6] ERROR: connect failed
2007-06-14 23:52:19 [2133] [6] ERROR: System error 111: Connection refused
2007-06-14 23:52:19 [2133] [6] ERROR: error connecting to server `localhost'
at port `13006'
2007-06-14 23:52:19 [2133] [6] ERROR: CIMD2[indictrans] login failed.
2007-06-14 23:52:19 [2133] [6] ERROR: CIMD2[indictrans]: Couldn't connect to
SMSC (retrying in 10 seconds).
2007-06-14 23:52:19 [2019] [0] INFO: Total WDP messages: received 0, sent 0
2007-06-14 23:52:19 [2019] [0] INFO: Total SMS messages: received 0, sent 0
2007-06-14 23:52:20 [2133] [15] INFO: Client connected from <127.0.0.1>

2007-06-14 23:51:48 [2019] [6] ERROR: connect failed
2007-06-14 23:51:48 [2019] [6] ERROR: System error 111: Connection refused
2007-06-14 23:51:48 [2019] [6] ERROR: error connecting to server `localhost'
at port `13006'
2007-06-14 23:51:48 [2019] [6] ERROR: CIMD2[indictrans] login failed.
2007-06-14 23:51:48 [2019] [6] ERROR: CIMD2[indictrans]: Couldn't connect to
SMSC (retrying in 10 seconds).

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: running, uptime 0d 0h 0m 49s

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

Box connections:
wapbox, IP 127.0.0.1 (on-line 0d 0h 0m 48s)

SMSC connections:
*indictrans* CIMD2:localhost:13006:'' (re-connecting, rcvd 0, sent 0,
failed 0, queued 0 msgs)

[EMAIL PROTECTED]:~$ ps uw `sudo cat /var/run/kannel/kannel_smsbox.pid`
cat: /var/run/kannel/kannel_smsbox.pid: No such file or directory
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
ignu 26252 0.0 0.3 5580 3180 pts/1 Ss 21:08 0:00 bash
ignu 26820 0.0 0.3 5576 3172 pts/2 Ss+ 21:19 0:00 bash
ignu 27411 0.0 0.3 5580 3152 pts/3 Ss+ 21:31 0:00 -bash
ignu 29350 0.0 0.3 5576 3160 pts/4 Ss 22:05 0:00 bash
ignu 754 0.0 0.1 4940 2012 pts/4 S+ 23:20 0:00 ssh
192.168.10.6
ignu 1599 0.0 0.3 5576 3136 pts/0 Ss+ 23:42 0:00 bash
ignu 2219 0.0 0.0 2476 984 pts/1 R+ 23:54 0:00 ps uw


Regards..

From : http://www.mail-archive.com/users@kannel.org/msg10286.html :: Baca Selengkapnya .....

Mengirim SMS dengan Kannel di Linux

Software SMS Center, SMS Gateway, Software SMS Gateway, Program SMS Center, Program SMS Gateway, Skripsi berbasis SMS, Program Skripsi berbsis SMS Gateway, Membuat SMS Center, Membuat SMS Server, Kannel SMS Gateway, Mengirim SMS dengan Gateway Kannel di Linux dan Windows.

SMS Gateway With Nokia 7610, SMS Gateway With Siemen C55, SMS Gateway With Gnoki modem.


KEMBALI KE HALAMAN UTAMA KOLEKSI PROGRAM
:: Baca Selengkapnya .....