Hello Daniel, Cool, it works but now I have another problem :-(. When I receive an incoming SMS I want to forward it to an url, to do so I have configured in the kannel.conf the following:
group = sms-service get-url = "http://127.0.0.1/kannel.php?sender=%p&text=%r" catch-all = true And when I receive the message I get the following Panic error: 2010-07-27 19:54:54 [3699] [4] DEBUG: AT2[mymodem]: received message from SMSC: +346090******** 2010-07-27 19:54:54 [3699] [4] DEBUG: AT2[mymodem]: Numeric sender (international) <+3466*******> 2010-07-27 19:54:54 [3699] [4] DEBUG: AT2[mymodem]: User data length read as (17) 2010-07-27 19:54:54 [3699] [4] DEBUG: AT2[mymodem]: Udh decoding done len=17 udhi=0 udhlen=0 udh='' 2010-07-27 19:54:54 [3699] [4] PANIC: gwlib/gw-rwlock.c:137: gw_rwlock_rdlock: Assertion `lock != NULL' failed. 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox(gw_panic+0xaf) [0x80d264f] 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox(gw_rwlock_rdlock+0x6c) [0x80c7c5c] 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox(route_incoming_to_boxc+0x5a) [0x8056eca] 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox(bb_smscconn_receive+0xad0) [0x805dde0] 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox() [0x806ebf7] 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox() [0x8071910] 2010-07-27 19:54:54 [3699] [4] PANIC: /usr/sbin/bearerbox() [0x80c9b2d] 2010-07-27 19:54:54 [3699] [4] PANIC: /lib/i686/cmov/libpthread.so.0(+0x5955) [0xb7769955] 2010-07-27 19:54:54 [3699] [4] PANIC: /lib/i686/cmov/libc.so.6(clone+0x5e) [0xb715010e] 2010-07-27 19:55:16 [3728] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. I'm running kannel 1.4.3-2 over Debian sid. Any idea? Thank you very much -- Arnau
