Hi all, I'm trying to configure kannel to work with one smsc. Their spec says that for SUBMIT_SM there should be esm_class set which have values like: - messaging mode - message type - gsm network features - UDHI indicator
How can I specify these values to esm_class field? And what is this esm_class anyway? Currently esm_class is 3 = 0x00000003, I can see it by looking error print in consle after failed send-sms. I have configured connection to smsc: group = smsc smsc = smpp host = *.*.*.* port = * smsc-id = SMSC1 allowed-smsc-id = SMSC1 system-type = "VMA" smsc-username = **** smsc-password = **** address-range = "" and connection should be good (based on console messages, no connection errors). When I try to send sms, http://mykannel/cgi-bin/sendsms?username=****&password=****&from=*******&to= ********&smsc=SMSC1&text=XXX+Hello+World I get error print to console: SMPP PDU 0x80ee1f0 dump: type_name: submit_sm command_id: 4 = 0x00000004 command_status: 0 = 0x00000000 sequence_number: 1 = 0x00000001 service_type: NULL source_addr_ton: 2 = 0x00000002 source_addr_npi: 1 = 0x00000001 source_addr: "******" dest_addr_ton: 2 = 0x00000002 dest_addr_npi: 1 = 0x00000001 destination_addr: "*************" esm_class: 3 = 0x00000003 protocol_id: 0 = 0x00000000 priority_flag: 0 = 0x00000000 schedule_delivery_time: NULL validity_period: NULL registered_delivery: 0 = 0x00000000 replace_if_present_flag: 0 = 0x00000000 data_coding: 0 = 0x00000000 sm_default_msg_id: 0 = 0x00000000 sm_length: 15 = 0x0000000f short_message: "XXX Hello World" SMPP PDU dump ends. SMPP[OPERATC]: Got PDU: SMPP PDU 0x80ee1f0 dump: type_name: submit_sm_resp command_id: ********** = 0x80000004 command_status: 67 = 0x00000043 sequence_number: 1 = 0x00000001 message_id: NULL SMPP PDU dump ends. SMPP[SMSC1]: SMSC returned error code 0x00000043 in response to submit_sm. :)Marko