Email2SMS and wap push DLR

Email2SMS and wap push DLR SearchSearch
Author Message
dinos
New member
Username: Dinaras

Post Number: 11
Registered: 02-2006
Posted on Monday, January 11, 2010 - 03:49 pm:   

Hello, is there a way that we can request delivery reports for email2sms and wap push messages sent over SMPP connection?

Thank you very much in advance

Regards

Dinos
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1657
Registered: 08-2008
Posted on Tuesday, January 12, 2010 - 04:04 pm:   

Hi Dinos,

A delivery report cannot be routed back to an e-mail sender.

A deliver report for a WAP push message can be requested by using "&ReceiptRequested=Yes" in the URL that submits the message.

There are also ways to force a delivery receipt to be requested for all messages that are sent via an outbound SMPP connection. The following thread helps explain some of these settings: http://support.nowsms.com/discus/messages/1/41781.html

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 12
Registered: 02-2006
Posted on Thursday, January 14, 2010 - 03:13 pm:   

We have incorporated nowsms in our existing platform, with external billing. All messages sent by now sms can be viewed from our web interface (we use accounting callbacks to log everything). In that sense one can send email to sms and then when he logs in he can see his dlrs.

Also for wap push although we use receiptrequested=yes, we never get dlr.

Finally the link you sent me does not work, could you please check it. Maybe this is the answer to my problem

Thank you very much in advance
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1662
Registered: 08-2008
Posted on Tuesday, January 19, 2010 - 05:11 pm:   

Hi Dinos,

I don't have any problem with the link that was included in the previous post.

We did have some problems with our web server provider moving to some new servers last week, so perhaps the link was temporarily unavailable. Please try again ... as I think it will answer your question.

How do you submit the WAP push messages to NowSMS? (Is it a PAP message, or HTTP URL parameters?)

There is a setting that can be added to force all outbound SMPP messages to have the delivery receipt flag set. Edit SMSGW.INI and if ther eis not already a section header [SMPP], then add one. Under the [SMPP] header, add DelieveryReceiptFlag=Yes

If you're still not getting delivery receipts, then it is possible that your SMPP provider uses a different path for binary messages, which does not support delivery receipts. Before we jump to that conclusion, however, we should do some more testing to confirm. Enable the SMSDEBUG.LOG in NowSMS. Send a WAP push message where you think the delivery receipt request flag should be set. Post the SMPPDEBUG.LOG hex dump of the message submission so that we can verify that this flag is correctly being set.

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 13
Registered: 02-2006
Posted on Friday, January 22, 2010 - 11:00 am:   

Hello Des and thank you for your reply,

Although i added all dlr forcing parameters to smsgw.ini, i am still not getting any dlrs for wap push multimedia messages. Not tried email2sms

I hope i am pasting the right part of smppdebug.log.

We are using http in order to post the message to now sms.

This is the part from smppdebug.log that hopefully has the information you need

12:57:35:078 (00000300) XX.XX.XX.XX ->: 136 byte packet
12:57:35:078 (00000300) XX.XX.XX.XX ->: 00 00 00 88 00 00 00 04 00 00 00 00 00 00 00 02
12:57:35:078 (00000300) XX.XX.XX.XX ->: 00 05 00 68 67 6A 67 68 00 01 01 33 30 36 39 33 hgjgh 30XXX
12:57:35:078 (00000300) XX.XX.XX.XX ->: 36 35 32 35 31 31 33 00 40 00 00 00 00 00 00 F5 XXXXXXX @
12:57:35:078 (00000300) XX.XX.XX.XX ->: 00 56 06 05 04 0B 84 23 F0 9E 06 01 AE 02 05 6A V # j
12:57:35:078 (00000300) XX.XX.XX.XX ->: 00 45 C6 0C 03 6D 6D 73 63 2E 79 75 62 6F 74 6F E mmsc.XXXXXXX
12:57:35:078 (00000300) XX.XX.XX.XX ->: 2E 63 6F 6D 2F 32 30 31 30 30 31 32 32 2F 31 32 .com/20100122/12
12:57:35:078 (00000300) XX.XX.XX.XX ->: 2F 45 31 45 38 37 36 35 44 2E 57 4D 4C 3F 69 64 /E1E8765D.WML?id
12:57:35:078 (00000300) XX.XX.XX.XX ->: 3D 33 30 36 39 33 36 35 32 35 31 31 33 00 01 03 =30XXXXXXXXXX
12:57:35:078 (00000300) XX.XX.XX.XX ->: 67 68 6A 67 68 00 01 01 ghjgh
12:57:35:421 (00000300) XX.XX.XX.XX --: SMPPSubmitMessage: Got an SMPP response
12:57:35:421 (00000300) XX.XX.XX.XX <-: 34 byte packet
12:57:35:421 (00000300) XX.XX.XX.XX <-: 00 00 00 22 80 00 00 04 00 00 00 00 00 00 00 02 "
12:57:35:421 (00000300) XX.XX.XX.XX <-: 35 30 30 31 32 32 31 31 35 31 33 30 31 36 37 33 5001221151301673
12:57:35:421 (00000300) XX.XX.XX.XX <-: 30 00 0
12:57:59:250 (00000360) XX.XX.XX.XX --: SMPPEnquireLink: Sending enquire_link

