DLR does not Receive sometimes

DLR does not Receive sometimes SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through May 20, 2013 » DLR does not Receive sometimes « Previous || Next »
Author Message
Yaser Yavari
New member
Username: Afeyavari

Post Number: 5
Registered: 10-2012
Posted on Wednesday, November 21, 2012 - 08:27 am:   

Hi

i config Nowsms to work with HTTP smsc , NowSMS act as SMPP Sever and send sms via HTTP smsc.

i do some setting to getting DLR , i think everything is fine , i connect with NowSMS by a SMPP client and send a message , NowSMS get the message and resend it via HTTP , Nowsms send sms and receive DLR , this is SMSDebug log :


13:14:14:274 [218] SMPPServerReceiveMessageCallback: inbound message: sender=3000891891, recip=+989153588756, pid=0, dcs=8, msgFlags=2, udh=, msg=062A0633062A002006460647062706CC06CC
13:14:14:276 [218] MessageRoutesAdd: mach\508BF1E4.req
13:14:14:276 [218] MessageRoutesAdd: HTTP - www.Deyar.ae:80
13:14:15:199 [215] ThreadProcessModem: Processing 508BF1E4.req...
13:14:15:199 [215] ReportOverThreshold: Debug
13:14:15:418 [215] ThreadProcessModem: GET /SMPP/SendMessage.ashx/?SubmitUser=mach&SubmitPassword=*******&PhoneNumber=98915 3588756&Text=%D8%AA%D8%B3%D8%AA%20%D9%86%D9%87%D8%A7%DB%8C%DB%8C&Sender=30008918 91 HTTP/1.1
User-Agent: Now SMS/MMS Gateway v2012.10.18
Host: www.Deyar.ae
Accept: */*
Connection: close
13:14:15:853 [215] HttpResponseWait: Ok
13:14:15:853 [215] ThreadProcessModem: HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Wed, 21 Nov 2012 09:15:12 GMT
Connection: close
Content-Length: 13
id:204161917,
13:14:15:854 [215] ThreadProcessModem: Receipt message id 204161917 accepted for 508BF1E4
13:14:15:854 [215] WaitForSocketClose: WinSock reported ioctlsocket complete
13:14:20:094 [2] ThreadListenForConnections: Before accept
13:14:20:094 [2] ThreadListenForConnections: After accept
13:14:20:095 [219] ThreadProcessConnection: Processing connection from 62.193.15.156:5312...
13:14:20:095 [219] TheadProcessConnection: Updating cached user info
13:14:20:095 [219] ThreadProcessConnection: Processing request /?User=x&Password=********&ReceiptMessageId=204161917&ReceiptDelivered=Yes
13:14:20:096 [219] Debug: 0 recipient entries
13:14:20:096 [219] ThreadProcessConnection: Receipt message id 508BF1E4 found for 204161917
13:14:20:097 [219] MessageRoutesAdd: x\508BF1E5.req
13:14:20:097 [219] MessageRoutesAdd: HTTP - www.Deyar.ae:80
13:15:59:828 [219] ProcessRead: End of socket
13:15:59:828 [219] WaitForSocketClose: WinSock reported ioctlsocket complete
13:15:59:828 [219] ThreadProcessConnection: Request processing complete


but SMPP client does not receive DLR sometimes!! here is SMPPlog of NowSMS SMPP server :


13:13:54:895 (00000634) 131.166.253.36 --: WaitForResponseSMPP: SMPP Debug: received enquire_link, acknowledging
13:14:14:273 (00000670) 2.147.21.201 --: WaitForResponseSMPP: SMPP Debug: received a submit message
13:14:14:274 (00000670) 2.147.21.201 <-: 73 byte packet
13:14:14:274 (00000670) 2.147.21.201 <-: 00 00 00 49 00 00 00 04 00 00 00 00 00 00 00 35 I 5
13:14:14:274 (00000670) 2.147.21.201 <-: 00 00 01 33 30 30 30 38 39 31 38 39 31 00 01 01 3000891891
13:14:14:274 (00000670) 2.147.21.201 <-: 39 38 39 31 35 33 35 38 38 37 35 36 00 00 00 00 989153588756
13:14:14:274 (00000670) 2.147.21.201 <-: 00 00 01 00 08 00 12 06 2A 06 33 06 2A 00 20 06 * 3 *
13:14:14:274 (00000670) 2.147.21.201 <-: 46 06 47 06 27 06 CC 06 CC F G '
13:14:14:276 (00000670) 2.147.21.201 ->: 25 byte packet
13:14:14:276 (00000670) 2.147.21.201 ->: 00 00 00 19 80 00 00 04 00 00 00 00 00 00 00 35 5
13:14:14:276 (00000670) 2.147.21.201 ->: 35 30 38 42 46 31 45 34 00 508BF1E4
13:14:20:896 (00000634) 131.166.253.36 ->: 167 byte packet
13:14:20:896 (00000634) 131.166.253.36 ->: 00 00 00 A7 00 00 00 05 00 00 00 00 00 00 00 05
13:14:20:896 (00000634) 131.166.253.36 ->: 00 01 01 39 38 39 31 35 33 35 38 38 37 35 36 00 989153588756
13:14:20:896 (00000634) 131.166.253.36 ->: 00 01 33 30 30 30 38 39 31 38 39 31 00 04 00 00 3000891891
13:14:20:896 (00000634) 131.166.253.36 ->: 00 00 00 00 03 00 5E 69 64 3A 35 30 38 42 46 31 ^id:508BF1
13:14:20:897 (00000634) 131.166.253.36 ->: 45 34 20 73 75 62 3A 30 30 31 20 64 6C 76 72 64 E4 sub:001 dlvrd
13:14:20:897 (00000634) 131.166.253.36 ->: 3A 30 30 31 20 73 75 62 6D 69 74 20 64 61 74 65 :001 submit date
13:14:20:897 (00000634) 131.166.253.36 ->: 3A 31 32 31 31 32 31 31 33 31 34 20 64 6F 6E 65 :1211211314 done
13:14:20:897 (00000634) 131.166.253.36 ->: 20 64 61 74 65 3A 31 32 31 31 32 31 31 33 31 34 date:1211211314
13:14:20:897 (00000634) 131.166.253.36 ->: 20 73 74 61 74 3A 44 45 4C 49 56 52 44 20 65 72 stat:DELIVRD er
13:14:20:897 (00000634) 131.166.253.36 ->: 72 3A 30 30 30 04 27 00 01 02 00 1E 00 09 35 30 r:000 ' 50
13:14:20:897 (00000634) 131.166.253.36 ->: 38 42 46 31 45 34 00 8BF1E4
13:14:20:923 (00000634) 131.166.253.36 --: SMPPServerSubmitMessage: Got an SMPP response
13:14:20:923 (00000634) 131.166.253.36 <-: 17 byte packet
13:14:20:923 (00000634) 131.166.253.36 <-: 00 00 00 11 80 00 00 05 00 00 00 00 00 00 00 05
13:14:20:924 (00000634) 131.166.253.36 <-: 00


i use another NowSMS as SMPP Client , here is client SMPPlog :

12:44:35:123 (000002F8) 88.198.156.136 --: SMPPEnquireLink: Response received for enquire_link
12:45:01:130 (000002F8) 88.198.156.136 ->: 73 byte packet
12:45:01:130 (000002F8) 88.198.156.136 ->: 00 00 00 49 00 00 00 04 00 00 00 00 00 00 00 35 I 5
12:45:01:131 (000002F8) 88.198.156.136 ->: 00 00 01 33 30 30 30 38 39 31 38 39 31 00 01 01 3000891891
12:45:01:132 (000002F8) 88.198.156.136 ->: 39 38 39 31 35 33 35 38 38 37 35 36 00 00 00 00 989153588756
12:45:01:133 (000002F8) 88.198.156.136 ->: 00 00 01 00 08 00 12 06 2A 06 33 06 2A 00 20 06 * 3 *
12:45:01:133 (000002F8) 88.198.156.136 ->: 46 06 47 06 27 06 CC 06 CC F G '
12:45:01:349 (000002F8) 88.198.156.136 --: SMPPSubmitMessage: Got an SMPP response
12:45:01:350 (000002F8) 88.198.156.136 <-: 25 byte packet
12:45:01:350 (000002F8) 88.198.156.136 <-: 00 00 00 19 80 00 00 04 00 00 00 00 00 00 00 35 5
12:45:01:351 (000002F8) 88.198.156.136 <-: 35 30 38 42 46 31 45 34 00 508BF1E4
12:45:17:735 (00000234) 88.198.156.136 --: SMPPEnquireLink: Sending enquire_link



i have this problem with unicode sms , when i send a unicode sms my smpp client does not receive DLR !!


anyone can help me?

Thanks
Yaser Yavari
New member
Username: Afeyavari

Post Number: 6
Registered: 10-2012
Posted on Wednesday, November 21, 2012 - 08:39 am:   

this is emergency problem please help me !

thanks
Yaser Yavari
New member
Username: Afeyavari

Post Number: 7
Registered: 10-2012
Posted on Wednesday, November 21, 2012 - 10:24 am:   

any idea?!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4207
Registered: 08-2008
Posted on Wednesday, November 21, 2012 - 12:57 pm:   

Hi,

The debug logs are helpful, but I don't have enough information to answer your question.

Is the log activity that you are showing an example of a receipt that was delivered or was not delivered? Are all of the logs shown pertaining to the same message? (I ask because the time stamps in the 3rd log are 29 minutes earlier than the others...is that system clock incorrect?)

Let's look at the first SMPPDEBUG.LOG ...

An SMPP client at 2.147.21.201 submitted a message.

It looks like the corresponding delivery receipt was routed to (and accepted by) an SMPP client at 131.166.253.36.

I assume those are two different SMPP clients connected using the same user account. If so, that is the way delivery reports are routed. They are routed back to the user account that submitted it ... not necessarily to the same IP address.

Does that explain what you are seeing? If not, please explain what is running on these different IP addresses and how they relate to each other.

--
Des
NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics