kannel bug?

Δημήτρης Ευμορφόπουλος devmorfo at OrganizeIT.gr
Wed May 30 21:08:05 CEST 2007


Ok … suit your self … 

 

Dimitris Evmorfopoulos



________________________________

From: Délsio Cabá [mailto:delsio at gmail.com] 
Sent: Wednesday, May 30, 2007 8:45 PM
To: Δημήτρης Ευμορφόπουλος; devel at kannel.org
Subject: Re: kannel bug?

 

Hi
I see no need to configure the smsbox since i`m alrealy having problems with the bearerbox
Anyway I have tried running the smsbox also . the error still the same

2007/5/30, Δημήτρης Ευμορφόπουλος < devmorfo at organizeit.gr>:

You send sms to smsbox but smsbox is not configured … !! ?? 

 

Here is a sample … 

 

File Kannel.conf

 

group = core

admin-port = 13000

smsbox-port = 13001

admin-password = xxxx

box-deny-ip = "*.*.*.*"

box-allow-ip = "10.0.0.5;10.0.0.9;127.0.0.1"

log-file = "bearerbox.log"

log-level = 4

access-log = "bearerbox-access.log"

store-file = "sms.store"

 

# SMSC CONNECTIONS

include = "smscs.conf"

 

# SMSBOX SETUP

group = smsbox

bearerbox-host = " 127.0.0.1 <http://127.0.0.1> "

sendsms-port = 13013

sendsms-chars = "0123456789 +-"

log-file = "smsbox.log"

log-level = 4

access-log = "smsbox-access.log"

 

# SEND-SMS USERS

group = sendsms-user

username = test

password = test

concatenation = true

max-messages = 1

user-deny-ip = "*.*.*.*"

user-allow-ip = "10.0.0.5;10.0.0.9;127.0.0.1"

 

# SERVICES

include = "short-numbers.conf"

 

File smscs.conf

 

include = "fake.conf"

 

File fake.conf

 

group = smsc

smsc = fake

port = 10000

smsc-id = MyFake

connect-allow-ip = " 127.0.0.1 <http://127.0.0.1> "

 

File short-numbers.conf

 

group = sms-service

keyword = default

omit-empty = true

max-messages = 0

get-url = <your application url>

 

 

 

If the above is 2 much I suggest reading the fine manual to see how to configure kannel … I always use multiple configuration files to keep things clear and simple …  

Your problem is nothing more than bad configuration of the system thus no matter how many OS's you change it will always reply this way.

 

 

 

 

Dimitris Evmorfopoulos

________________________________

From: Délsio Cabá [mailto:delsio at gmail.com] 
Sent: Wednesday, May 30, 2007 7:45 PM
To: Δημήτρης Ευμορφόπουλος
Subject: Re: kannel bug?

 

Hi!
Thanx for the quick reply!

That is the full configuration, nithing else is written is test.conf.
To run I use:
/usr/local/sbin/bearerbox ./home/me/test.conf

The SMSC is Wireless ZT
I send an sms to the SMSbox 

2007/5/30, Δημήτρης Ευμορφόπουλος < devmorfo at organizeit.gr <mailto:devmorfo at organizeit.gr> >:

Full configuration plz … not excerpt … You can hide ip's and usernames and passwords , but full configuration will be helpful. There is nothing about SMSBox to see. Also, are you trying to send message through SMSbox or receive message through your smsc ?? What is your SMSC ?? (operator brand if you know) .. .

 

Dimitris Evmorfopoulos

________________________________

From: Délsio Cabá [mailto: delsio at gmail.com] 
Sent: Wednesday, May 30, 2007 7:16 PM
To: devel at kannel.org
Subject: kannel bug?

 

Hi!

I have been trying to use kannel for quite some time with no sucess, so I decided to subscribe to this list and get some help.

I installed the cvs, rpm and also stable .tar.gz versions of kannel 
I have even tried to replace the machine from centos to fedora 6. 
But I get exactly the same error message when I run bearerbox and send an sms test message:

2007-05-30 17:38:29 [13052] [2] DEBUG:   short_message: "Hi"
2007-05-30 17:38:29 [13052] [2] DEBUG: SMPP PDU dump ends. 
2007-05-30 17:38:29 [13052] [2] PANIC: gwlib/gw-rwlock.c:105: gw_rwlock_rdlock: Assertion `lock != NULL' failed.
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox(gw_panic+0x174) [0x80c3837]
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox(gw_rwlock_rdlock+0x2c) [0x80b8e48] 
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox(route_incoming_to_boxc+0x70) [0x8055c20]
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox(bb_smscconn_receive+0x333) [0x8057a8b]
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox [0x8080cbb] 
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox [0x8081aee]
2007-05-30 17:38:29 [13052] [2] PANIC: /usr/local/sbin/bearerbox [0x80b952c]
2007-05-30 17:38:29 [13052] [2] PANIC: /lib/tls/libpthread.so.0 [0xd95371] 
2007-05-30 17:38:29 [13052] [2] PANIC: /lib/tls/libc.so.6(__clone+0x5e) [0xbfd9be]

My configuration:

group = core
admin-port = 13000
admin-password = bar

group = smsc
smsc = smpp
smsc-id = SMSC 
host = x.x.x.x
port = 5073
#receive-port = 5073
transceiver-mode = true
smsc-username = xxx
smsc-password = xxx
system-type = xxx
service-type = 73
alt-charset = "ASCII"
source-addr-ton = 1 
#source-addr-range = 0
source-addr-npi = 4
dest-addr-ton = 1
dest-addr-npi = 1
#bind-addr-ton = 1
#bind-addr-npi = 1

Any suggestions? I don´t know what else to do

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.kannel.org/pipermail/devel/attachments/20070530/563de63e/attachment-0001.html 


More information about the devel mailing list