Re: Kannel HTTP SMSC Segmentation Fault
Please attach your config file so that we can see what you missed out. Try lynx -dump 'http://localhost:13015/cgi-bin/sendsms? from=0987654321to12345username=norkpassword=z0rkhttp://localhost:13015/?from=0987654321to12345username=norkpassword=z0rksmsc=your smsc id' On Fri, Aug 31, 2012 at 5:55 AM, Willy Mularto sangpr...@gmail.com wrote: Just compiled the latest svn execute the bearerbox: 2012-08-31 09:54:35 [28393] [0] INFO: HTTP[kannel]: Initiated and ready 2012-08-31 09:54:35 [28393] [8] DEBUG: Thread 8 (gw/smsc/smsc_http.c:httpsmsc_send_cb) maps to pid 28393. 2012-08-31 09:54:35 [28393] [0] DEBUG: Started thread 10 (gw/bb_smscconn.c:sms_router) Try to hit it: sprabv@smsgw1:~/gw/test$ lynx -dump 'http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rksmsc-id=your smsc idhttp://localhost:13015/?from=0987654321to12345username=norkpassword=z0rk ' Looking up localhost:13015 Making HTTP connection to localhost:13015 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access ` http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rk ' Alert!: Unable to access document. lynx: Can't access startfile The log said: 2012-08-31 09:54:43 [28393] [7] DEBUG: HTTP[kannel]: Got request `/?from=0987654321to12345=username=norkpassword=z0rk' 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x49257c] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0xf8f0) [0x7f0b2c5a18f0] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x44e1f8] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x47e5be] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0x69ca) [0x7f0b2c5989ca] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libc.so.6(clone+0x6d) [0x7f0b2bfa5cdd] The weird is bearerbox can't identify the smsc-id name. It is said null Willy Mularto F300HD+MR18DE (NLC1725)
Re: Kannel HTTP SMSC Segmentation Fault
This is HTTP SMSC not sendsms CGI. On Aug 31, 2012, at 1:01 PM, Otandeka Simon Peter wrote: Please attach your config file so that we can see what you missed out. Try lynx -dump 'http://localhost:13015/cgi-bin/sendsms?from=0987654321to12345username=norkpassword=z0rksmsc=your smsc id' On Fri, Aug 31, 2012 at 5:55 AM, Willy Mularto sangpr...@gmail.com wrote: Just compiled the latest svn execute the bearerbox: 2012-08-31 09:54:35 [28393] [0] INFO: HTTP[kannel]: Initiated and ready 2012-08-31 09:54:35 [28393] [8] DEBUG: Thread 8 (gw/smsc/smsc_http.c:httpsmsc_send_cb) maps to pid 28393. 2012-08-31 09:54:35 [28393] [0] DEBUG: Started thread 10 (gw/bb_smscconn.c:sms_router) Try to hit it: sprabv@smsgw1:~/gw/test$ lynx -dump 'http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rksmsc-id=your smsc id' Looking up localhost:13015 Making HTTP connection to localhost:13015 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access `http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rk' Alert!: Unable to access document. lynx: Can't access startfile The log said: 2012-08-31 09:54:43 [28393] [7] DEBUG: HTTP[kannel]: Got request `/?from=0987654321to12345=username=norkpassword=z0rk' 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x49257c] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0xf8f0) [0x7f0b2c5a18f0] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x44e1f8] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x47e5be] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0x69ca) [0x7f0b2c5989ca] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libc.so.6(clone+0x6d) [0x7f0b2bfa5cdd] The weird is bearerbox can't identify the smsc-id name. It is said null Willy Mularto F300HD+MR18DE (NLC1725) Willy Mularto F300HD+MR18DE (NLC1725)
Re: Kannel HTTP SMSC Segmentation Fault
Hi, fixed in SVN. Alex Am 31.08.2012 um 08:08 schrieb Willy Mularto sangpr...@gmail.com: This is HTTP SMSC not sendsms CGI. On Aug 31, 2012, at 1:01 PM, Otandeka Simon Peter wrote: Please attach your config file so that we can see what you missed out. Try lynx -dump 'http://localhost:13015/cgi-bin/sendsms?from=0987654321to12345username=norkpassword=z0rksmsc=your smsc id' On Fri, Aug 31, 2012 at 5:55 AM, Willy Mularto sangpr...@gmail.com wrote: Just compiled the latest svn execute the bearerbox: 2012-08-31 09:54:35 [28393] [0] INFO: HTTP[kannel]: Initiated and ready 2012-08-31 09:54:35 [28393] [8] DEBUG: Thread 8 (gw/smsc/smsc_http.c:httpsmsc_send_cb) maps to pid 28393. 2012-08-31 09:54:35 [28393] [0] DEBUG: Started thread 10 (gw/bb_smscconn.c:sms_router) Try to hit it: sprabv@smsgw1:~/gw/test$ lynx -dump 'http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rksmsc-id=your smsc id' Looking up localhost:13015 Making HTTP connection to localhost:13015 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access `http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rk' Alert!: Unable to access document. lynx: Can't access startfile The log said: 2012-08-31 09:54:43 [28393] [7] DEBUG: HTTP[kannel]: Got request `/?from=0987654321to12345=username=norkpassword=z0rk' 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x49257c] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0xf8f0) [0x7f0b2c5a18f0] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x44e1f8] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x47e5be] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0x69ca) [0x7f0b2c5989ca] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libc.so.6(clone+0x6d) [0x7f0b2bfa5cdd] The weird is bearerbox can't identify the smsc-id name. It is said null Willy Mularto F300HD+MR18DE (NLC1725) Willy Mularto F300HD+MR18DE (NLC1725)
How do I Blacklist a phonenumber from been serviced, even if its message got in from bearerbox
I need to ensure some individual numbers are not processed even if they send a message to me. How do I achieve this, please? Toyin Daniel -- View this message in context: http://old.nabble.com/How-do-I-Blacklist-a-phonenumber-from-been-serviced%2C-even-if-its-message-got-in-from-bearerbox-tp34372273p34372273.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: Kannel HTTP SMSC Segmentation Fault
Many thanks Alex. On Aug 31, 2012, at 5:01 PM, Alexander Malysh wrote: Hi, fixed in SVN. Alex Am 31.08.2012 um 08:08 schrieb Willy Mularto sangpr...@gmail.com: This is HTTP SMSC not sendsms CGI. On Aug 31, 2012, at 1:01 PM, Otandeka Simon Peter wrote: Please attach your config file so that we can see what you missed out. Try lynx -dump 'http://localhost:13015/cgi-bin/sendsms?from=0987654321to12345username=norkpassword=z0rksmsc=your smsc id' On Fri, Aug 31, 2012 at 5:55 AM, Willy Mularto sangpr...@gmail.com wrote: Just compiled the latest svn execute the bearerbox: 2012-08-31 09:54:35 [28393] [0] INFO: HTTP[kannel]: Initiated and ready 2012-08-31 09:54:35 [28393] [8] DEBUG: Thread 8 (gw/smsc/smsc_http.c:httpsmsc_send_cb) maps to pid 28393. 2012-08-31 09:54:35 [28393] [0] DEBUG: Started thread 10 (gw/bb_smscconn.c:sms_router) Try to hit it: sprabv@smsgw1:~/gw/test$ lynx -dump 'http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rksmsc-id=your smsc id' Looking up localhost:13015 Making HTTP connection to localhost:13015 Sending HTTP request. HTTP request sent; waiting for response. Alert!: Unexpected network read error; connection aborted. Can't Access `http://localhost:13015/?from=0987654321to12345username=norkpassword=z0rk' Alert!: Unable to access document. lynx: Can't access startfile The log said: 2012-08-31 09:54:43 [28393] [7] DEBUG: HTTP[kannel]: Got request `/?from=0987654321to12345=username=norkpassword=z0rk' 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x49257c] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0xf8f0) [0x7f0b2c5a18f0] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x44e1f8] 2012-08-31 09:54:43 [28393] [7] PANIC: sbin/bearerbox() [0x47e5be] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libpthread.so.0(+0x69ca) [0x7f0b2c5989ca] 2012-08-31 09:54:43 [28393] [7] PANIC: /lib/libc.so.6(clone+0x6d) [0x7f0b2bfa5cdd] The weird is bearerbox can't identify the smsc-id name. It is said null Willy Mularto F300HD+MR18DE (NLC1725) Willy Mularto F300HD+MR18DE (NLC1725) Willy Mularto F300HD+MR18DE (NLC1725)
Re: How do I Blacklist a phonenumber from been serviced, even if its message got in from bearerbox
Hello, So sorry, I found the answer myself in black-list. Thanks. TD From: danieltoyin danielto...@yahoo.com To: users@kannel.org Sent: Friday, August 31, 2012 11:07 AM Subject: How do I Blacklist a phonenumber from been serviced, even if its message got in from bearerbox I need to ensure some individual numbers are not processed even if they send a message to me. How do I achieve this, please? Toyin Daniel -- View this message in context: http://old.nabble.com/How-do-I-Blacklist-a-phonenumber-from-been-serviced%2C-even-if-its-message-got-in-from-bearerbox-tp34372273p34372273.html Sent from the Kannel - User mailing list archive at Nabble.com.
Re: DLRs - decoding PDU problem
Hi, I'll offer 50 EUR for the first person who will help me modify kannel sources to solve the described problem with DLRs. Tomasz W Twoim liście datowanym 30 sierpnia 2012 (12:36:59) można przeczytać: Hello, I'm using Kannel since few years as a core for gateway based on GSM modems (AT). Since few days I've got a problem with DLRs. I'm receiving only DLRs for some messages (before DLRs for all SMS were delivered correctly). No configuration changes were made from that time on my side. I've looked into logs and have seen that when receiving DLRs sometimes all is ok and sometimes there is could not decode PDU to a message message. 2012-08-28 09:22:01 [3626] [42] DEBUG: AT2[modem_032]: -- +CDSI: SM,0 2012-08-28 09:22:01 [3626] [42] DEBUG: AT2[modem_032]: +CMTI incoming SMS indication: +CDSI: SM,0 2012-08-28 09:22:01 [3626] [42] DEBUG: AT2[modem_032]: -- ^MODE:3,3 2012-08-28 09:22:02 [3626] [42] DEBUG: AT2[modem_032]: -- AT+CMGR=0^M 2012-08-28 09:22:02 [3626] [42] DEBUG: AT2[modem_032]: -- +CMGR: 0,,25 2012-08-28 09:22:02 [3626] [42] DEBUG: AT2[modem_032]: -- 07918405210077F79EC00B918405566182F6218082900332802180829003828000 2012-08-28 09:22:02 [3626] [42] DEBUG: AT2[modem_032]: received message from SMSC: +48501200777 2012-08-28 09:22:02 [3626] [42] ERROR: AT2[modem_032]: could not decode PDU to a message. 2012-08-28 09:22:02 [3626] [42] DEBUG: AT2[modem_032]: -- OK ...but some DLRs are processed correctly: 2012-08-28 08:48:54 [3626] [42] DEBUG: AT2[modem_032]: -- +CDSI: SM,0 2012-08-28 08:48:54 [3626] [42] DEBUG: AT2[modem_032]: +CMTI incoming SMS indication: +CDSI: SM,0 2012-08-28 08:48:54 [3626] [42] DEBUG: AT2[modem_032]: -- ^MODE:3,3 2012-08-28 08:48:56 [3626] [42] DEBUG: AT2[modem_032]: -- AT+CMGR=0^M 2012-08-28 08:48:56 [3626] [42] DEBUG: AT2[modem_032]: -- +CMGR: 0,,25 2012-08-28 08:48:56 [3626] [42] DEBUG: AT2[modem_032]: -- 07918405210077F706B90B918405693009F2218082807541802180828075918000 2012-08-28 08:48:56 [3626] [42] DEBUG: AT2[modem_032]: received message from SMSC: +48501200777 2012-08-28 08:48:56 [3626] [42] DEBUG: AT2[modem_032]: got STATUS-REPORT for message 185: 2012-08-28 08:48:56 [3626] [42] DEBUG: AT2[modem_032]: Numeric receiver (international) +48509603XXX I've decoded both PDUs using a tool from http://www.diafaan.com/sms-tutorials/gsm-modem-tutorial/online-sms-pdu-decoder/ and both could be decoded properly (as SMS-STATUS-REPORT). The one difference between those PDUs is that 07918405210077F706B90B918405693009F2218082807541802180828075918000 has PDU header: 06 and 07918405210077F79EC00B918405566182F6218082900332802180829003828000 has PDU header: 9E. I've made more tests and have seen that all DLRs with PDU header: 06 are decoded by kannel and processed correctly, but when PDU header: 9E than DLR isn't decoded properly and in logs there is could not decode PDU to a message message. Probably my GSM operator made some modifications and it delivers DLRs with 9E and 06 headers. I've looked into kannel source code but I can't find a place where to make modifications to have kannel decode PDU with 9E header correctly. Could you help me? Tomasz -- Pozdrowienia, Tomasz Konopka