opensmppbox: thread terminates when another smpp client (kannel) terminates

Qqblog Qqblog <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
i have the following config:

kannel (smpp client) -> opensmppbox -> kannel -> 3rd party smpp server

when i quit (unbind) the bearerbox of smpp client (kannel), the opensmppbox will terminate. why?

2013-07-18 17:49:38 [27504] [4] DEBUG: SMPP[kannel]: Got PDU:
2013-07-18 17:49:38 [27504] [4] DEBUG: SMPP PDU 0x1a75aa0 dump:
2013-07-18 17:49:38 [27504] [4] DEBUG:   type_name: unbind
2013-07-18 17:49:38 [27504] [4] DEBUG:   command_id: 6 = 0x00000006
2013-07-18 17:49:38 [27504] [4] DEBUG:   command_status: 0 = 0x00000000
2013-07-18 17:49:38 [27504] [4] DEBUG:   sequence_number: 17 = 0x00000011
2013-07-18 17:49:38 [27504] [4] DEBUG: SMPP PDU dump ends.
2013-07-18 17:49:38 [27504] [4] DEBUG: SMPP[kannel]: Sending PDU:
2013-07-18 17:49:38 [27504] [4] DEBUG: SMPP PDU 0x1a79290 dump:
2013-07-18 17:49:38 [27504] [4] DEBUG:   type_name: unbind_resp
2013-07-18 17:49:38 [27504] [4] DEBUG:   command_id: 2147483654 = 0x80000006
2013-07-18 17:49:38 [27504] [4] DEBUG:   command_status: 0 = 0x00000000
2013-07-18 17:49:38 [27504] [4] DEBUG:   sequence_number: 17 = 0x00000011
2013-07-18 17:49:38 [27504] [4] DEBUG: SMPP PDU dump ends.
2013-07-18 17:49:38 [27504] [4] ERROR: opensmppbox: smpp_to_bearerbox: thread terminates
2013-07-18 17:49:38 [27504] [4] DEBUG: Thread 4 (opensmppbox.c:smpp_to_bearerbox) terminates.
2013-07-18 17:49:38 [27504] [3] ERROR: opensmppbox: bearerbox_to_smpp: thread terminates
2013-07-18 17:49:38 [27504] [3] DEBUG: Thread 3 (opensmppbox.c:function) terminates.
2013-07-18 17:49:38 [27504] [1] ERROR: opensmppbox: bearerbox_to_smpp: thread terminates
2013-07-18 17:49:39 [27504] [0] INFO: No more waiting for SMPP connections.
2013-07-18 17:49:39 [27504] [0] DEBUG: Thread 1 (opensmppbox.c:function) still running
2013-07-18 17:49:39 [27504] [0] DEBUG: Thread 2 (opensmppbox.c:smpp_to_bearerbox) still running
2013-07-18 17:49:39 [27504] [0] DEBUG: Immutable octet strings: 104.
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.