First off, read documentation. Mblox specific error codes would quickly identify what this error code is:
2005-04-04 15:28:14 [6] ERROR: SMPP[smsc1]: SMSC returned error code 0x0000042a in response to submit_sm.
You have to install mblox specific code. You must set 0x1402 to their carrier IDs in order from mblox to accept messages. Ask mblox about kannel-specific patches to kannel.
This allows me to bring up the issue that kannel doesn't have the facility to add a config line(s) to handle both sending and receiving messages and being able to set and retrieve aggregator/carrier/SMSC specific coding of the PDU.
Because it sure would be easier to specify multiple lines like this:
pdu_special[1] = 0x1402|5|mblox_carrier
and be able to have /cgi-bin/sendsms handle mblox_carrier as a passed variable, and also have the bearerbox/smsbox be able to grab and make available the data passed in the PDU at a specific offset.
I'm just sayin. 'course if I had the time and talent, I would write it myself, and since I don't, I can't really gripe too much, since Kannel is world-class to begin with.
Beckman
PS -- As an aside, mblox carries traffic for a large US ringtone business, and their marketing/promotions pushes can negatively affect your traffic -- delays, outages, downtime, etc. There are also lots of outages, both carrier and mblox related. Make sure you queue on your side, and if mblox (or any aggregator for that matter) drops messages you've already sent to them and they've accepted (but later lose), you can resend.
It's a wild ride.
On Mon, 4 Apr 2005, Derek Barber wrote:
I'm currently working on getting Kannel set up with an MBlox SMPP account. I've been able to get the connection happening, and MBlox has confirmed that my connection is working. However, I am unable to send or receive SMS messages.
This is the error message I am getting in the kannel logs after I try an send an SMS: 005-04-04 15:28:11 [6] DEBUG: SMPP PDU 0x80d7950 dump: 2005-04-04 15:28:11 [6] DEBUG: type_name: submit_sm 2005-04-04 15:28:11 [6] DEBUG: command_id: 4 = 0x00000004 2005-04-04 15:28:11 [6] DEBUG: command_status: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: sequence_number: 372 = 0x00000174 2005-04-04 15:28:11 [6] DEBUG: service_type: NULL 2005-04-04 15:28:11 [6] DEBUG: source_addr_ton: 2 = 0x00000002 2005-04-04 15:28:11 [6] DEBUG: source_addr_npi: 1 = 0x00000001 2005-04-04 15:28:11 [6] DEBUG: source_addr: "10878" 2005-04-04 15:28:11 [6] DEBUG: dest_addr_ton: 2 = 0x00000002 2005-04-04 15:28:11 [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2005-04-04 15:28:11 [6] DEBUG: destination_addr: "31004014158129439" 2005-04-04 15:28:11 [6] DEBUG: esm_class: 3 = 0x00000003 2005-04-04 15:28:11 [6] DEBUG: protocol_id: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: priority_flag: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: schedule_delivery_time: NULL 2005-04-04 15:28:11 [6] DEBUG: validity_period: NULL 2005-04-04 15:28:11 [6] DEBUG: registered_delivery: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: data_coding: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: sm_length: 0 = 0x00000000 2005-04-04 15:28:11 [6] DEBUG: short_message: "mblox test" 2005-04-04 15:28:11 [6] DEBUG: SMPP PDU dump ends. 2005-04-04 15:28:12 [6] DEBUG: SMPP[smsc1]: Sending enquire link: 2005-04-04 15:28:12 [6] DEBUG: SMPP PDU 0x80d7950 dump: 2005-04-04 15:28:12 [6] DEBUG: type_name: enquire_link 2005-04-04 15:28:12 [6] DEBUG: command_id: 21 = 0x00000015 2005-04-04 15:28:12 [6] DEBUG: command_status: 0 = 0x00000000 2005-04-04 15:28:12 [6] DEBUG: sequence_number: 373 = 0x00000175 2005-04-04 15:28:12 [6] DEBUG: SMPP PDU dump ends. 2005-04-04 15:28:14 [6] WARNING: SMPP: PDU NUL terminated string has no NUL. 2005-04-04 15:28:14 [6] DEBUG: SMPP[smsc1]: Got PDU: 2005-04-04 15:28:14 [6] DEBUG: SMPP PDU 0x80d7950 dump: 2005-04-04 15:28:14 [6] DEBUG: type_name: submit_sm_resp 2005-04-04 15:28:14 [6] DEBUG: command_id: 2147483652 = 0x80000004 2005-04-04 15:28:14 [6] DEBUG: command_status: 1066 = 0x0000042a 2005-04-04 15:28:14 [6] DEBUG: sequence_number: 372 = 0x00000174 2005-04-04 15:28:14 [6] DEBUG: message_id: NULL 2005-04-04 15:28:14 [6] DEBUG: SMPP PDU dump ends. 2005-04-04 15:28:14 [6] ERROR: SMPP[smsc1]: SMSC returned error code 0x0000042a in response to submit_sm.
Does any have any experience with MBlox and Kannel and can give some insight?
Any help is greatly appreciated.
thanks, Derek -- Derek Barber <[EMAIL PROTECTED]>
--------------------------------------------------------------------------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ ---------------------------------------------------------------------------
