Closed voleche09 closed 9 years ago
Is there anyone willing to help me??
There is no way for them to provide you with only the body part of the PDU and be compliant with the SMPP specifications. I would suggest you take another look at the traffic from them and verify that this is indeed happening. If this is indeed the case, your use case must be very different from most others.
You should be able to use parts of the code for your traffic, but this is not something we can accommodate, sorry.
Hi am having a problem parsing the PDU am receiving from my provider. My provider provides only the user data(body) of the PDU and not the whole PDU. After going through the smpp.client.class.php I found that 16 is subtracted from the length of the PDU on the readPDU(). This means am getting a pdu less 16 (eg 200 instead of 216). I have tried to use length only without subtracting 16 and am getting 'SocketTransportException' with message 'Timed out waiting for data on socket' in /home/ubuntu/php-smpp-master/sockettransport.class.php:343. Kindly advice on how to parse the pdu without subtracting. Really need your help guys. This happens when using smpp as a receiver