Hi Neil,

Step 1.

You need to set the dlr-url and dlr-mask cgi parameters in your sendsms
request to ask for dlr's when submitting your message to SMSC. [ As a
result (seen when viewing bearerbox logs in debug mode) the submit_sm
registered_delivery field is non-zero. ] 

Step 2.

Some SMSC respond with DLR's referencing submit_sm msg id's in hex
format, some in decimal (the SMPP specs are a bit loose here). The
msg-id-type simply allows you to adjust how you read this msg-id and
hence search for the message being receipted. 

You may need to set this field if you see error messages in bearerbox
log with something like 'Got DLR but could not find ...' ie: Kannel
couldn't match the DLR msg-id to anything it's sent. You should be able
to see the corresponding msg-id values in debug logs. Experiment with
the msg-id-type until you get a match. Failing that repost with logs.

Step 3.

The dlr-storage refers to where Kannel keeps a note of messages waiting
to be receipted. Internal (default) means it keeps a list 'internally'
(in RAM) - other options include database storage, etc - check on-line
docs for more info ... Just remember that internal storage means that if
you need to restart Kannel for whatever reason this list is lost.

Hope this helps. Cheers,
Alan

On Thu, 2004-03-18 at 23:57, Neil Mukerji wrote:
> Hi all,
> I'm using Kannel on Fedora to connect to MBlox to send SMS messages.
> Everything's fine, I can send and receive basic SMS messages, however
> I have two outstanding issues which I hope someone can help me with.
> 
> (1) I'm not receiving delivery reports. MBlow report that their
> "statusReportReq" field is blank. In the documentation there's not a
> great deal about delivery reports. In my core group I've set
> dlr-storage = internal. Other references in the documentation suggest
> I may have to set msg-id-type in my smsbox configuration, but if I try
> to set this, when I run bearerbox I get:
> 
> 2004-03-17 17:35:38 [0] ERROR: Group 'smsc' may not contain field
> 'msg-id-type'.
> I'm not sure what value I have to give anyway. Am I barking up the
> wrong tree?!
> (2) Apparently I need to set service-type and registered-delivery.
> However neither of these are allowed fields. How on earth do I set
> them?!
> 
> Any help will be much appreciated!
> Thanks,
> Neil Mukerji (New to SMPP and Kannel - and it shows...)
> 


Reply via email to