AdhamAwadhi / JamaaSMPP

Jamaa SMPP Client is a .NET implementation of the SMPP protocol that focuses on providing an easy-to-use and robust SMPP client library for .NET developers. This project is intended to be used by developers who want to integrate SMS functionalities in their applications as well as students who are learning the SMPP protocol.
https://github.com/AdhamAwadhi/JamaaSMPP/wiki
Other
45 stars 36 forks source link

Invalid parameter length Error Received By SMS Service Provider #17

Closed SM2070 closed 6 years ago

SM2070 commented 6 years ago

I am using Jamaa Library 1.5.3 and using below code for sending SMS TextMessage msg = new TextMessage { DestinationAddress = smsDetails.ToMobile, SourceAddress = smppConfig.SourceAddress, Text = smsDetails.Message, RegisterDeliveryNotification = true, //UserMessageReference = smsDetails.RequestId.ToString() }; clientSMPP.SendMessage(msg);

Here I commented UserMessageReference as Service Provider doesn't support TLV ...When we send few Messages , SMS getting delivered successfully but when we send messages continuously around 10 nos./sec, Service Provider receives below error .... Invalid parameter length:[105] max:[20] safe_value:[ABC FAILURE ALERT(Ge] ' Invalid parameter length:[102] max:[16] safe_value:[ FAILURE ALERT(G]

Kindly let me know what could be reason for this error ...................

SM2070 commented 6 years ago

Issue is resolved