Thanks Rene but it is still not work.
If add: shortcode = "123" i got this error: 2016-12-11 22:09:12 [11449] [0] WARNING: DLR: using default 'internal' for storage type. 2016-12-11 22:09:12 [11449] [0] INFO: DLR using storage type: internal 2016-12-11 22:09:12 [11449] [0] INFO: Starting to log to file /var/log/kannel/smppbox.log level 0 2016-12-11 22:09:12 [11449] [0] INFO: Added logfile `/var/log/kannel/smppbox.log' with level `0'. 2016-12-11 22:09:12 [11449] [0] DEBUG: Adding smsc routing to id <smsc_tb> for sender no <123> and smsbox id <myboxID> *** Error in `opensmppbox': munmap_chunk(): invalid pointer: 0x0000000002005180 *** If add: shortcode = "123;456" i got another output: 2016-12-11 22:08:56 [11445] [0] WARNING: DLR: using default 'internal' for storage type. 2016-12-11 22:08:56 [11445] [0] INFO: DLR using storage type: internal 2016-12-11 22:08:56 [11445] [0] INFO: Starting to log to file /var/log/kannel/smppbox.log level 0 2016-12-11 22:08:56 [11445] [0] INFO: Added logfile `/var/log/kannel/smppbox.log' with level `0'. 2016-12-11 22:08:56 [11445] [0] DEBUG: Adding smsc routing to id <smsc_tb> for sender no <123> and smsbox id <myboxID> 2016-12-11 22:08:56 [11445] [0] DEBUG: Adding smsc routing to id <smsc_tb> for sender no <456> and smsbox id <myboxID> *** Error in `opensmppbox': double free or corruption (out): 0x0000000001a071d0 *** Lamnt. ________________________________ From: Rene Kluwen <rene.klu...@chimit.nl> Sent: Sunday, December 11, 2016 9:59:08 PM To: Lam Nguyen Tuong Cc: users Subject: Re[2]: Opensmppbox booting fail on Debian jessie You are missing the "shortcode" configuration parameter in your group = smsc-route. I will try to come up with a patch, one of these days. Because indeed opensmppbox shouldn't crash on this. == Rene ------ Origineel bericht ------ Van: "Lam Nguyen Tuong" <lam...@outlook.com<mailto:lam...@outlook.com>> Aan: "Rene Kluwen" <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>> Cc: "users" <users@kannel.org<mailto:users@kannel.org>> Verzonden: 9-12-2016 3:24:39 Onderwerp: Re: Opensmppbox booting fail on Debian jessie Hi Rene, It was running configuration. group = core group = opensmppbox opensmppbox-id = smppbox1 opensmppbox-port = 50217 bearerbox-host = 127.0.0.1 bearerbox-port = 13005 our-system-id = testsmpp smpp-logins = /etc/kannel/smpplogins.txt use-systemid-as-smsboxid = 1 log-file = /var/log/kannel/smppbox.log log-level = 0 group = smsc-route smsc-id = smsc_tb smsbox-id = myboxID Lamnt. ________________________________ From: Rene Kluwen <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>> Sent: Thursday, December 8, 2016 8:11:21 PM To: Lam Nguyen Tuong Cc: users Subject: Re: Opensmppbox booting fail on Debian jessie What's your config? ------ Origineel bericht ------ Van: "Lam Nguyen Tuong" <lam...@outlook.com<mailto:lam...@outlook.com>> Aan: Cc: "users" <users@kannel.org<mailto:users@kannel.org>> Verzonden: 8-12-2016 5:22:13 Onderwerp: Opensmppbox booting fail on Debian jessie Hello, I has complied latest kannel snapshot on Jessie 8.4 with opensmppbox but unable to boot it up and get this PANIC log. Appreciate if anyone can help to solve. Thank you. 2016-12-08 02:07:21 [14333] [0] PANIC: gwlib/octstr.c:2570: seems_valid_real: Assertion `ostr->data[ostr->len] == '\0'' failed. (Called from gwlib/octstr.c:325:octstr_destroy.) 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(gw_backtrace+0xae) [0x45262e] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(gw_panic+0x15f) [0x45279f] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox() [0x459e48] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(octstr_destroy+0x1d) [0x45a50d] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox(main+0x7ec) [0x40c19c] 2016-12-08 02:07:21 [14333] [0] PANIC: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fa91a5f2b45] 2016-12-08 02:07:21 [14333] [0] PANIC: /usr/local/sbin/opensmppbox() [0x40c9cd] Lamnt.