DeliverSm failed - IndexOutOfRangeException

.NET library for SMPP protocol
Locked
davidroux
Posts: 3
Joined: Wed Mar 27, 2013 7:11 am

DeliverSm failed - IndexOutOfRangeException

Post by davidroux » Fri Apr 12, 2013 10:03 am

Hi all, so everything works OK except for delivery receipts. This is happening on all versions of the SMPP Client (1.0 and 1.1) so dont think its related to this even though same issue : post2380.html#p2380

Just would like to know whether its an issue on the SMPP Server side or on client side with a possible fix.
See attached for log.
SMPPLog.rar
SMPPLog.rar
(1015 Bytes) Downloaded 603 times
Many thanks
David Roux
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: DeliverSm failed - IndexOutOfRangeException

Post by alt » Sat Apr 13, 2013 6:41 pm

Dear davidroux,

I checked your log file. I found that deliver_sm message has incorrect length
000000950000000500000000000f43170001013237373331333633373430000101323738333933303034343700000000000000000000
5d5538322c3037333335392e30302c3132303431332c30323335362e3532313237452c333033392e3938383031532c56312c5341543a31372c49443a383737333
5363439373034343232383437342c53533a31332c313030303031314f4b00

correct deliver_sm should be
000000940000000500000000000f43170001013237373331333633373430000101323738333933303034343700000000000000000000
5d5538322c3037333335392e30302c3132303431332c30323335362e3532313237452c333033392e3938383031532c56312c5341543a31372c49443a383737333
5363439373034343232383437342c53533a31332c313030303031314f4b
davidroux
Posts: 3
Joined: Wed Mar 27, 2013 7:11 am

Re: DeliverSm failed - IndexOutOfRangeException

Post by davidroux » Tue Apr 16, 2013 11:30 am

Many thanks Its now sorted :)
Locked