invalid message lenght
Status: Alpha
Brought to you by:
paladin80
In smpp.php, function sendSMS, had to change the creation of the pdu because it was adding a null byte to the message contents.
OLD:
$pdu = pack('a1cca'.(strlen($from)+1).'cca'.(strlen($to)+1).'ccca1a1ccccca'.(strlen($message+1)),
NEW:
$pdu = pack('a1cca'.(strlen($from)+1).'cca'.(strlen($to)+1).'ccca1a1ccccca'.(strlen($message)),
Old version was throwing an exception in Selenium's SMPPSim.