Hi Misters and Rene Kluwen,
I've found that opensmppbox getting error with smsc routing by shortcode
(the rule by receiver-shortcode still ok), the log of opensmppbox says:

2013-09-01 10:45:14 [25028] [0] WARNING: DLR: using default 'internal' for
storage type.
2013-09-01 10:45:14 [25028] [0] INFO: DLR using storage type: internal
2013-09-01 10:45:14 [25028] [0] INFO: Starting to log to file
/home/log/kannel/smppbox.log level 0
2013-09-01 10:45:14 [25028] [0] INFO: Added logfile
`/home/log/kannel/smppbox.log' with level `0'.
*2013-09-01 10:45:14 [25028] [0] PANIC: gwlib/octstr.c:2549:
seems_valid_real: Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:1073:octstr_search.)*
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox(gw_backtrace+0xb1)
[0x80a2631]
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox(gw_panic+0xdb)
[0x80a271b]
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox() [0x80a3708]
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox(octstr_search+
0x2b) [0x80a572b]
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox(octstr_split+0x8a)
[0x80a765a]
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox(main+0x7ce) [0x805153e]
2013-09-01 10:45:14 [25028] [0] PANIC:
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0xb6f084d3]
2013-09-01 10:45:14 [25028] [0] PANIC: opensmppbox() [0x8052061]

If i turn back to the previous version before this change log, opensmppbox
will working fine:

2013-07-10 Rene Kluwen <rene.kluwen at chimit.nl>
    Patch provided by Kelvin Porter Kelvin.Porterat h3net.com. Allows
routing to smsc based upon receiver number.


My opensmppbox configuration:

group = core
#dlr-storage = internal

group = opensmppbox
opensmppbox-id = SMPP
opensmppbox-port = 2775
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
our-system-id = testname
smpp-logins = /etc/kannel/smpplogins.txt
use-systemid-as-smsboxid = 1
#route-to-smsc = hw
log-file = /home/log/kannel/smppbox.log
log-level = 0
#enable-pam = 1
#pam-acl = kannel

group = smsc-route
smsc-id = hw
smsbox-id = localbox
shortcode = "1111"

Please help to fix. Many thanks.

Nguyen Minh Tuan from Vietnamobile.

-- 
  <====((=o-( ',_,' )-o=))=====>

Bản chất tốt nhưng cuộc đời xô đẩy!

Reply via email to