Thank you very much

Regards
Konstantinos Liadakis
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1703
Registered: 08-2008
Posted on Friday, January 22, 2010 - 10:48 pm:   

Thanks Konstantinos,

I can see from your debug log that the delivery request flag is not being set for the outbound message.

So we need to double-check your SMSGW.INI settings.

Look at that file, and make sure there is only one [SMPP] section header in that file. (There can be multiple [SMPP - server:port] sections, one for each outbound SMPP connection. I am referring to a section header titled simply [SMPP].)

Under that [SMPP] header, make sure that DelieveryReceiptFlag=Yes is present.

If you're not making any progress, feel free to e-mail the SMSGW.INI file to nowsms@nowsms.com with "Attention: Des" in the subject line, and I will take a look at it.

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 14
Registered: 02-2006
Posted on Monday, January 25, 2010 - 11:35 am:   

Hello Des,

My [SMPP] section is as follows

[SMPP]
SMPPServerEnquireLink=120
DelieveryReceiptFlag=Yes

and it appears only once.

I also have in [SMPP - XXX.XXX.XXX.XXX] these settings that relate to dlrs and are the following

TrackSMPPReceipts=Yes
DefaultDelReceipt=Yes

One of my smsc connections did not have the DefaultDelReceipt=Yes setting. When i added this dlr's worked for wap push.

Email2sms messages though do not get dlrs. Is there a way that this can also be forced? I can understand that dlr cannot be sent back with email, but what if in my case dlrs are getting stored in a different webpanel?

Thank you very much for this great product
Regards
Dinos
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1715
Registered: 08-2008
Posted on Monday, January 25, 2010 - 04:55 pm:   

Hi Dinos,

There is a spelling error:

It should be:
DeliveryReceiptFlag=Yes

Not:
DelieveryReceiptFlag=Yes

That said, if you have DefaultDelReceipt=Yes set for all of the connections, I don not understand why the email2sms messages would not have delivery receipt requested.

After you fix that INI file entry, let's try another SMPPDEBUG.LOG showing an email2sms message.

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 16
Registered: 02-2006
Posted on Tuesday, January 26, 2010 - 09:06 am:   

Hello Des,
What a silly mistake from my side.

Although i made the correction, dlr is not received yet for email2sms.

This is part of logfile

11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 115 byte packet
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 00 00 00 73 00 00 00 04 00 00 00 00 00 00 00 03 s
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 00 05 00 59 75 62 6F 74 6F 00 01 01 33 30 36 39 Yuboto 30XX
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 33 36 35 32 35 31 31 33 00 00 00 00 00 00 01 00 XXXXXXXX
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 00 00 40 6B 6C 69 61 64 61 6B 69 73 00 79 75 62 @XXXXXXXXXX XXX
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 6F 74 6F 2E 63 6F 6D 20 28 64 6C 72 20 74 65 73 XXX.com (dlr tes
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 74 65 72 29 20 64 6C 72 20 74 65 73 74 69 6E 67 ter) dlr testing
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 20 77 69 74 68 20 63 6F 72 72 65 63 74 20 66 6C with correct fl
11:02:05:671 (0000034C) XXX.XXX.XXX.XXX ->: 61 67 20 ag
11:02:05:875 (0000034C) XXX.XXX.XXX.XXX --: SMPPSubmitMessage: Got an SMPP response
11:02:05:875 (0000034C) XXX.XXX.XXX.XXX <-: 28 byte packet
11:02:05:875 (0000034C) XXX.XXX.XXX.XXX <-: 00 00 00 1C 80 00 00 04 00 00 00 00 00 00 00 03
11:02:05:875 (0000034C) XXX.XXX.XXX.XXX <-: 39 36 31 35 37 33 39 39 38 30 31 00 XXXXXXXXXXX

