Hello,
We are trying to use kannel as gateway
between SMSC's. here is our log file
2006-03-21 15:28:09 [1342] [7] DEBUG: SMPP[huawei]:
Got PDU:
2006-03-21 15:28:09 [1342] [7] DEBUG: SMPP PDU 12f320 dump: 2006-03-21 15:28:09 [1342] [7] DEBUG: type_name: deliver_sm 2006-03-21 15:28:09 [1342] [7] DEBUG: command_id: 5 = 0x00000005 2006-03-21 15:28:09 [1342] [7] DEBUG: command_status: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: sequence_number: 19634853 = 0x012b9aa5 2006-03-21 15:28:09 [1342] [7] DEBUG: service_type: "4098" 2006-03-21 15:28:09 [1342] [7] DEBUG: source_addr_ton: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [7] DEBUG: source_addr_npi: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [7] DEBUG: source_addr: "99590250141" 2006-03-21 15:28:09 [1342] [7] DEBUG: dest_addr_ton: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [7] DEBUG: dest_addr_npi: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [7] DEBUG: destination_addr: "99599166766" 2006-03-21 15:28:09 [1342] [7] DEBUG: esm_class: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: protocol_id: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: priority_flag: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: schedule_delivery_time: NULL 2006-03-21 15:28:09 [1342] [7] DEBUG: validity_period: NULL 2006-03-21 15:28:09 [1342] [7] DEBUG: registered_delivery: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: replace_if_present_flag: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: data_coding: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: sm_length: 16 = 0x00000010 2006-03-21 15:28:09 [1342] [7] DEBUG: short_message: " Telephone! " 2006-03-21 15:28:09 [1342] [7] DEBUG: SMPP PDU dump ends. 2006-03-21 15:28:09 [1342] [7] DEBUG: SMPP[huawei]:
Sending PDU:
2006-03-21 15:28:09 [1342] [7] DEBUG: SMPP PDU 12f400 dump: 2006-03-21 15:28:09 [1342] [7] DEBUG: type_name: deliver_sm_resp 2006-03-21 15:28:09 [1342] [7] DEBUG: command_id: 2147483653 = 0x80000005 2006-03-21 15:28:09 [1342] [7] DEBUG: command_status: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [7] DEBUG: sequence_number: 19634853 = 0x012b9aa5 2006-03-21 15:28:09 [1342] [7] DEBUG: message_id: NULL 2006-03-21 15:28:09 [1342] [7] DEBUG: SMPP PDU dump ends. 2006-03-21 15:28:09 [1342] [8] DEBUG: SMPP[magtimotor]: Sending PDU: 2006-03-21 15:28:09 [1342] [8] DEBUG: SMPP PDU 12f320 dump: 2006-03-21 15:28:09 [1342] [8] DEBUG: type_name: submit_sm 2006-03-21 15:28:09 [1342] [8] DEBUG: command_id: 4 = 0x00000004 2006-03-21 15:28:09 [1342] [8] DEBUG: command_status: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: sequence_number: 2 = 0x00000002 2006-03-21 15:28:09 [1342] [8] DEBUG: service_type: "4098" 2006-03-21 15:28:09 [1342] [8] DEBUG: source_addr_ton: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [8] DEBUG: source_addr_npi: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [8] DEBUG: source_addr: "99590250141" 2006-03-21 15:28:09 [1342] [8] DEBUG: dest_addr_ton: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [8] DEBUG: dest_addr_npi: 1 = 0x00000001 2006-03-21 15:28:09 [1342] [8] DEBUG: destination_addr: "99599166766" 2006-03-21 15:28:09 [1342] [8] DEBUG: esm_class: 3 = 0x00000003 2006-03-21 15:28:09 [1342] [8] DEBUG: protocol_id: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: priority_flag: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: schedule_delivery_time: NULL 2006-03-21 15:28:09 [1342] [8] DEBUG: validity_period: NULL 2006-03-21 15:28:09 [1342] [8] DEBUG: registered_delivery: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: replace_if_present_flag: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: data_coding: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: sm_default_msg_id: 0 = 0x00000000 2006-03-21 15:28:09 [1342] [8] DEBUG: sm_length: 16 = 0x00000010 2006-03-21 15:28:09 [1342] [8] DEBUG: short_message: " Telephone! " 2006-03-21 15:28:09 [1342] [8] DEBUG: SMPP PDU dump ends. 2006-03-21 15:28:09 [1342] [8] DEBUG: SMPP[magtimotor]: Got PDU: 2006-03-21 15:28:09 [1342] [8] DEBUG: SMPP PDU 12fc70 dump: 2006-03-21 15:28:09 [1342] [8] DEBUG: type_name: submit_sm_resp 2006-03-21 15:28:09 [1342] [8] DEBUG: command_id: 2147483652 = 0x80000004 2006-03-21 15:28:09 [1342] [8] DEBUG: command_status: 21 = 0x00000015 2006-03-21 15:28:09 [1342] [8] DEBUG: sequence_number: 2 = 0x00000002 2006-03-21 15:28:09 [1342] [8] DEBUG: message_id: NULL 2006-03-21 15:28:09 [1342] [8] DEBUG: SMPP PDU dump ends. 2006-03-21 15:28:09 [1342] [8] ERROR:
SMPP[magtimotor]: SMSC returned error code 0x00000015 (Invalid Service Type) in
response to submit_sm.
should we use service-type option or there is
an other way? in our case it was not effective here is our config file:
group = core
admin-port = 13000 admin-password = bar status-password = foo admin-deny-ip = "" admin-allow-ip = "" log-file = "/var/log/kannel/kannel.log" log-level = 0 access-log = "/var/log/kannel/access.log" smsbox-port = 13001 box-allow-ip = "*.*.*.*" store-file = "/var/log/kannel/kannel.store" unified-prefix = "99590,890" # SMSC SMPP
group = smsc smsc = smpp smsc-id = huawei reroute = yes denied-smsc-id = "huawei" reroute-dlr = yes host = 10.75.9.23 port = 5016 receive-port = 5016 smsc-username = foo smsc-password = bar system-type = SMS service-type = "CMT" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
interface-version = 33 transceiver-mode = true group = smsc
smsc = smpp smsc-id = magtimotor reroute = yes denied-smsc-id = "magtimotor" host = 81.95.160.19 port = 2776 reconnect-delay = 60 smsc-username = foo smsc-password = bar system-type = SMS service-type = "CMT" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
transceiver-mode = true Thanks for any suggestions.
Vano Porchkhidze.
|
- Service-type in kannel Vano Porchkhidze
- Re: Service-type in kannel Alejandro Guerrieri