OK here's what happens, the telco i'm connecting to requires us to have an auto-rebinding test. Well, we failed. When they cut off the connection, I got this:

2006-09-15 10:46:35 [27740] [6] DEBUG: SMPP PDU 0xb0f00ad0 dump:
2006-09-15 10:46:35 [27740] [6] DEBUG:   type_name: enquire_link
2006-09-15 10:46:35 [27740] [6] DEBUG:   command_id: 21 = 0x00000015
2006-09-15 10:46:35 [27740] [6] DEBUG:   command_status: 0 = 0x00000000
2006-09-15 10:46:35 [27740] [6] DEBUG:   sequence_number: 700 = 0x000002bc
2006-09-15 10:46:35 [27740] [6] DEBUG: SMPP PDU dump ends.
2006-09-15 10:46:35 [27740] [6] ERROR: SMPP[_M8_]: No responses from SMSC within 300 sec. Reconnecting.
2006-09-15 10:46:35 [27740] [6] ERROR: SMPP[_M8_]: Couldn't connect to SMS center (retrying in 10 seconds).
2006-09-15 10:46:36 [27740] [7] DEBUG: SMPP[_M8_]: Sending enquire link:
2006-09-15 10:46:36 [27740] [7] DEBUG: SMPP PDU 0xb0f00ad0 dump:
2006-09-15 10:46:36 [27740] [7] DEBUG:   type_name: enquire_link
2006-09-15 10:46:36 [27740] [7] DEBUG:   command_id: 21 = 0x00000015
2006-09-15 10:46:36 [27740] [7] DEBUG:   command_status: 0 = 0x00000000
2006-09-15 10:46:36 [27740] [7] DEBUG:   sequence_number: 701 = 0x000002bd
2006-09-15 10:46:36 [27740] [7] DEBUG: SMPP PDU dump ends.
2006-09-15 10:46:36 [27740] [7] ERROR: SMPP[_M8_]: No responses from SMSC within 300 sec. Reconnecting.
2006-09-15 10:46:36 [27740] [7] ERROR: SMPP[_M8_]: Couldn't connect to SMS center (retrying in 10 seconds).

over and over.

so i stop my service, and then restart it. but i got:

2006-09-15 11:08:07 [1575] [6] DEBUG: SMPP[_M8_]: Sending PDU:
2006-09-15 11:08:07 [1575] [6] DEBUG: SMPP PDU 0x9210678 dump:
2006-09-15 11:08:07 [1575] [6] DEBUG:   type_name: bind_transceiver
2006-09-15 11:08:07 [1575] [6] DEBUG:   command_id: 9 = 0x00000009
2006-09-15 11:08:07 [1575] [6] DEBUG:   command_status: 0 = 0x00000000
2006-09-15 11:08:07 [1575] [6] DEBUG:   sequence_number: 1 = 0x00000001
2006-09-15 11:08:07 [1575] [6] DEBUG:   system_id: "lalalalalala"
2006-09-15 11:08:07 [1575] [6] DEBUG:   password: "dumdeedumdeedum"
2006-09-15 11:08:07 [1575] [6] DEBUG:   system_type: ""
2006-09-15 11:08:07 [1575] [6] DEBUG:   interface_version: 52 = 0x00000034
2006-09-15 11:08:07 [1575] [6] DEBUG:   addr_ton: 0 = 0x00000000
2006-09-15 11:08:07 [1575] [6] DEBUG:   addr_npi: 0 = 0x00000000
2006-09-15 11:08:07 [1575] [6] DEBUG:   address_range: NULL
2006-09-15 11:08:07 [1575] [6] DEBUG: SMPP PDU dump ends.
2006-09-15 11:08:07 [1575] [7] DEBUG: SMPP[_M8_]: Sending PDU:
2006-09-15 11:08:07 [1575] [7] DEBUG: SMPP PDU 0x9210798 dump:
2006-09-15 11:08:07 [1575] [7] DEBUG:   type_name: bind_receiver
2006-09-15 11:08:07 [1575] [7] DEBUG:   command_id: 1 = 0x00000001
2006-09-15 11:08:07 [1575] [7] DEBUG:   command_status: 0 = 0x00000000
2006-09-15 11:08:07 [1575] [7] DEBUG:   sequence_number: 2 = 0x00000002
2006-09-15 11:08:07 [1575] [7] DEBUG:   system_id: "lalalalalala"
2006-09-15 11:08:07 [1575] [7] DEBUG:   password: "dumdeedumdeedum"
2006-09-15 11:08:07 [1575] [7] DEBUG:   system_type: ""
2006-09-15 11:08:07 [1575] [7] DEBUG:   interface_version: 52 = 0x00000034
2006-09-15 11:08:07 [1575] [7] DEBUG:   addr_ton: 0 = 0x00000000
2006-09-15 11:08:07 [1575] [7] DEBUG:   addr_npi: 0 = 0x00000000
2006-09-15 11:08:07 [1575] [7] DEBUG:   address_range: NULL
2006-09-15 11:08:07 [1575] [7] DEBUG: SMPP PDU dump ends.
2006-09-15 11:08:07 [1575] [7] ERROR: Error reading from fd 28:
2006-09-15 11:08:07 [1575] [7] ERROR: System error 104: Connection reset by peer
2006-09-15 11:08:07 [1575] [7] ERROR: SMPP[_M8_]: Couldn't connect to SMS center (retrying in 10 seconds).


Then after i asked the telco to refresh my bind connection, only then i was able to reconnect. The telco said that when we tried to re-bind, we keep trying to use the old session instead of getting the new session.

any ideas?

regards
Yoga Nandiwardhana


On Sep 14, 2006, at 8:21 PM, Andreas Fink wrote:


On 14.09.2006, at 12:42, Yoga Nandiwardhana wrote:


Hi,
I'm new to Kannel, and for so much i've only been a user, never really twiddle around with the configurations. Now the telco operator i'm connecting to requires me to do auto-rebinding whenever the connection got closed. How does Kannel handle this?


Kannel automatically reconnects. Nothing to be done there.






Reply via email to