Re: kannel bug?

"Délsio Cabá" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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, Δημήτρης Ευμορφόπουλος <[email protected]>:
>
>  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"
>
> 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"
>
>
>
> *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:[email protected]]
> *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, Δημήτρης Ευμορφόπουλος <[email protected]>:
>
> 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:[email protected]]
> *Sent:* Wednesday, May 30, 2007 7:16 PM
> *To:* [email protected]
> *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
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.