On Mon, 4 Apr 2005, Derek Barber wrote:

hi Peter,

thanks for the response.  The information you sent is definitely
helpful.  Sorry, I should have been a little clearer in my email.  I
have gone through all the error codes and have been working with the
MBlox support team to try and solve this problem.

From my original email below:

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.

To be more clearer, kannel must be modified to be able to send and receive the operator code (carrier ID) from mblox. Mblox has provided patches to kannel in the past for this, ask them about it.

 You must patch your code and recompile.  If you installed from a binary,
 it will never work.  You must grab the source, patch it on a linux system
 (or figure out how to patch on a different system), recompile.  That is
 the only way.

Beckman

The specific error code I am getting (0x0000042a) is a routing error for
PSMS.  According to the MBlox support team this is because I am not
sending through the operator ID.

What I have been told is that I need to send specific MBlox parameters,
specifically tariff and operator ID.  Do you have any idea how I can set
those when sending an SMS through Kannel to MBlox?

Here is my kannel configuration:
group = smsc
smsc = smpp
smsc-id = smsc1
host = "xxxx"
port = xxxx
transceiver-mode = true
smsc-username = "xxxx"
smsc-password = "xxxx"
enquire-link-interval = 30
system-type = "xxxx"
address-range = ""
interface-version = 0x34
my-number = xxxx
msg-id-type = 0x00

group = sendsms-user
username = tester
password = foobar
default-smsc = smsc1
default-sender = xxxx

I am just trying to send out SMSs via the /cgi-bin/sendsms script.

Does that provide any further information on the problem?

Thanks,
Derek

On Mon, 2005-04-04 at 18:45 -0400, Peter Beckman wrote:
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/ ---------------------------------------------------------------------------
--
Derek Barber <[EMAIL PROTECTED]>
Debian Subversion Group


--------------------------------------------------------------------------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ ---------------------------------------------------------------------------



Reply via email to