Thank you very much in advance

Regards
Dinos
dinos
New member
Username: Dinaras

Post Number: 17
Registered: 02-2006
Posted on Tuesday, January 26, 2010 - 10:26 am:   

Hello again,

Now that i am able to receive dlr for wap push messages i found out that i am having problem relating the dlr to the wap push sent.

The accounting callbacks i receive are as follows

PreAuth=Yes&Type=SMSSend&From=administrator&To=XXXXXXXXXXXX&MsgCount=1&SubmitIP= XXX.XXX.XXX.XXX&SMSCRoute=XXXXXXXXXX_NOW&Sender=TEST2&Binary=1&DCS=F5&ReceiptReq uested=Yes

Type=SMSSend&From=administrator&To=XXXXXXXXXXXX&MessageID=unknown&SubmitIP=XXX.X XX.XXX.XXX&Sender=TEST2&Binary=1&DCS=F5

Type=SMSOut&From=localsystem-mmsc&To=XXXXXXXXXXXX&MessageID=1605AA3C.req&SubmitI P=LocalSystem&Sender=TEST2&Binary=1&DCS=F5&UDH=0605040B8423F0&Data=AF0601AE02056 A0045C60C036D6D73632E7975626F746F2E636F6D2F32303130303132362F31322F3532304344354 2442E574D4C3F69643D33303639333635323531313100010332202D205445535420444C522032000 101&SMSCMsgId=50012611054641084&SMSCName=provider_name&Status=OK

Type=SMSIN&To=TEST2&Sender=XXXXXXXXXXXX&Text=id:1605AA3C%20sub:001%20dlvrd:001%2 0submit%20date:1001261105%20done%20date:1001261105%20stat:DELIVRD%20err:000%20te xt:%20%20%20%20%3F%23d%20%20%20%20%20%20j%20E%C3%86-%20m&SMSCReceiptMsgId=1605AA 3C&SMSCReceiptMsgIdOrig=50012611054641084&SMSCName=provider_name

i need the message id as soon as i send the message in order to be sure that dlr will be correctly matched. But i am getting messageid=unknown. I could use phonenumber and sender as id, but i dont like this approach, it doesnt look solid

Also when sending a multimedia message with sms weblink, i get no dlr either, although dlrs should me forced all the time.

I am using nowsms v2009.10.28

Thanks again
Regards
Dinos
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1724
Registered: 08-2008
Posted on Tuesday, January 26, 2010 - 07:00 pm:   

Hi Dinos,

On the first point ... the registered delivery flag is indeed being set, so it is not clear to me why these messages would not be receiving delivery receipts when other messages are.

Unfortunately, all we can do is ask for a receipt.

I assume if you just submit a simple text message from the web interface, you get a receipt?

On the second issue, that's more difficult to deal with.

The interface between the SMS and the MMS side with regard to message IDs is not very complete. Multimedia WAP push is handled by the MMS side.

I'm looking into it further, but I think it's going to need to be referred back to engineering to get the callback changed.

--
Des
NowSMS Support
dinos
New member
Username: Dinaras

Post Number: 18
Registered: 02-2006
Posted on Wednesday, January 27, 2010 - 10:53 am:   

Hello Des,

After a bit more detective work, i realised that the reason dlrs were not coming from a specific smsc connection i was using, was because i was sharing same account with another smsc in my network. Talking with operator, i was told that their system does load balancing when sending dlr, and i was receiving dlrs on the second server.
Hence i dont think there is any problem with nowsms.

I will be waiting for any updates regarding message id's for multimedia wap push messages

Thank you for great support

Kind regards
Dinos