Skip to content

Conversation

danon
Copy link

@danon danon commented Aug 6, 2015

SmppSms $sms;
$sms->parseSms(); // goes nuts when MessageLength byte is equals to 0

It's also against specification, which states:

The maximum message length which can be specified in sm_length field (see section 5.2.21) is 254 octets. If an ESME wishes to submit a message of length greater than 254 octets, the sm_length field must be set to NULL and the message_payload optional parameter must be populated with the message length value and user data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant