Here is my conf file :
group = core
admin-port = 13000
smsbox-port = 13001
admin-password = mypass
admin-deny-ip = "*.*.*.*"
admin-allow-ip =127.0.0.1
box-deny-ip = "*.*.*.*"
box-allow-ip = 127.0.0.1
log-file = "kannel.log"
log-level = 0
access-log = "access.log"
store-file = "kannel.store"
group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 3536
log-file = "smsbox.log"
log-level = 0
access-log = "access.smsbox.log"
group = smsc
smsc = smpp
smsc-id = mysmsc
host = 202.xxx.xxx.xxx
port = 30000
smsc-username = XXXXXXX
smsc-password = XXXXXXXX
system-type = TCP
when I run the bearerbox with that configuration, it is succesful connect to SMSC, but when the bearerbox receive data from SMSC, why my kannel doesn't receive any messages (the messages columns is empty), in fact we already confirm that data sent from SMSC contains some messages. here is some cut's from debug console when i'm starting my bearerbox:
2003-10-08 11:56:01 [0] INFO: MAIN: Start-up done, entering mainloop
2003-10-08 11:56:01 [7] DEBUG: sms_router: time to sleep
2003-10-08 11:56:01 [7] DEBUG: sms_router: list_len = 0
2003-10-08 11:56:01 [6] DEBUG: SMPP[mysmsc]: Sending PDU:
2003-10-08 11:56:01 [6] DEBUG: SMPP PDU 0x81262c0 dump:
2003-10-08 11:56:01 [6] DEBUG: type_name: bind_transceiver
2003-10-08 11:56:01 [6] DEBUG: command_id: 9 = 0x00000009
2003-10-08 11:56:01 [6] DEBUG: command_status: 0 = 0x00000000
2003-10-08 11:56:01 [6] DEBUG: sequence_number: 0 = 0x00000000
2003-10-08 11:56:01 [6] DEBUG: system_id: "XXXXXXX"
2003-10-08 11:56:01 [6] DEBUG: password: "XXXXXXXX"
2003-10-08 11:56:01 [6] DEBUG: system_type: "TCP"
2003-10-08 11:56:01 [6] DEBUG: interface_version: 52 = 0x00000034
2003-10-08 11:56:01 [6] DEBUG: addr_ton: 0 = 0x00000000
2003-10-08 11:56:01 [6] DEBUG: addr_npi: 0 = 0x00000000
2003-10-08 11:56:01 [6] DEBUG: address_range: NULL
2003-10-08 11:56:01 [6] DEBUG: SMPP PDU dump ends.
2003-10-08 11:56:01 [6] DEBUG: Optional parameter tag (0x0210)
2003-10-08 11:56:01 [6] DEBUG: Optional parameter length read as 1
2003-10-08 11:56:01 [6] DEBUG: Optional parameter value (4)
2003-10-08 11:56:01 [6] DEBUG: SMPP[mysmsc]: Got PDU:
2003-10-08 11:56:01 [6] DEBUG: SMPP PDU 0x81263b0 dump:
2003-10-08 11:56:01 [6] DEBUG: type_name: bind_transceiver_resp
2003-10-08 11:56:01 [6] DEBUG: command_id: 2147483657 = 0x80000009
2003-10-08 11:56:01 [6] DEBUG: command_status: 0 = 0x00000000
2003-10-08 11:56:01 [6] DEBUG: sequence_number: 0 = 0x00000000
2003-10-08 11:56:01 [6] DEBUG: system_id: NULL
2003-10-08 11:56:01 [6] DEBUG: SMPP_SC_interface_version: "4"
2003-10-08 11:56:01 [6] DEBUG: SMPP PDU dump ends.
when the messeges is receive from SMSC the debug console is :
2003-10-08 11:56:21 [6] DEBUG: SMPP[mysmsc]: Got PDU:
2003-10-08 11:56:21 [6] DEBUG: SMPP PDU 0x81264e8 dump:
2003-10-08 11:56:21 [6] DEBUG: type_name: deliver_sm
2003-10-08 11:56:21 [6] DEBUG: command_id: 5 = 0x00000005
2003-10-08 11:56:21 [6] DEBUG: command_status: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-10-08 11:56:21 [6] DEBUG: service_type: NULL
2003-10-08 11:56:21 [6] DEBUG: source_addr_ton: 1 = 0x00000001
2003-10-08 11:56:21 [6] DEBUG: source_addr_npi: 1 = 0x00000001
2003-10-08 11:56:21 [6] DEBUG: source_addr: "6x85xxxxxxxx"
2003-10-08 11:56:21 [6] DEBUG: dest_addr_ton: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: dest_addr_npi: 1 = 0x00000001
2003-10-08 11:56:21 [6] DEBUG: destination_addr: "xxxx"
2003-10-08 11:56:21 [6] DEBUG: esm_class: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: protocol_id: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: priority_flag: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: schedule_delivery_time: NULL
2003-10-08 11:56:21 [6] DEBUG: validity_period: NULL
2003-10-08 11:56:21 [6] DEBUG: registered_delivery: 17 = 0x00000011
2003-10-08 11:56:21 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: data_coding: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: sm_length: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: short_message: ""
2003-10-08 11:56:21 [6] DEBUG: SMPP PDU dump ends.
2003-10-08 11:56:21 [6] DEBUG: SMPP[mysmsc]: Sending PDU:
2003-10-08 11:56:21 [6] DEBUG: SMPP PDU 0x8126468 dump:
2003-10-08 11:56:21 [6] DEBUG: type_name: deliver_sm_resp
2003-10-08 11:56:21 [6] DEBUG: command_id: 2147483653 = 0x80000005
2003-10-08 11:56:21 [6] DEBUG: command_status: 0 = 0x00000000
2003-10-08 11:56:21 [6] DEBUG: sequence_number: 1 = 0x00000001
2003-10-08 11:56:21 [6] DEBUG: message_id: NULL
2003-10-08 11:56:21 [6] DEBUG: SMPP PDU dump ends.
it's seems that short_message: "" (it's empty ?) then where the messages go ? anyone know where the problem is ? from my bearerbox configuration or my SMSC ? I'm using kannel 1.3.1.
Thank's
EB
____________________________________________________________________________ Fasilitas webmail ini didukung oleh sqWebmail Universitas Dian Nuswantoro : http://www.dinus.ac.id
